ubuntu@ubuntu:~$ sudo fdisk -lu
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x8a427ea7
Device Boot Start End Blocks Id System
/dev/sda1 63 80324 40131 de Dell Utility
/dev/sda2 * 81920 24743935 12331008 7 HPFS/NTFS/exFAT
/dev/sda3 24743936 1953519615 964387840 7 HPFS/NTFS/exFAT
Disk /dev/sdf: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x307e65d4
Device Boot Start End Blocks Id System
/dev/sdf1 * 63 312576704 156288321 7 HPFS/NTFS/exFAT
ubuntu@ubuntu:~$ sudo parted -l
Model: ATA WDC WD1001FAES-7 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 41.1MB 41.1MB primary fat16 diag
2 41.9MB 12.7GB 12.6GB primary ntfs boot
3 12.7GB 1000GB 988GB primary ntfs
Model: TOSHIBA MK1652GSX (scsi)
Disk /dev/sdf: 160GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 160GB 160GB primary ntfs boot
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Error: Can't have a partition outside the disk!
ubuntu@ubuntu:~$ sudo parted /dev/sda unit s print
Model: ATA WDC WD1001FAES-7 (scsi)
Disk /dev/sda: 1953525168s
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 63s 80324s 80262s primary fat16 diag
2 81920s 24743935s 24662016s primary ntfs boot
3 24743936s 1953519615s 1928775680s primary ntfs
ubuntu@ubuntu:~$ sudo parted /dev/sdb unit s print
Error: Error opening /dev/sdb: No medium found
Retry/Cancel? retry
Error: Error opening /dev/sdb: No medium found
Retry/Cancel?
Bookmarks