Aaron Konstam wrote:
On Wed, 2007-10-10 at 06:09 -0600, Karl Larsen wrote:
I moved my /boot from the main directory tree to a new partition.
All of F7 was in the /dev/sda5 partition. I moved /boot to /dev/sda6 and
with lots of rebooting got it to work. Here is my grub.conf file.
# grub.conf
#
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,5)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.22.7-85.fc7)
root (hd0,5)
kernel /vmlinuz-2.6.22.7-85.fc7 ro root=/dev/sda5 quiet
initrd /initrd-2.6.22.7-85.fc7.img
title Fedora (2.6.22.5-76.fc7)
root (hd0,5)
kernel /vmlinuz-2.6.22.5-76.fc7 ro root=/dev/sda5 quiet
initrd /initrd-2.6.22.5-76.fc7.img
Now the problem is, on the next kernel update it didn't work right.
Instead of putting the new kernel in /dev/sda6 it made a new /boot
directory in /dev/sda5. Here is what is in this directory:
[root@k5di boot]# ls
config-2.6.22.9-91.fc7 System.map-2.6.22.9-91.fc7
initrd-2.6.22.9-91.fc7.img vmlinuz-2.6.22.9-91.fc7
[root@k5di boot]#
I expect I can just copy these to /dev/sda6 but why did the kernel
update do this?
I would have to read my grub manual but I suspect (someone will no doubt
correct me) that the problem is with the threee things:
root (hd0,5) kernel /vmlinuz-2.6.22.7-85.fc7 and root=/dev/sda5
being inconsistant.
For example should it be /boot/kernel /vmlinuz-2.6.22.7-85.fc7
What about root (h0,4) instead of root (hd0,5) etc.
It is too early for me to think clearly but those are just some places
to look.
=======================================================================
Q: What does friendship among Soviet nationalities mean? A: It means
that the Armenians take the Russians by the hand; the Russians take the
Ukrainians by the hand; the Ukranians take the Uzbeks by the hand; and
they all go and beat up the Jews.
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@xxxxxxxxxxxxx
I think the root=/dev/sda5 is the problem. It should be /dev/sda6. I
will see if that boots :-)
--
Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.