Mailinglist Archive: opensuse (4633 mails)

< Previous Next >
Re: [opensuse] how to install usb external disk
  • From: Primm <lynn@xxxxxxxxxxxx>
  • Date: Sat, 23 Dec 2006 22:30:01 +0100
  • Message-id: <200612232230.01348.lynn@xxxxxxxxxxxx>
On Saturday 23 December 2006 21:40, Mike Noble wrote:
> On Saturday 23 December 2006 10:25, Primm wrote:
> > On Saturday 23 December 2006 18:41, Mike Noble wrote:
> > > On Saturday 23 December 2006 09:27, Primm wrote:
> > > > On Saturday 23 December 2006 18:04, Hans du Plooy wrote:
> > > > > On Sat, 2006-12-23 at 16:42 +0100, Primm wrote:
> > > > > > I have a zaapa usb external drive. I thought I could simply plug
> > > > > > it in and write to it. It does not show up under the kde 'my
> > > > > > computer' as I expected it would. Running evmsgui it shows as
> > > > > > /dev/evms/sda but I've no idea how to write to it. Why doesn't it
> > > > > > simply show as /dev/sda? How can I get to use it?
> > > > >
> > > > > Open a console as root and type:
> > > > >
> > > > > # fdisk -l
> > > > >
> > > > > Does it only show /dev/sda or is there a /dev/sda1 too? If there
> > > > > is only /dev/sda it means that there are no partitions on the disc.
> > > > > You can use fdisk to create a partition, then format ti with the
> > > > > filesystem of your choice.
> > > > >
> > > > > Hans
> > > >
> > > > it gives me this:
> > > >
> > > > fdisk -l
> > > >
> > > > Disk /dev/hda: 100.0 GB, 100030242816 bytes
> > > > 255 heads, 63 sectors/track, 12161 cylinders
> > > > Units = cylinders of 16065 * 512 = 8225280 bytes
> > > >
> > > > Device Boot Start End Blocks Id System
> > > > /dev/hda1 1 383 3076416 12 Compaq
> > > > diagnostics /dev/hda2 * 384 6258 47190937+ c
> > > > W95 FAT32 (LBA) /dev/hda3 6259 12161 47415847+
> > > > f W95 Ext'd (LBA) /dev/hda5 6259 8228 15823993+
> > > > b W95 FAT32 /dev/hda6 8229 8356 1028128+ 82
> > > > Linux swap / Solaris /dev/hda7 8357 12161
> > > > 30563631 83 Linux
> > > >
> > > > Disk /dev/dm-0: 3150 MB, 3150249984 bytes
> > > > 255 heads, 63 sectors/track, 382 cylinders
> > > > Units = cylinders of 16065 * 512 = 8225280 bytes
> > > >
> > > > This doesn't look like a partition table
> > > > Probably you selected the wrong device.
> > > >
> > > > Device Boot Start End Blocks Id System
> > > > /dev/dm-0p1 ? 120513 235786 925929529+ 68 Unknown
> > > > Partition 1 has different physical/logical beginnings (non-Linux?):
> > > > phys=(116, 100, 32) logical=(120512, 47, 32)
> > > > Partition 1 has different physical/logical endings:
> > > > phys=(288, 101, 46) logical=(235785, 20, 46)
> > > > Partition 1 does not end on cylinder boundary.
> > > > /dev/dm-0p2 ? 82801 116350 269488144 79 Unknown
> > > > Partition 2 has different physical/logical beginnings (non-Linux?):
> > > > phys=(357, 32, 43) logical=(82800, 34, 51)
> > > > Partition 2 has different physical/logical endings:
> > > > phys=(0, 13, 10) logical=(116349, 218, 61)
> > > > Partition 2 does not end on cylinder boundary.
> > > > /dev/dm-0p3 ? 33551 120595 699181456 53 OnTrack DM6
> > > > Aux3 Partition 3 has different physical/logical beginnings
> > > > (non-Linux?): phys=(345, 32, 19) logical=(33550, 137, 11)
> > > > Partition 3 has different physical/logical endings:
> > > > phys=(324, 77, 19) logical=(120594, 153, 54)
> > > > Partition 3 does not end on cylinder boundary.
> > > > /dev/dm-0p4 ? 86812 86813 10668+ 49 Unknown
> > > > Partition 4 has different physical/logical beginnings (non-Linux?):
> > > > phys=(87, 1, 0) logical=(86811, 142, 3)
> > > > Partition 4 has different physical/logical endings:
> > > > phys=(335, 78, 2) logical=(86812, 225, 45)
> > > > Partition 4 does not end on cylinder boundary.
> > > >
> > > > Partition table entries are not in disk order
> > > >
> > > > Disk /dev/dm-1: 48.3 GB, 48323520000 bytes
> > > > 255 heads, 63 sectors/track, 5875 cylinders
> > > > Units = cylinders of 16065 * 512 = 8225280 bytes
> > > >
> > > > This doesn't look like a partition table
> > > > Probably you selected the wrong device.
> > > >
> > > > Device Boot Start End Blocks Id System
> > > > /dev/dm-1p1 ? 116388 126889 84344761 69 Unknown
> > > > Partition 1 does not end on cylinder boundary.
> > > > /dev/dm-1p2 ? 105915 222310 934940732+ 73 Unknown
> > > > Partition 2 does not end on cylinder boundary.
> > > > /dev/dm-1p3 ? 1 1 0 74 Unknown
> > > > Partition 3 does not end on cylinder boundary.
> > > > /dev/dm-1p4 179626 179629 26207+ 0 Empty
> > > > Partition 4 does not end on cylinder boundary.
> > > >
> > > > Partition table entries are not in disk order
> > > >
> > > > Any ideas?
> > > > Thanks Steve.
> > >
> > > Format the drive.
> > >
> > > Mike
> >
> > Sorry but how do I do that? I've tried fdisk but don't know what device
> > to name it. What is the commant to format this drive?
> > Cheers, Steve
>
> You will want to fdisk the drive and setup the partition table the way you
> want. Probably one large partition.
>
> fdisk /dev/dm
>
> You then can run fdisk -l and find out what the partition is called.
> In my example I will use /dev/dm0.
>
> Then you want to put a file system onto the disk, I will use ext2
> in my example.
>
> mke2fs /dev/dm0
>
> Mike
Hi
There is no /dev/dm:

fdisk /dev/dm

Unable to open /dev/dm

So can't get any further.
Steve.


--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References