home Mail List
Info
Info
Meetings
Goals
Upcoming
Projects
FAQ
Security
Links

[Date Prev][Date Next] [Chronological] [Thread] [Top]

[NMLUG] grub help



Aaron NMLUG wrote:

>I was trying to build a new 2.6 kernel and use grub.
>(the installer had trouble with grub, I had to use LILO...
>not I'm trying to get grub back by hand.)
>
>anyway...  I'm now not booting.
>I was thinking that I could command grub interractively I knew
>what to do.
>
>My nerves are getting thin...  so I'm asking for help.
>
>I know that /boot is /dev/hda2
>/ is /dev/hda3
>Kernel is /boot/SMP2.4.8HM  (among other things)
>map is /boot/System.map-SMP2.4.8HM (and some other
>"automagic" stuff too)
>
>I'd hope this is all I would need to boot.
>/boot is ext2
>/ is ext3
>
>Is there a sequence of grub commands I can issue to
>boot this kernel?
>
>I could boot a previous kernel if it would help...
>but I can't even get that far!
>
>  
>
This is off the cuff, but try this from the grub command line:

root (hd0,2)
image (hd0,2)/initrd.img
boot

HOWEVER, because you have a seperate boot partition, root may need to be 
set to (hd0,1), and the image may need to be set to whatever the image 
name is in your /boot partition (initrd.img-2.6.8-1-686, for example).  
Autocompletion should work from grub, after you set root to (hd0,2) - 
try typing image (hd0,2)/ and then pushing tab.



Please send sugestions and comments to webmaster@nmlug.org.
Valid XHTML 1.1! Valid CSS! Powered by Debian Powered by Apache