Fedora This forum is for the discussion of the Fedora Project. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-12-2007, 05:22 PM
|
#1
|
LQ Newbie
Registered: Jun 2007
Posts: 5
Rep:
|
Can't boot after upgrading from FC6 to FC7
I have successfully upgrade but I can't boot from Fedora7. However, I can boot from fedora core 6 which is selected from boot menu list.
I paste the related information:
==========================================
# /sbin/blkid
/dev/mapper/VolGroup00-LogVol01: TYPE="swap"
/dev/mapper/VolGroup00-LogVol00: UUID="828418eb-aa98-4848-887d-b7bbcea8ebde" SEC_TYPE="ext2" TYPE="ext3"
/dev/hdb1: TYPE="ntfs"
/dev/hdb5: TYPE="ntfs"
/dev/hdb6: LABEL="D DISK" UUID="2C5C-1D93" TYPE="vfat"
/dev/hdd1: LABEL="/boot" UUID="c500cfbc-4a8d-4520-be26-1f4c180e4188" SEC_TYPE="ext2" TYPE="ext3"
/dev/hdd2: TYPE="swap"
/dev/VolGroup00/LogVol01: TYPE="swap"
/dev/VolGroup00/LogVol00: UUID="828418eb-aa98-4848-887d-b7bbcea8ebde" SEC_TYPE="ext2" TYPE="ext3"
############################################
# cat /etc/fstab
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
===============================================
# cat /boot/grub/grub.conf
# 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 (hd1,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hdb
default=0
timeout=5
splashimage=(hd1,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.21-1.3194.fc7)
root (hd1,0)
kernel /vmlinuz-2.6.21-1.3194.fc7 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.21-1.3194.fc7.img
title Fedora Core (2.6.20-1.2952.fc6)
root (hd1,0)
kernel /vmlinuz-2.6.20-1.2952.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.20-1.2952.fc6.img
title Windows XP
rootnoverify (hd0,0)
chainloader +1
===========================================
I can boot from fc6 but not fedora 7. of course I can boot windows XP.
Looking forward to hearing from you
Thanks in advance!
|
|
|
06-12-2007, 09:43 PM
|
#2
|
Member
Registered: May 2003
Location: Salem, Mass USA
Distribution: Fedora
Posts: 394
Rep:
|
Fedora Core 6 is booting from (hd1,0). If you look at your grub menu Fedora 7 is trying to boot from the same partition. That's not going to work. If Fedora Core 6 works and boots successfully then Fedora 7 must need to boot from another partition. Change the line for Fedora 7 that reads:
root (hd1,0)
to read
root (hd2,0)
and see if it boots.
|
|
|
06-13-2007, 08:43 AM
|
#3
|
LQ Newbie
Registered: Jun 2007
Posts: 5
Original Poster
Rep:
|
Actually, the two kernels co-exist in the same drive, which happened before when I upgraded the kernel. I select either new kernel or older kernel, on which Linux works well. I think the Fedora 7 may need the "LABEL" to boot system rather than the device ID refer to: Upgrade Related Issues. . But I am not sure how to do that.
Seeking more help!
|
|
|
06-13-2007, 12:51 PM
|
#4
|
Member
Registered: May 2003
Location: Salem, Mass USA
Distribution: Fedora
Posts: 394
Rep:
|
Quote:
Originally Posted by dennis
Actually, the two kernels co-exist in the same drive, which happened before when I upgraded the kernel. I select either new kernel or older kernel, on which Linux works well. I think the Fedora 7 may need the "LABEL" to boot system rather than the device ID refer to: Upgrade Related Issues. . But I am not sure how to do that.
Seeking more help!
|
Not too familiar with LVM. Never used it. Just a guess, how about ro root=/dev/VolGroup00/LogVol 01 rhgb quiet instead of ro root=/dev/VolGroup00/LogVol 00 rhgb quiet ?? Seems I've read/seen a lot of posts regarding LVM and problems booting. I stick with EXT3. Most of the more experienced forum members seem to think that LVM is more of a curse than a blessing.
|
|
|
06-13-2007, 08:36 PM
|
#5
|
Member
Registered: Jun 2004
Location: Bangkok, Thailand
Distribution: Fedora 25 86_64
Posts: 357
Rep:
|
I had exactly the same problem, I upgraded also from Fedora Core 6 to Fedora 7. After I edited the /etc/grub.conf by removing
title Fedora Core (2.6.20-1.2952.fc6)
root (hd1,0)
kernel /vmlinuz-2.6.20-1.2952.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.20-1.2952.fc6.img
The system seems not to have any problems, the only problem I have now is that Fedora 7 will hang when I try to logout, shutdown or reboot
|
|
|
06-15-2007, 04:21 PM
|
#6
|
LQ Newbie
Registered: Jun 2007
Posts: 5
Original Poster
Rep:
|
I deleted the FC6 item and it then works although it is still errors during boot.
|
|
|
All times are GMT -5. The time now is 06:39 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|