D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Slight problem with booting my laptop!

 

On Fri, 28 Jan 2005 09:50:23 +0000
Grant Sewell wrote:

GRUB doesn't use labels like LILO... I'm beginning to wish I had installed LILO 
instead :D
http://www.gnu.org/software/grub/manual/html_node/Configuration.html#Configuration

After reading that page myself, I'm going to edit my grub.conf file *again*...

title RedHat
      kernel (hd0,1)/boot/vmlinuz-2.4.20-8 ro root=/dev/hda2
title Debian
      kernel (hd0,0)/vmlinuz-2.6.8-2-686 ro root=/dev/hda4
      initrd (hd0,0)/initrd.img-2.6.8-2-686

And see if this works :D

Grant.

OK, again crisis over.
Turns out the device.map file was bad.
Booted from Debian Sarge netinstall CD.
Opened the console session.
Mounted /dev/hda4 as /mnt
Mounted /dev/hda1 as /mnt/boot
Chrooted /mnt
Mounted proc as /proc
Edited (nano) /boot/grub/devices.map
Added: (hd0) /dev/hda
Saved file.
ran: grub-install /dev/hda
Everything went OK.
Rebooted.
Debian GRUB menu.
Boot Debian from menu.
All works nicely.
Yay!

Grant.
-- 
Artificial intelligence is no match for nuratal stidutipy.

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.