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
#
#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.

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
	#450462   http://counter.li.org.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux