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

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

[NMLUG] grub help



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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!
|

I believe you will need two commands to load the kernel and boot grub by
hand...I've had to do it a few times in the past when I messed up my
grub.conf.

I'm thinking that the first one is the kernel lines:

kernel (hd0,1)SMP2.4.8HM root=/dev/hda3
boot

will get you booted.  The kernel line should help you out with tab-auto
completion.  So, if you type kernel ( and then hit tab, it will tell you
your options.  I think I counted correctly for you, though.

Here's a grub.conf from a dual-booting system of mine.  Here's the
grub.conf:

default 2
timeout 7
splashimage=(hd0,1)/grub/splash.xpm.gz

title=WindowsXP
root (hd0,0)
chainloader +1

title=GentooLinux_2.6.8_20041025
root (hd0,3)
kernel (hd0,1)/bzImage-2.6.8_20041025 root=/dev/hda4
video=vesafb:ywrap,pmipal,1024x768-32@85

title=GentooLinux_2.6.9_20041026
root (hd0,3)
kernel (hd0,1)/bzImage-2.6.9_20041026 root=/dev/hda4
video=vesafb:ywrap,pmipal,1024x768-32@85

Here's my relevant fstab setting so you can add it up:

/dev/hda1           /mnt/windoze    ntfs            noatime         0 0
/dev/hda4           /               reiserfs        noatime         0 0
/dev/hda2           /boot           ext2            noauto,noatime  1 1
/dev/hda3           none            swap            sw              0 0

Good luck.  :-)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBhyi2nURHNoE9YE4RAhK4AKCD/5p2YdKTbDidP5kF3WWiUOfpUwCgjI0D
RgEXOc0KW8MhJDpv88UMXYs=
=oSTl
-----END PGP SIGNATURE-----



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