Re: Boot problem

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

 



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?

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.

-- 
(This box runs FC7, my others run FC4, FC5 & FC6, in case that's
 important to the thread.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.



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

  Powered by Linux