View Single Post

   
  #9 (permalink)  
Old 02-21-2008, 07:38 AM
cappy
 
Posts: n/a
Default Re: boot vmlinuz-2.6.7 with grub

> title=Gentoo 2.6.6 (kernel-2.6.6)
> root (hd0,1)
> kernel (hd0,1)/boot/kernel-2.6.6 root=/dev/hda3 vga=792
>
> title=Gentoo (vmlinuz)
> root (hd0,1)
> kernel (hd0,1)/boot/vmlinuz root=/dev/hda3 vga=792
> root@matrix sokar #
>
> ################
> ## my partitions
> ################
> root@matrix sokar # df -h
> Filesystem Size Used Avail Use% Mounted on
> /dev/hda3 1.4G 698M 644M 52% /
> /dev/hda5 5.6G 535M 4.8G 10% /home
> /dev/hda7 6.9G 3.6G 3.0G 55% /usr
> /dev/hda8 1.7G 1.2G 506M 70% /var
> none 252M 0 252M 0% /dev/shm
> /dev/hda2 145M 23M 115M 17% /boot
> root@matrix sokar #


OK...this is what I think will fix it.
change your kernel line to:
kernel (hd0,1) /kernel-2.6.6 root=/dev/hda3 vga=792
--this is removing the "/boot" because hd0,1 should be the second partition
on your first drive hda, right? This would be pointing at /boot as / so no
need to again add /boot to kernel line which would make grub think to look
at /boot/boot/kernel-2.6.6 which it will not find cause it does not exist
there. Remeber according to your fstab your '/' and your '/boot' or on
different partitions. hda3 and hda2 accordingly.
Hope this helps...if you have more then one drive on you system you may need
to play with tab completion within grub on bootup to verify you have
correct drive.

--
==========================================

cappycdn ' at ' yahoo ' dot ' ca

==========================================
Reply With Quote