LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-13-2004, 02:05 PM   #1
DrGnome
Member
 
Registered: Apr 2004
Posts: 32

Rep: Reputation: 15
grub, bootloader problem


hi

got a slight problem, i just uninstalled fedora and installed slackware but when i rebooted rater than being presented with lilo like i expected, there was a grub command line.. so i went into slacklive, formatted the harddrive completely with no paritions.. rebooted and grub is still there

where the hell is grub booting from, and how do i get rid of it? im on my laptop which has no bios access so i cant select where it boots from which is what i would try on my normal pc

please help asap

thanks
 
Old 04-13-2004, 02:59 PM   #2
DrGnome
Member
 
Registered: Apr 2004
Posts: 32

Original Poster
Rep: Reputation: 15
bumbump"!
 
Old 04-13-2004, 03:02 PM   #3
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Where did you choose to install lilo to during the Salck installation?
You can try this to boot Slack with grub:
root [slackware partition in grub format]
kernel /boot/vmlinuz root=[slack partition in Linux format]
boot
 
Old 04-13-2004, 03:07 PM   #4
DrGnome
Member
 
Registered: Apr 2004
Posts: 32

Original Poster
Rep: Reputation: 15
ok but how do i get rid of grub, seems to be booting from nowhere?
 
Old 04-13-2004, 03:11 PM   #5
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
Well, what I can suggest is that you boot from the slackware live CD and then, as root, run

fdisk /dev/hda

Now delete all existing partitions if there are any. Once you delete them, press 'p' to list current table structure and then if you are satisfied, press 'w' to write the new partition table to the disk.

If that dosent work, then what you can do is use fdisk to create a new partiton of type WIN 95 Fat32 LBA and then use a 'windows 98 boot floppy/cd', to boot into DOS and on command line, give the command

fdisk /mbr

This will remove any installation of grub if it exists.

Regards,

amit
 
Old 04-13-2004, 03:16 PM   #6
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Installing lilo to the MBR should have gotten rid of grub.
 
Old 04-13-2004, 03:20 PM   #7
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
Well, DrGnome, since you've written that you've formatted your drive, my reply assumes that you have no linux distro installed and you want to get rid of grub.

If that is not the case then please DO NOT follow my suggestion. If you have a linux partiton intact (i.e slackware), then do as suggested by aaa..{ I'd add an initrd entry to the boot commands too }

root [slackware partition in grub format]
kernel /boot/vmlinuz root=[slack partition in Linux format]
initrd /boot/initrd-<version>.img
boot

Replacing GRUB with LILO is also quite easy...

1. Just edit your lilo.conf as per requirement.

2. Now give the following commands one after the other-

lilo

lilo -v -v

3. Reboot...and you've got LILO..!

Regards,

amit
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with bootloader grub crashdoyle Fedora 3 09-05-2005 09:21 AM
How can I disable the grub bootloader and enable the lilo bootloader? abefroman Linux - General 1 08-06-2005 08:53 AM
Grub bootloader problem linmith Slackware 2 02-13-2005 02:15 PM
GRUB bootloader spits out "GRUB hard disk error" Crampedson Linux - Software 2 01-26-2005 06:34 PM
grub bootloader problem markshifman Linux - General 2 11-04-2003 10:06 AM


All times are GMT -5. The time now is 03:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration