Cloning a disk pt2

ashw ashw at lr.net
Fri Oct 15 14:02:19 UTC 2010


On Fri, 2010-10-15 at 09:42 -0400, Ash Wyllie wrote:
> Here is output from fdisk, booting from the internal drive.
> 
> ashw at ashw-laptop:~$ sudo fdisk /dev/sda
> [sudo] password for ashw: 
> 
> The number of cylinders for this disk is set to 14593.
> There is nothing wrong with that, but this is larger than 1024,
> and could in certain setups cause problems with:
> 1) software that runs at boot time (e.g., old versions of LILO)
> 2) booting and partitioning software from other OSs
>    (e.g., DOS FDISK, OS/2 FDISK)
> 
> Command (m for help): p
> 
> Disk /dev/sda: 120.0 GB, 120034123776 bytes
> 255 heads, 63 sectors/track, 14593 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0xb8000000
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1   *           1       14223   114246216   83  Linux
> /dev/sda2           14224       14593     2972025    5  Extended
> /dev/sda5           14224       14593     2971993+  82  Linux swap /
> Solaris
> 
Here is the result booting from the USB Live, and the internal drive not
mounted.

ubuntu at ubuntu:~$ sudo fdisk /dev/sda

The number of cylinders for this disk is set to 14593.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb8000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       14223   114246216   83  Linux
/dev/sda2           14224       14593     2972025    5  Extended
/dev/sda5           14224       14593     2971993+  82  Linux swap /
Solaris

Mounting the drive gets.

ubuntu at ubuntu:~$ sudo fdisk /dev/sda

The number of cylinders for this disk is set to 14593.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb8000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       14223   114246216   83  Linux
/dev/sda2           14224       14593     2972025    5  Extended
/dev/sda5           14224       14593     2971993+  82  Linux swap /
Solaris

At this point everything is ghosted in Gparted.

Unmounting the drive, everything is still ghosted. And the warning is
back.

                                                   -ash








More information about the ubuntu-users mailing list