LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Booting with Grub? (https://www.linuxquestions.org/questions/slackware-14/booting-with-grub-557974/)

Frank Soranno 05-31-2007 06:48 AM

Booting with Grub?
 
I have Slack 11 and xbuntu on two partitions, Slack on sda1 and xbuntu on sda2,
However my xubuntu has the grub boot, I want to delete xubuntu and boot from Slack 11, How do I go about switching boot loader?

Zmyrgel 05-31-2007 06:51 AM

Boot in Slack and run /sbin/lilo and it will install LiLo bootloader to MBR.

You can also install grub from /extra and configure and install it:
grub --no-floppy
>root (hd0,0)
>setup (hd0)
> quit

For lilo edit /etc/lilo.conf and for Grub, edit /boot/grub/menu.lst

Frank Soranno 05-31-2007 02:18 PM

Solved!
 
Hi,Got it working with this command (grub-install /dev/sda) which i got from another forum.
however I had to edit the /boot/grub file. All I did was to add the kernel version and
comment out a few things that were not relevant to boot loading.
I had already had installed grub from Slackware.com package, All is cool.
Thanks for the help.

Zmyrgel 06-01-2007 12:50 AM

Okay, great. I usually do it as above as the automatic installer fails on my computer often but manual installation has succeeded always.


All times are GMT -5. The time now is 01:37 AM.