LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 03-06-2006, 04:30 PM   #1
corbis_demon
Member
 
Registered: Jun 2004
Distribution: CLFS
Posts: 523

Rep: Reputation: 38
"Grub" of a problem


Hi,
I just installed Slack 10.2 on my machine, with LILO as the boot loader. But when powered on the machine, it showed the GRUB prompt, with no option for the OS boot images. I thought LILO would have wiped off GRUB, but it seems to persist, and I can't seem to find a way out. GRUB came from my previous install of FC3. I don't want to use a boot disk everytime. Is there some way to weed out GRUB? Please advise.
 
Old 03-06-2006, 05:34 PM   #2
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
I'd rather use grub...but if you want lilo, you have to run:
Code:
lilo
as root to (re)install it with the changes you might have made to it's config-file (/etc/lilo.conf)
The config-file needs to be right though for this to work - (for lilo being installed to the MBR that is...) - so that you can write lilo to the MBR and thus boot off the device (using lilo) you want to boot from.
 
Old 03-07-2006, 01:45 AM   #3
corbis_demon
Member
 
Registered: Jun 2004
Distribution: CLFS
Posts: 523

Original Poster
Rep: Reputation: 38
Frankly speaking, even I'd use grub, but that's only possible when it shows me the boot options. I don't want to mount the kernel images manually everytime I boot. What do I do?
 
Old 03-07-2006, 03:42 AM   #4
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
You want to use grub?
Do you have grub installed - I mean the binary, not the "leftover" in MBR from the previous FC3 install?
Code:
grub --version
tells you.
If you do - do you have a separate /boot partition? If yes - mount it to /boot on your / filesystem.
Edit the configuration-file /boot/grub/menu.lst to match your current setup (name of kernel image, where is /boot/grub with all the stage files and the config-file in it, which is your / partition)
then run:
Code:
grub-install /dev/hda
if /dev/hda is the disk you want to boot from
Any questions?
...post your disk-layout and grub-config (menu.lst) along with it...
Code:
fdisk -l
cat /boot/grub/menu.lst
also this could assist you: http://www.gentoo.org/doc/en/grub-error-guide.xml
 
  


Reply



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
grub list "MZ" for my windows boot "Help on Change" davimint Linux - Newbie 2 01-26-2006 06:22 AM
grub problem: "please specify a device to boot..." ajburch Linux - Software 4 11-08-2005 10:34 PM
Boot problem: "GRUB Loading stage2read Error" after installing PCI Ethernet card nsyng Fedora - Installation 1 06-06-2005 06:53 AM
"Operating system not found", problem with the motherboard/GRUB Loader maybe?? brynjarh Linux - General 3 12-14-2004 02:17 PM
grub booter problem "error 18" madrat Linux - Software 3 09-16-2004 07:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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
Open Source Consulting | Domain Registration