Re: No way to boot on 2.6.23.12-52.fc7

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

 



On Sat, 5 Jan 2008, Tim wrote:

pd520@xxxxxxxxxx:
This is my grub.conf:
boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,7)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.23.12-52.fc7)
         root (hd0,7)
#        kernel /boot/vmlinuz-2.6.23.12-52.fc7 ro root=LABEL=/ rhgb quiet selinux=0
         kernel /boot/vmlinuz-2.6.23.12-52.fc7 ro root=/dev/sda8 rhgb quiet selinux=0
         initrd /boot/initrd-2.6.23.12-52.fc7.img


title Fedora (2.6.21-1.3194.fc7)
         root (hd0,7)
         kernel /boot/vmlinuz-2.6.21-1.3194.fc7 ro root=/dev/sda8 rhgb quiet selinux=0
         initrd /boot/initrd-2.6.21-1.3194.fc7.img


I have not problem to boot on: 2.6.21-1.3194.fc7

Tim:
Using the above grub.conf stanza for that kernel?  Your sample grub.conf
is an exact copy of the file?  There's no typing errors in the copy you
e-mailed?

Dr P Dupre:
Like what ? I do not see any typo.
I already work around. I cannot see what is wrong. The kernel
2.6.21-1.3194 is absolutely fine, but not the new ones. Same syntax.

Just wanted to be sure that we're seeing *exactly* what you're actually
using.  Sometimes people make mistakes when they post a copy of their
files.


By the way:  CHANGE YOUR PASSWORD, NOW!  You've just shown the world the
hashsum for it, and that may be enough to crack it.

Is it the password of grub ?

Whatever password you set to lock grub options out.  If it's the same
actual password as something else, as well, change that, too.


With the new kernel, if I put:
kernel /boot/vmlinuz-2.6.23.12-52.fc7 ro root=LABEL=/ rhgb quiet selinux=0

if fails because it try to boot on a /dev/sdb,

*Why* does using LABEL=/ cause it to use /dev/sdb?  Do you have two
drives, is "/" the right label?

The first time that I installed a FC7 I had a problem with the
root=LABEL=/ because I guess that I had 2 partitions on 2 different
drive with the same lable like /. So since that time, I avoid to use the
LABEL.

You can't refer to partitions by labels if they're not unique.  Change
one of them, at least.

1.  Use e2label to change the label actually used on the partition
2.  Alter any, and *all*, configuration files to suit.

You might call one label "internal" and the other "external", just as
long as you can tell which is which, easily.  The label doesn't have to
be "/", it's just a name, not the mount point.

Of course, using device names *should* work, but if something else also
refers to a partition by a label, such as an fstab file, you're in for
trouble.

Yes /dev/sda8 has a label /, as well as /dev/sdb5 which I only mount in
read-only.

There's your problem (or one problem, at least).

I do not know if you are right but, how do you explain that I can boot
fine with an older kernel ?

Regards
--
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Patrick Dupré                                             pd520@xxxxxxxxxx
University of York                                 Department of Chemistry
Heslington, York              YO10 5DD                      United Kingdom
Phone: +44-(0)-1904-434384                        Fax: +44-(0)-1904-432516
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

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

  Powered by Linux