LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-13-2005, 09:19 AM   #1
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Rep: Reputation: 49
Will a common /boot work?


I wanna install as many as 10 distros, and I am worried whether GRUB supports that number.

Moreover, does it support Unix like Operating Systems? Like Darwin or Solaris or Free BSD?

I am thinking of making a common /boot partition, so as to avoid problems with non-detection of the OSs.

As far as I have heard, I think that Free BSD will install its own boot loader, so if it does that, will it detect the other "Linux" distros? And yes, the stupid Windows XP too.

Need more info? I will provide you.
 
Old 06-13-2005, 10:04 AM   #2
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
Yeah. A common /boot is the recommended way to boot multiple distros, so that there's a common mountpoint for lilo.conf or grub if that's what you prefer.

FBSD, I'm not so sure. I do know, however, that NetBSD will detect Linux and Windows installations.
 
Old 06-13-2005, 10:30 AM   #3
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Original Poster
Rep: Reputation: 49
I am still learning the way to boot multiple Operating Systems.

I have read some online tutorials too for this purpose.

Now, is it like the NTLDR (Boot loader for Windows) will reside on the MBR (Windows has to be installed first to avoid any further problems.)

And LILO or GRUB on the /boot partition?

Tell me how big should be the /boot partition. I mean any personal recommendations?

I have read about the 1024 cylinder limit and stuff.

Last edited by duffmckagan; 06-13-2005 at 10:39 AM.
 
Old 06-13-2005, 10:37 AM   #4
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
Install Windows first, yeah. But Win2k and XP are (semi-)civilized, in that they install to the superblock, not the MBR.

Install Win.
Set some other partition bootable (your /boot is a good idea)
Install Linux, with LILO in the root block, not the MBR.

It'll work. That's the procedure I've used on three computers, with Win2k and XP. With Win98, it'll still work, but you need to install LILO to the MBR.
 
Old 06-13-2005, 10:47 AM   #5
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Original Poster
Rep: Reputation: 49
Quote:
It'll work. That's the procedure I've used on three computers, with Win2k and XP. With Win98, it'll still work, but you need to install LILO to the MBR.
Didn't get that.

LILO is really simple.
Can you tell me how many operating systems it can support?

[quote]
But Win2k and XP are (semi-)civilized, in that they install to the superblock, not the MBR. [quote]

I thought it was the MBR.
But, in Windows XP Recovery Console, there is a command called

Code:
fixmbr
which places the NTLDR on the MBR.

But who cares.

I need more info on multiple booting with FreeBSD, Solaris and Darwin too. I would also need the order in which they should be installed.

Maybe I should have placed this topic in the *NIX forum as well.
 
Old 06-13-2005, 10:58 AM   #6
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
lilo can boot freebsd.
on one machine ihave this in the /etc/lilo.conf for it :

Code:
# freebsd bootable partition config begins
other=/dev/hda4
table=/dev/hda
loader=/boot/chain.b
label=FreeBSD
# freebsd bootable partition config ends
here freebsd is installed on hda4 ( as you see )
the rest is standard.

also you could use the same kernel with different linux distro's
( the ones that use a standard kernel )

egag
 
Old 06-13-2005, 11:01 AM   #7
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
oh.... and the install order:

