LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 04-18-2005, 09:10 AM   #1
Seiken
Member
 
Registered: Sep 2004
Location: NB, Canada
Distribution: Slackware 12.0
Posts: 243

Rep: Reputation: 30
/boot partition needed?


Here's the scenario: I have a spare PC at work for learning more about Linux. It's got a 20 GB hard drive that is currently split up with 3 GB FAT32 for XP, 3 GB FAT32 for storage, 256 MB swap, 4 GB ReiserFS for Slackware 10.1, 4 GB ReiserFS for Ubuntu 5.04, 4 GB ReiserFS for Gentoo 2005.0, and 1.6 GB unused.

Is it recommended to have a seperate /boot partition? The reason I ask is because after I installed Gentoo (it was the last one to go on), Ubuntu will no longer boot. It gets a Kernel panic error. Before I put Gentoo on, Ubuntu booted just fine. Basically, Ubuntu is the only OS to not boot now.

If a seperate /boot partition IS recommended... how big should it be, and how do I go about setting up my system so that each distro's /boot directory is located on that 1 partition. Do I have to worry about each distro overwriting files on that paritition that another distro is reliant on?

Thanks,
Seiken
 
Old 04-18-2005, 12:18 PM   #2
Harmaa Kettu
Member
 
Registered: Apr 2005
Location: Finland
Posts: 196

Rep: Reputation: 30
Your problem isn't related to partitioning. The Ubuntu kernel probably needs some parameter (initrd?) that is missing from Gentoo's lilo/grub configuration.

Separate boot partition is needed only in some old 486/pentium computers if you have bigger hard disk than the BIOS supports. Otherwise it is a bad idea...
Quote:
Do I have to worry about each distro overwriting files on that paritition that another distro is reliant on?
...because exactly this happens if both distros have similarly named kernel files or if the another distro formats the partition during installation.
 
Old 04-18-2005, 12:22 PM   #3
phen111
LQ Newbie
 
Registered: Apr 2005
Location: Stuttgart, Germany
Distribution: FC3
Posts: 2

Rep: Reputation: 0
Hi!

having a extra partition for the /boot directory is recommended, because the kernel has to be in the first 1024 cylinders. Otherwise the bootloader would not be able to start the linux system. Therefore, the size of the boot partition is limited by the size of each cylinder. partitioning software shows you, where the partition is lying on the disk, just take a look there.

i think (never done it before) that a single boot partition for multiple distro is ok, as long as you keep the different kernels in different directories. well it is worth a try :-)

cheers,
kai
 
Old 04-18-2005, 01:23 PM   #4
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Kai, that is an old limitation, no longer relevant to most modern systems.

--Shade
 
Old 04-18-2005, 01:28 PM   #5
Seiken
Member
 
Registered: Sep 2004
Location: NB, Canada
Distribution: Slackware 12.0
Posts: 243

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Harmaa Kettu
Your problem isn't related to partitioning. The Ubuntu kernel probably needs some parameter (initrd?) that is missing from Gentoo's lilo/grub configuration.

Separate boot partition is needed only in some old 486/pentium computers if you have bigger hard disk than the BIOS supports. Otherwise it is a bad idea...

...because exactly this happens if both distros have similarly named kernel files or if the another distro formats the partition during installation.
Thanks very much. I'll have to research Ubuntu a bit.

EDIT: In the meantime, here is my lilo.conf (from Slackware) in case anyone is able to spot what I am doing wrong:
Code:
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 100
change-rules
  reset
vga = normal

image = /boot/vmlinuz
  root = /dev/hda7
  label = Slackware
  read-only

image = /mnt/ubuntu/vmlinuz
  root = /dev/hda8
  label = Ubuntu
  read-only

image = /mnt/gentoo/boot/vmlinuz
  root = /dev/hda9
  label = Gentoo
  read-only

other = /dev/hda1
  label = Windows
  table = /dev/hda
On the Ubuntu partition, Ubuntu created a symlink in "/" called "vmlinuz" that links to the actual kernel in /boot. Gentoo did not have any symlink at all for the kernel, so I just created one in /boot the same way Slackware does. When running /sbin/lilo, I get no errors or warnings.

Last edited by Seiken; 04-18-2005 at 01:52 PM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Swap partition needed for every drive? lagu2653 Linux - Hardware 2 06-21-2005 05:15 PM
urgent partition help needed tedivm Linux - Laptop and Netbook 12 09-02-2004 01:03 PM
Help needed in creating a partition for freebsd schatoor *BSD 1 08-11-2004 03:20 PM
Reseizing linux partition? (Advice needed) OneManArmy Linux - Newbie 8 05-03-2004 12:01 AM
is swap partition really needed ? rajorshi Linux - General 10 07-27-2003 07:12 PM


All times are GMT -5. The time now is 07:01 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
Open Source Consulting | Domain Registration