LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Trying to install Zenwalk with Grub in MBR...what's the best way? (https://www.linuxquestions.org/questions/linux-newbie-8/trying-to-install-zenwalk-with-grub-in-mbr-whats-the-best-way-810734/)

searcher1 05-28-2010 10:47 AM

Trying to install Zenwalk with Grub in MBR...what's the best way?
 
I have Grub Legacy (from PCLOS) in my MBR and I would like to keep it as my primary bootloader. I am trying to install Zenwalk, which uses Lilo, onto another partition. My initial thoughts are not to install Lilo when installing Zenwalk and then installing Grub as a secondary bootloader into the same partition as Zenwalk. Will it work? Is there a better way?

This is the first distro I am installing that doesn't use Grub so please bear with me. Many thanks.

Simon Bridge 05-28-2010 10:58 AM

IIRC: you can opt to install lilo to the disk instead of the MBR. Do this - then modify your existing grub-legacy install to chainload lilo by editing its /boot/grub/menu.lst

You can, indeed, install grub to the same partition as Zenwalk and use it as described. May mess with some updates, but its been a while since I used zenwalk.

searcher1 05-28-2010 11:02 AM

Thanks for the reply. I didn't think hard enough and used the script for Grub 2 instead in the MBR Grub. I'll give the chainloading a try. Thank you so much for pointing it out.

saikee 05-28-2010 11:04 AM

Tell Zenwalk installer you want Lilo in the root partition of Zenwalk.

Say Zenwalk is in sda6 known to Grub as (hd0,5) then these lines in PCLOS menu.lst will fire it up
Code:

title Zenwalk in sda6 known as (hd0,5) to Grub
root (hd0,5)
chainloader +1

The above way is how you can boot the next 100 Linux!!!!

searcher1 05-28-2010 12:07 PM

The chainloading works!!! Thanks for all your help. Since I started using Linux, I have learned so much. Your guidance has taught me something new. Thank you.

Simon Bridge 05-29-2010 03:24 AM

Well done. It took me ages to figure out chainloading when I first started.
Note: this is especially useful where you have multi-boot linuxes which tend to overwrite menu.lst when they update. This way they only overwrite their own files leaving the main one alone.

saikee 05-29-2010 04:14 AM

I have been telling users that booting in Linux is a child play.

One can actually starts with a raw or blank disk, put Grub inside and writes a menu.lst booting all the partitions one intends to install operating systems in them.

Whenever an operating system is installed it will be instantly bootable and sky is the limit.

searcher1 05-29-2010 04:19 AM

Actually I discovered chainloading from reading one of saikee's posts. The link is in his signature (A Grub menu booting 100+ systems). The process is really quite easy.

Simon Bridge 05-30-2010 12:33 AM

<awe and wonderment>someone who reads the sigs, follows the links, reads the linked page, and acts on that information ... ??? <holds breath for flying pig /> </awe and wonderment>

In my own defence - I started when grub was new and I took the torturous path to software freedom (from "windows is good enough, through, open source is all very well as far as it goes, to my present advocacy and having rms come to stay when he's in NZ.)

Y'know, you'll really blow the old hands away by editing your profile to include a location and at least one distro you use a lot ;)

searcher1 05-30-2010 02:12 AM

OK...updated my profile.


All times are GMT -5. The time now is 08:41 AM.