-windos
-all linux ( install lilo to the mbr with the first...add the rest )
-freebsd etc... ( don't install a bootloader but add them to lilo.conf )

btw...i don't know solaris or darwin

egag
 
Old 06-13-2005, 11:05 AM   #8
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Original Poster
Rep: Reputation: 49
Quote:
also you could use the same kernel with different linux distro's
( the ones that use a standard kernel )
I would like to get more info on that. I have never heard of that!

I am quite new to LILO. I think I will go with LILO. I have configured GRUB quite a lot but it fails sometimes.

Can anybody paste the entire /etc/lilo.conf here.. (Better if it has windows too)

I would like to see how does it look exactly.

I know how GRUB should look like. Never configured LILO though.

I think I should take some LILO tutorials as well.
 
Old 06-13-2005, 11:08 AM   #9
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Original Poster
Rep: Reputation: 49
Quote:
-freebsd etc... ( don't install a bootloader but add them to lilo.conf )
But, If i install Free BSD Later, how do I access my /boot partition?

From within Free BSD or a live CD ? (I have not played with FreeBSD yet)

This is to add the lines corresponding to FBSD to LILO.

Quote:
all linux ( install lilo to the mbr with the first...add the rest )
MBR or the /boot partition?

Thats what my question is.

Last edited by duffmckagan; 06-13-2005 at 11:12 AM.
 
Old 06-13-2005, 11:30 AM   #10
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
#compact        # faster, but won't work on all systems.
prompt
timeout = 300
# Normal VGA console
#vga=normal
# VESA framebuffer console @ 1024x768x64k
vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
#vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0     # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz-2.6.11.11
  root = /dev/hdb2
  label = Slackware
  append="pci=usepirqmask idebus=66"
  read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz-2.6.11.11
  root = /dev/hdb8
  label = mini
  append="pci=usepirqmask idebus=66"
  read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz-2.6.11.7
  root = /dev/hdb2
  label = Linux-2.6.11.7
  append="pci=usepirqmask idebus=66"
  read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/hda1
  label = windows
  table = /dev/hda
# Windows bootable partition config ends
# freebsd bootable partition config begins
other=/dev/hda4
table=/dev/hda
loader=/boot/chain.b
label=FreeBSD
# freebsd bootable partition config begins
here's a complete lilo.conf file.
it uses the same kernel for hdb2 ( Slackware ) and hdb8 (mini ), and i copied the module-tree
/lib/modules/2.6.11.11 from Slackware to mini.
also there's a choice to boot a different kernel for Slackware and has a windos and freebsd
option.

and i would keep the freebsd kernel in it's own /boot on it's own partition.
lilo has no troubles anymore to boot a kernel above 1024 cyl.
( in fact that's what you do with win. )

-install the first linux distro
-install lilo in the mbr.
-install next distro
-install all on it's own partition
-copy contents of newdistro/boot to main /boot
-reboot to the first distro
-add a new section in lilo.conf ( which points to the new kernel and partition )
-run "/sbin/lilo " to install ( that in fact is a diff. to grub; after a change in lilo.conf
you must rerun lilo )
---->goto install next distro

egag

Last edited by egag; 06-13-2005 at 11:33 AM.
 
Old 06-13-2005, 11:41 AM   #11
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Original Poster
Rep: Reputation: 49
Quote:
-run "/sbin/lilo " to install ( that in fact is a diff. to grub; after a change in lilo.conf
you must rerun lilo )
Yeah. I read that LILO requires more maintenance compared to GRUB.


Quote:
-install the first linux distro
-install lilo in the mbr.
-install next distro
-install all on it's own partition
-copy contents of newdistro/boot to main /boot
-reboot to the first distro
That was a little bit confusing.

Now, what about my idea of using the common /boot partition?

I understood that i have to keep the FreeBSD /boot on the same partition as on its /root. and later add the lines to lilo.conf (Is it the same way that I have to do with other Linux distros?)

But, now as per you have told, I need to install LILO on the MBR after installing the First Linux Distro.
Installing /boot too on it's own partition did not make sense for me.
Then what is the use of the common /boot partition that I have created?

Does your post supports the fact that LILO is no more under the 1024 cylinder limit?
 
Old 06-13-2005, 11:59 AM   #12
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
yip , the 1024 cyl. limit is history.
and i didn't start about a common /boot partition, i thought
you would have reason to want it.
if it was only because of the 1024 cyl. limit , then it's not needed.

you can still use any kernel to boot, as long as the dir.where the kernel is,
is mounted when you run " lilo ", so it can find it.
also , the module-tree on the / partition has to fit the kernel

maybe it's not all to clear yet , but look at it this way :
-when you install lilo ( =run "lilo" ) , the kernel must be found by lilo,
so it has to be somewhere in the directory tree.
-when you boot the kernel, it does not have to be in the directory tree of the
distro you are booting.
the /boot dir. isn't used anymore.

errrm...it *is* confusing...
( but it works )

egag
 
Old 06-13-2005, 12:12 PM   #13
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Original Poster
Rep: Reputation: 49
Yeah..Thanks for the help so far guys.

Egag, you helped a lot.

I will take a LILO tutorial, and be back if I have any questions.

I need to understand how LILO works first.

Otherwise I will get badly confused and make this thread tooooooo long, which doesn't seem to be good.
 
Old 06-13-2005, 12:19 PM   #14
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
You're serious when you say you will install Darwin ?

Also Solaris install will overwrite the MBR, there's no way
to avoid that, you will have to re-install lilo from Linux
bootable CD.
 
Old 06-13-2005, 12:30 PM   #15
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
yeah, do some reading on lilo.
and if you run into troubles or have more Q.'s , just post here.
many people here like to help...

egag
 
  


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
BOGUS.common.04y -> /home/common/Mailbox jayakrishnan Linux - Networking 0 11-19-2005 04:48 AM
Multi-boot and common partitions meles meles Linux - General 1 08-28-2005 02:40 PM
Common /home directory dual boot linux Kelean Debian 5 08-24-2005 09:50 PM
Lost Linux boot and boot floppy doesn't work marquedios Linux - Newbie 9 05-22-2005 02:21 PM
(not so common) RH9/xp grub boot problem bubbles Linux - General 5 09-22-2003 07:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:36 PM.

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
Open Source Consulting | Domain Registration