Gareth Blades schrieb:
> Here is my current setup:-
> Redhat 7.2 XFS kernel installed together with all tools including the Grub
> upgrade RPM.
Did you use LILO when you first installed your system? I don't know what
happens exactly if you only upgrade GRUB but read below what could be
GRUB has two big problems:
The first problem with GRUB is that it does not work well with software
raid. anaconda is prepared to correctly install GRUB at install time but
later installs with 'grub-install' fail. The 'grub-install' script only
supports floppy and IDE/SCSI harddisks, no MD device.
The second problem with GRUB is that if you have mirrored disks and the
first disk fails, you end up in a non bootable system because the second
disk does not contain a valid MBR. LILO handles this correctly, I mean
if you tell LILO to install on /dev/md0, it will install an MBR on every
disk which is part of /dev/md0.
Now, I don't know why RedHat defaults to GRUB.
BTW: This problem has nothing to do with XFS.
> /dev/md0 raid1 comprising of /dev/sda1 and /dev/sdb1
> /dev/md1 raid1 comprising of /dev/sda3 and /dev/sdb3
> /dev/md1 has already been converted to XFS under /data and works fine.
> Now I wish to convert the root partition to XFS so that I can use xfsdump to
> backup both partitions.
> I have used the instructions on the website to copy the root partition onto
> a new drive /dev/sdc1
> Here is a copy of my current gub.conf:-
> title Red Hat Linux (2.4.9-31SGI_XFS_1.0.2)
> root (hd0,0)
> kernel /boot/vmlinuz-2.4.9-31SGI_XFS_1.0.2 ro root=/dev/md0
> initrd /boot/initrd-2.4.9-31SGI_XFS_1.0.2.img
> title Red Hat Linux (2.4.7-10)
> root (hd0,0)
> kernel /boot/vmlinuz-2.4.7-10 ro root=/dev/md0
> initrd /boot/initrd-2.4.7-10.img
> The next step is to get the system to boot off the new drive. I would
> specify root=/dev/sdc1 for the kernel but what would I specify for the 'root
> (hdx,x)' parameter?
> If this works and I convert and copy back /dev/sdc1 to /dev/md0 will grub
> then be able to find the information it needs to boot considering there is
> no separate /boot partition?
> Gareth Blades