LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 05-28-2010, 11:47 AM   #1
searcher1
LQ Newbie
 
Registered: Oct 2009
Distribution: PCLinuxOS
Posts: 20

Rep: Reputation: 0
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.
 
Old 05-28-2010, 11:58 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
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.
 
Old 05-28-2010, 12:02 PM   #3
searcher1
LQ Newbie
 
Registered: Oct 2009
Distribution: PCLinuxOS
Posts: 20

Original Poster
Rep: Reputation: 0
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.

Last edited by searcher1; 05-28-2010 at 12:10 PM.
 
Old 05-28-2010, 12:04 PM   #4
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
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!!!!
 
1 members found this post helpful.
Old 05-28-2010, 01:07 PM   #5
searcher1
LQ Newbie
 
Registered: Oct 2009
Distribution: PCLinuxOS
Posts: 20

Original Poster
Rep: Reputation: 0
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.
 
Old 05-29-2010, 04:24 AM   #6
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
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.
 
Old 05-29-2010, 05:14 AM   #7
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
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.
 
Old 05-29-2010, 05:19 AM   #8
searcher1
LQ Newbie
 
Registered: Oct 2009
Distribution: PCLinuxOS
Posts: 20

Original Poster
Rep: Reputation: 0
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.
 
Old 05-30-2010, 01:33 AM   #9
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
<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
 
Old 05-30-2010, 03:12 AM   #10
searcher1
LQ Newbie
 
Registered: Oct 2009
Distribution: PCLinuxOS
Posts: 20

Original Poster
Rep: Reputation: 0
OK...updated my profile.
 
  


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
How do I re-install Grub onto the MBR? satyakb Mandriva 5 04-11-2008 11:50 AM
How to install GRUB in MBR? concoran Linux - Newbie 9 03-08-2008 01:30 AM
re-install grub to mbr nomb Fedora 1 11-19-2007 11:09 AM
How to install Grub other than MBR? terryxela Ubuntu 1 04-08-2007 05:31 PM
GRUB Install on MBR JakeFarley Linux - Newbie 3 10-22-2002 08:16 AM


All times are GMT -5. The time now is 12:32 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration