LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Do I have Grub or Lilo? (https://www.linuxquestions.org/questions/linux-newbie-8/do-i-have-grub-or-lilo-669242/)

7pack 09-11-2008 11:16 AM

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.

trickykid 09-11-2008 11:19 AM

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.

Hangdog42 09-11-2008 11:19 AM

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.

yancek 09-11-2008 03:30 PM

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.

7pack 09-11-2008 04:37 PM

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


All times are GMT -5. The time now is 06:38 AM.