xfs
[Top] [All Lists]

Upgrading root partion & Grub

To: "Xfs" <linux-xfs@xxxxxxxxxxx>
Subject: Upgrading root partion & Grub
From: "Gareth Blades" <list.xfs@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 17 Apr 2002 16:05:50 +0100
Importance: Normal
Sender: owner-linux-xfs@xxxxxxxxxxx
Here is my current setup:-

Redhat 7.2 XFS kernel installed together with all tools including the Grub
upgrade RPM.

/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:-

default=0
timeout=4
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
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?

Thanks

--
Gareth Blades



<Prev in Thread] Current Thread [Next in Thread>