Codice: Seleziona tutto
cfdisk (util-linux-ng 2.16)
Disk Drive: /dev/sda
Size: 320072933376 bytes, 320.0 GB
Heads: 255 Sectors per Track: 63 Cylinders: 38913
Name Flags Part Type FS Type [Label] Size (MB)
------------------------------------------------------------------------------
Unusable 1,05*
sda1 Boot Primary NTFS [] 12884,91*
sda2 Primary NTFS [] 150000,00*
Unusable 7,51*
sda3 Primary Linux ext3 19995,66*
Logical Free Space 0,01*
sda5 NC Logical Linux ext3 136663,03*
Logical Free Space 8,20*
sda6 Logical Linux swap / Solaris 509,99*
Logical Free Space 0,02*
[ Help ] [ Print ] [ Quit ] [ Units ] [ Write ]
Print help screen
Codice: Seleziona tutto
ubuntu@ubuntu:~$ sudo fdisk -lu
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xeea27c5d
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 25167871 12582912 7 HPFS/NTFS
/dev/sda2 25167872 318136608 146484368+ 7 HPFS/NTFS
/dev/sda3 318151260 357205267 19527004 83 Linux
/dev/sda4 357205275 624141311 133468018+ f W95 Ext'd (LBA)
/dev/sda5 357205401 624125248 133459924 83 Linux
/dev/sda6 624141315 625137322 498004 82 Linux swap / Solaris
Disk /dev/sdb: 2004 MB, 2004877312 bytes
129 heads, 32 sectors/track, 948 cylinders, total 3915776 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xc3072e18
Device Boot Start End Blocks Id System
/dev/sdb1 * 32 3915775 1957872 b W95 FAT32
Partition 1 has different physical/logical endings:
phys=(956, 128, 32) logical=(948, 75, 32)
Codice: Seleziona tutto
ubuntu@ubuntu:~$ sudo sfdisk -d
# partition table of /dev/sda
unit: sectors
/dev/sda1 : start= 2048, size= 25165824, Id= 7, bootable
/dev/sda2 : start= 25167872, size=292968737, Id= 7
/dev/sda3 : start=318151260, size= 39054008, Id=83
/dev/sda4 : start=357205275, size=266936037, Id= f
/dev/sda5 : start=357205401, size=266919848, Id=83
/dev/sda6 : start=624141315, size= 996008, Id=82
# partition table of /dev/sdb
unit: sectors
/dev/sdb1 : start= 32, size= 3915744, Id= b, bootable
/dev/sdb2 : start= 0, size= 0, Id= 0
/dev/sdb3 : start= 0, size= 0, Id= 0
/dev/sdb4 : start= 0, size= 0, Id= 0
Codice: Seleziona tutto
ubuntu@ubuntu:~$ sudo sfdisk -I /dev/sda /home/sda_sectors_modified.save
Re-reading the partition table ...
BLKRRPART: Inappropriate ioctl for device
