Unix Technical Forum

GRUB won't go away

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


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 06:36 AM
mike
 
Posts: n/a
Default GRUB won't go away

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.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 06:36 AM
Eric Hameleers
 
Posts: n/a
Default Re: GRUB won't go away

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:47 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com