This is a discussion on GRUB won't go away within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I just replaced fedora with slackware 10.1 & all I get when I boot is "grub>" how can I ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| mike wrote: > I just replaced fedora with slackware 10.1 & all I get when I boot is > "grub>" how can I make this go away without making a win98 boot disk & doing > an fdisk /mbr? this is on a machine without any form of windows. > > You're experiencing after effects of your Fedora installation, and I'm guessing here that you installed LILO into your root partition (perhaps scared off by the words "install into the MBR... possibly unsafe"). Grub needs a file that is no longer there, and LILO cannot be reached... So, boot into Slackware - not from hard disk, but booting from the install CD. Copying verbatim from the welcome screen: """ In a pinch, you can boot your system from here with a command like: For example, if the Linux system were on /dev/hda1. boot: bare.i root=/dev/hda1 noinitrd ro """ When you're in, make sure to open "/etc/lilo.conf" in the editor of your choice (vi comes to mind) and look for a line that probably will look like "boot = /dev/hda1" and replace it by "boot = /dev/hda" . This instructs LILO to write the bootloader to your disk's MBR instead of your root partition. After saving your changes, DO NOT FORGET to run the command "lilo" otherwise the MBR will be unchanged. Then, remove the CD and reboot. You should be welcomed by your Slackware on-disk. Cheers, Eric |