LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-11-2008, 12:16 PM   #1
7pack
Member
 
Registered: Jul 2008
Location: la
Distribution: Slackware 12.2, Ubuntu
Posts: 85

Rep: Reputation: 15
Do I have Grub or Lilo?


Installed Slackware yesterday finally. There were 3 failed attempts because Disc 1 just would stop for some unknown reason. (Read where someone else had that problem... downloaded the 6 disk from the net) Anyway the 4th attempt was the charm and I loaded Lilo with the setup. Then I came back and put Ubuntu on the same machine for a dual boot arrangement which is working beautifully with one exception. When either Lilo or Grub comes up, it displays ALL failed attempts of Slackware as choices for operating systems. The last selection for Slackware is the good one. I've read on how to edit both Grub and LIlo and followed the instructions to the letter...I think....and each time the contents of each file to edit is empty. The boot menu doesn't say..."Hey I'm Grub or Lilo" damnit so I dont' know which is which. I attempted to edit Grub from within Ubuntu and Lilo from a Slackware prompt using suggested commands. Now I'm rather confused. I could leave well enough alone and do with what I have because everything works. However to see those mangled "choices" appear drives me nuts.

Thanks again.
 
Old 09-11-2008, 12:19 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Slackware uses LILO by default. The only reason you'd have Grub on there is from another install of another Distribution and you didn't install LILO during the Slackware install to the MBR.
 
Old 09-11-2008, 12:19 PM   #3
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
By default, Slackware uses LILO, and all of the possible boot options should be in /etc/lilo.conf. However, once you've edited that file, you need to run lilo at the command line (as root) to have them picked up by the boot loader.
 
Old 09-11-2008, 04:30 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,870

Rep: Reputation: 1248Reputation: 1248Reputation: 1248Reputation: 1248Reputation: 1248Reputation: 1248Reputation: 1248Reputation: 1248Reputation: 1248
If you did default installation of Ubuntu after Slackware, you will have installed Grub to the mbr. If that's the case, you can edit it in the /boot/grub/menu.lst file of Ubuntu. Need to be root (use sudo) to edit the file.
 
Old 09-11-2008, 05:37 PM   #5
7pack
Member
 
Registered: Jul 2008
Location: la
Distribution: Slackware 12.2, Ubuntu
Posts: 85

Original Poster
Rep: Reputation: 15
Problem resolved. It was Grub. When using 'gksudo gedit /boot/grub.menu.1st' I would always get a blank page which confused this newbie. Finally in desperation I clicked on the open tab and from the list of files displayed there was menu.1st.... clicked on it and it opened. I was able to make necessary changes and all is well. Why gedit is doing this.....dunno.....that's for another day.

Thanks all.......
 
  


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
Booting of raw ISO from GRUB/LILO (though preferably GRUB) Orkie Linux - Software 28 12-15-2013 10:37 PM
Changing GRUB-GRUB, GRUB-LILO and vice versa andreas_skw Linux - Newbie 1 06-05-2008 07:40 AM
grub overwrote lilo multiboot, missing one boot in Grub rl23455 Linux - Newbie 1 12-09-2007 02:50 PM
Bootloader Lilo competing with Grub, Grub wins vcfstephen Slackware 3 05-11-2007 01:05 AM
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 02:15 PM


All times are GMT -5. The time now is 10:41 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration