Re: Boot problem

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


Tim 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
title Fedora (
        root (hd0,5)
        kernel /vmlinuz- ro root=/dev/sda5  quiet
        initrd /initrd-
title Fedora (
        root (hd0,5)
        kernel /vmlinuz- ro root=/dev/sda5  quiet
        initrd /initrd-

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:
[[email protected] boot]# ls
initrd-  vmlinuz-
[[email protected] boot]#

I expect I can just copy these to /dev/sda6 but why did the kernel update do this?
After you moved things around, did you change fstab entries to
make /boot get mounted in /dev/sda6?  If not, the /boot directory in
root (/dev/sda5), will get used as a directory, rather than a mount
point for a /boot partition.

I think you should be right to just copy them over and change anything
that refers to their location to point to the right places.

Yes I wondered about that. I also moved the /home/karl to another partition and fstab connects it back on bootup. I see no change as a user. But if you use $ df it shows you the now two partitions connected to the main tree.
Well now the partition that has /boot is attached so kernel updates will
see no change to the system. I hope this does it :-)


	Karl F. Larsen, AKA K5DI
	Linux User

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

  Powered by Linux