No way to boot on 2.6.23.12-52.fc7

Dr P Dupre pd520 at york.ac.uk
Fri Jan 4 13:16:22 UTC 2008


>
> On Jan 3, 2008 11:50 AM,  <pd520 at york.ac.uk> wrote:
>> Hello,
>>
> Hi Patrick DUPRE!
>>
>> I do not understand, I still cannot boot on the new kernel:
>> 2.6.23.12-52.fc7
>>
>> This is my grub.conf:
>> boot=/dev/sda
>>
>
> I cannot find "boot=" in the grub manual.  I do see it referenced but
> unused in my Fedora grub.conf:
>
> # NOTICE:  You do not have a /boot partition.  This means that
> #          all kernel and initrd paths are relative to /, eg.
> #          root (hd0,2)
> #          kernel /boot/vmlinuz-version ro root=/dev/sda3
> #          initrd /boot/initrd-version.img
> #boot=/dev/sda
>
> Note that the last line is commented out!  Perhaps you should do the same.
I also tried this option since it was originally commented, but I though 
that if you have several partition with the same label "/" on 2 different
drives, it could prevent any confusion.
>>
>> default=0
>> timeout=10
>> splashimage=(hd0,7)/boot/grub/splash.xpm.gz
>> hiddenmenu
>> password --md5 $1$Ey8yydw2$Ia5NHuLvdjduWOKIJM57u0
>> 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
>>
>
> I note with interest that you comment out a line that should work?
> The errors you mention at the end would suggest that if you browse to
> "/dev/sda8"/boot you would not find  kernel
Yes, if I do  ls "/dev/sda8" -l
I get:
brw-r----- 1 root disk 8, 8 2008-01-03 19:39 /dev/sda8

> /boot/vmlinuz-2.6.23.12-52.fc7.  To find out, boot into a working
> linux partition, make a directory in /media called sda8 (humm - can
> you boot to an extended partition??) and then mount using mount -t
> ext3 /dev/sda8 /media/sda8.  Then become root and browse to the disk
> using cd /media/sda8/boot (or nautilus as root) and look for  kernel
> /boot/vmlinuz-2.6.23.12-52.fc7.
This works perfectly fine. However, I do not see your point.
>>
>>
>> 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
>> 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, so I force it to boot on
>> /dev/sda8, but I get:
>>
>
> Do you have "root (hd0,7)" in the stanza?  I guess if you do I wonder
> what gparted gets (using device sda) if you issue the "print" command.
> I also wonder if you can boot from this partition if it is extended.
I Do not see your point. gparted does not seem to have any problem with
the partitions.
sda8 is a logical partition of an extented one sda2.
Why would it be OK with the kernel 2.6.21 and not with the 2.6.23 ?

>> setuproot: moving /dev failed No such file or directory
>> setuproot: error mounting /proc
>> setuproot: error mounting /sys
>>
>> In what these 2 kernels are so different ?
>>
>> Regards
>>

-- 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Patrick Dupré                                             pd520 at york.ac.uk
University of York                                 Department of Chemistry
Heslington, York              YO10 5DD                      United Kingdom
Phone: +44-(0)-1904-434384                        Fax: +44-(0)-1904-432516
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


More information about the users mailing list