On Sun, Sep 16, 2007 at 01:45:05PM -0500, Jeremy wrote:
> Anyone know much about Grub? It sounds like the problem is somewhere between
> grub and initrd.
Enough to get in trouble ;)
It would be useful to boot with a recent rescue disk, then look in the
/boot directory/partition to see what kernels and ramdisks are present
(and print the list of files). Then, copy (and preferably print)
the /boot/grub/menu.lst file.
Reboot the computer and type 'c' at the GRUB prompt. This will drop
you in a command shell. From there, you need to tell grub where to
find the kernel (and all the information is in menu.lst).
For instance, to manually boot my server, I would type the following:
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-1-686 root=/dev/sda1 ro console=tty0
initrd /boot/initrd.img-2.6.22-1-686
boot
This assumes that my root disk is the first partition of the first
disk and /boot is a directory on the root partition.
If any of the 'kernel' or 'initrd' commands fails, this means
grub cannot find a requisite file. Then try again, using an older
kernel/initrd (if you upgraded, you should have some older versions
lying around).
Cheers,
florin
--
Bruce Schneier expects the Spanish Inquisition.
http://geekz.co.uk/schneierfacts/fact/163
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20070917/bc046451/attachment.pgp