On Tue, 9 Apr 2002, George Vieira wrote:
> I have a problem where I've built a RH7.2 system and on another system which
> is the exact model/specs I've used Ghost to mirror the drives across to save
> time (10 machines to do)..
>
> The first machine looks OK as below:
>
> Device Boot Start End Blocks Id System
> /dev/hda1 * 1 64 514048+ fd Linux raid autodetect
> /dev/hda2 65 701 5116702+ fd Linux raid autodetect
> /dev/hda3 702 956 2048287+ fd Linux raid autodetect
> /dev/hda4 957 2482 12257595 5 Extended
> /dev/hda5 957 1020 514048+ fd Linux raid autodetect
> /dev/hda6 1021 2482 11743483+ 83 Linux
>
> The mirrored machine seems to have an incorrect partition settings as below:
>
> Device Boot Start End Blocks Id System
> /dev/hda1 * 1 64 514048+ fd Linux raid autodetect
> /dev/hda2 65 701 5116702+ fd Linux raid autodetect
> /dev/hda3 702 956 2048287+ fd Linux raid autodetect
> /dev/hda4 957 2482 12257595 f Win95 Ext'd (LBA)
> /dev/hda5 957 1020 514048+ fd Linux raid autodetect
> /dev/hda6 1021 2482 11743483+ 83 Linux
>
> I tried using fsck and e2fsck but it's been a while and don't know how to
> fix this stupid "Win95 extended" partition back to just "Extended"..
fdisk
fdisk /dev/hda
The number of cylinders for this disk is set to 2490.
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): t
Partition number (1-6): 4
Hex code (type L to list codes): 5
Command (m for help): w
That oughta do it.
{Note: Linux fdisk, not DOS or Winblows}
DaZZa
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug