Message-ID: <4DED42CF.9000008 at verizon.net>
Douglas Pollard
dougpol1 at verizon.net
Tue Jun 14 17:06:49 UTC 2011
On 06/14/2011 11:02 AM, compdoc wrote:
>> It seems I am getting nothing from fdisk -l
>
> sudo fdisk -l
>
> always sudo for stuff like this
>
>
>
>
Yes of course you are right sudo first:-[
I got the input in terminal and this is what I got back.
douglasdoug at ubuntuDoug:~$ sudo fdisk -l
[sudo] password for douglasdoug:
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000f29df
Device Boot Start End Blocks Id System
/dev/sda1 * 1 23995 192734208 83 Linux
/dev/sda2 23995 24322 2624513 5 Extended
/dev/sda5 23995 24322 2624512 82 Linux swap / Solaris
Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000d4675
Device Boot Start End Blocks Id System
/dev/sdb1 1 30400 244187968+ 7 HPFS/NTFS
Disk /dev/sdc: 2000.4 GB, 2000398932992 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0000e557
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 243201 1953512001 c W95 FAT32 (LBA)
douglasdoug at ubuntuDoug:~$ sudo rm -rf /media/sde1
douglasdoug at ubuntuDoug:~$ sudo fdisk -l
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000f29df
Device Boot Start End Blocks Id System
/dev/sda1 * 1 23995 192734208 83 Linux
/dev/sda2 23995 24322 2624513 5 Extended
/dev/sda5 23995 24322 2624512 82 Linux swap / Solaris
Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000d4675
Device Boot Start End Blocks Id System
/dev/sdb1 1 30400 244187968+ 7 HPFS/NTFS
Disk /dev/sdc: 2000.4 GB, 2000398932992 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0000e557
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 243201 1953512001 c W95 FAT32 (LBA)
douglasdoug at ubuntuDoug:~$ sudo mkdir /media/sdc1
mkdir: cannot create directory `/media/sdc1': File exists
douglasdoug at ubuntuDoug:~$ sudo mount -t vfat /dev/sdc1 /media/sdc1
mount: wrong fs type, bad option, bad superblock on /dev/sdc1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
douglasdoug at ubuntuDoug:~$ sudo dmesg | tail or so
tail: cannot open `or' for reading: No such file or directory
tail: cannot open `so' for reading: No such file or directory
douglasdoug at ubuntuDoug:~$
OK should dev,sdc1 input be input sudo mount -t vfat/dev.sdc1 /boot/
sdc1 that partition is a boot partition rather than media according to
disk utility Doug
More information about the ubuntu-users
mailing list