Disk /dev/hda: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes


cat reefa-disk-start-128k.img > huge.img
dd if=/dev/zero of=huge.img seek=164G bs=1 count=1
fdisk -C 19929 -S 63 -H 255 reefa-disk-start-128k.img

Warning: invalid flag 0x0000 of partition table 5 will be corrected by
w(rite)

Disk huge.img: 0 MB, 0 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot      Start         End      Blocks   Id  System
 huge.img1               2        3188    25599577+   f  W95 Ext'd (LBA) 
 huge.img4            3189       19929   134472082+   7  HPFS/NTFS

This is because the extended partition table (/dev/hda5) begins further
in the disk and that section hasn't been copied.

-- 
After install: "/bin/sh: Can't access tty; Job control turned off"
https://launchpad.net/bugs/86345

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to