[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dual boot Linux on one box (about partitions)



El Tue, Dec 07, 2004 at 08:00:00PM +0000 rec.sea@btopenworld.com ha dit:

> Does that mean that we will end up with two /boot, one for Debian and one for 
> Gentoo, and two / one for Debian and one for Gentoo?
> 
> Something like
> 
> /dev/hda1 swap (common)
> /dev/hda2 /home (common)
> /dev/hda3 /boot (for Debian)
> /dev/hda4 / (for Debian)
> /dev/hda5 /boot (for Gentoo)
> /dev/hda6 / (for Gentoo)
> 
> Is that right?

that's one option. on my box /boot is shared between the different
systems. 
 
> Where is the information for the kernel and for lilo (or Grub) about which 
> partitions to use, in the System.map file?
 
in my config:

grub in the mbr uses menu.lst from /boot/grub, on selection launches
grub in the / of the selected system using menu.lst from /grub and a
kernel from /boot.

with grub the partition info comes from (/boot)/grub/menu.lst:

# get kernel, ... from /dev/hda5 
root (hd0,4) 

# start vmlinuz-2.6.8.1 with /dev/hda6 as /
kernel /vmlinuz-2.6.8.1 root=/dev/hda6

-- 
             If liberty means anything at all, it means the
           right to tell people what they do not want to hear
                            (George Orwell)

             ( ( ( i ) ) )  http://indymedia.org  ( ( ( i ) ) )

      *  using free software / Debian GNU/Linux | http://debian.org  *

gpg --keyserver keys.indymedia.org --recv-keys B9A88F6F

Attachment: signature.asc
Description: Digital signature


Reply to: