Re: RAID-1 boot partition and FC2->FC4 upgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jack Howarth wrote:
Paul,
    What do you have for your /boot/grub/grub.conf and your
/etc/sysconfig/grub. I have...

default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Fedora Core (2.6.10-1.771_FC2smp)
        root (hd0,0)
        kernel /vmlinuz-2.6.10-1.771_FC2smp ro root=/dev/md1 rhgb quiet
        initrd /initrd-2.6.10-1.771_FC2smp.img
..etc for /boot/grub/grub.conf and...

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/md3
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Fedora Core (2.6.12-1.1390_FC4)
        root (hd0,0)
        kernel /vmlinuz-2.6.12-1.1390_FC4 ro root=LABEL=/
        initrd /initrd-2.6.12-1.1390_FC4.img
title Fedora Core (2.6.12-1.1387_FC4)
        root (hd0,0)
        kernel /vmlinuz-2.6.12-1.1387_FC4 ro root=LABEL=/
        initrd /initrd-2.6.12-1.1387_FC4.img
title Fedora Core (2.6.11-1.1369_FC4)
        root (hd0,0)
        kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/
        initrd /initrd-2.6.11-1.1369_FC4.img

boot=/dev/sda
forcelba=0

...for /etc/sysconfig/grub.

boot=/dev/hda
forcelba=0

Nothing different there then.

I am still a tad unclear on the upgrade
the boot loader step. Does it effectively do an initial...

grub
Grub> device (hd0) /dev/sda
Grub> root (hd0,0)
Grub> setup (hd0)

...with essentially an empty grub.conf file?

Probably.

> If so then I guess I
should be okay since the installer must repeat those steps later
when the kernel postinst script runs.

The kernel postinst script runs before the bootloader is updated (that's one of the last things anaconda does IIRC). The kernel postinst script does not run grub at all, because it doesn't need to.

Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux