Ubuntu
Beartooth
Beartooth at swva.net
Sun Jan 27 21:40:05 UTC 2008
On Sun, 27 Jan 2008 21:29:24 +0000, I Beartooth wrote:
[....]
> Then partition the hard drive; use knoppix, or gparted or
> qtparted on a live CD. I made a separate /boot partition first, then one
> for each OS, and a swap partition.
>
> Boot from the install medium for the first OS; do the manual
> install, making sure you install only into the partition you want; let
> it build you a grubbery in /boot. I did CentOS first. Make a note of
> what in in any grub.conf a/o menu.lst you can find.
>
[...]
>
> [....] I
> notice that what's in /boot is *not* all the boot data, but that for one
> OS (the last, iirc), and some directions to chainload.
Not quite right; here's the content of /boot on the testbed
machine :
[root at localhost btth]# mount -t ext3 /dev/sda1 /TEST
[root at localhost btth]# cd /TEST
[root at localhost TEST]# ls
config-2.6.18-53.1.4.el5.centos.plusxen
config-2.6.18-53.1.4.el5xen
config-2.6.18-53.1.6.el5xen
config-2.6.18-53.el5xen
grub
Grubberies
initrd-2.6.18-53.1.4.el5.centos.plusxen.img
initrd-2.6.18-53.1.4.el5xen.img
initrd-2.6.18-53.1.6.el5xen.img
initrd-2.6.18-53.el5xen.img
lost+found
message
symvers-2.6.18-53.1.4.el5.centos.plusxen.gz
symvers-2.6.18-53.1.4.el5xen.gz
symvers-2.6.18-53.1.6.el5xen.gz
symvers-2.6.18-53.el5xen.gz
System.map-2.6.18-53.1.4.el5.centos.plusxen
System.map-2.6.18-53.1.4.el5xen
System.map-2.6.18-53.1.6.el5xen
System.map-2.6.18-53.el5xen
vmlinuz-2.6.18-53.1.4.el5.centos.plusxen
vmlinuz-2.6.18-53.1.4.el5xen
vmlinuz-2.6.18-53.1.6.el5xen
vmlinuz-2.6.18-53.el5xen
xen.gz-2.6.18-53.1.4.el5
xen.gz-2.6.18-53.1.4.el5.centos.plus
xen.gz-2.6.18-53.1.6.el5
xen.gz-2.6.18-53.el5
xen-syms-2.6.18-53.1.4.el5
xen-syms-2.6.18-53.1.4.el5.centos.plus
xen-syms-2.6.18-53.1.6.el5
xen-syms-2.6.18-53.el5
[root at localhost TEST]#
Within that, it's CentOS that grub knows about -- but it does
also know there's more :
[root at localhost TEST]# cd grub
[root at localhost grub]# ls
device.map grub.conf.save minix_stage1_5 ufs2_stage1_5
e2fs_stage1_5 grub.conf.save.1 reiserfs_stage1_5 vstafs_stage1_5
fat_stage1_5 iso9660_stage1_5 splash.xpm.gz xfs_stage1_5
ffs_stage1_5 jfs_stage1_5 stage1
grub.conf menu.lst stage2
[root at localhost grub]# file menu.lst
menu.lst: symbolic link to `./grub.conf'
[root at localhost grub]# cat grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this
file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda2
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=20
#splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
title CentOS (2.6.18-53.1.6.el5xen)
root (hd0,0)
kernel /xen.gz-2.6.18-53.1.6.el5
module /vmlinuz-2.6.18-53.1.6.el5xen ro root=LABEL=/
module /initrd-2.6.18-53.1.6.el5xen.img
title CentOS (2.6.18-53.1.4.el5.centos.plusxen)
root (hd0,0)
kernel /xen.gz-2.6.18-53.1.4.el5.centos.plus
module /vmlinuz-2.6.18-53.1.4.el5.centos.plusxen ro root=LABEL=/
module /initrd-2.6.18-53.1.4.el5.centos.plusxen.img
title CentOS (2.6.18-53.1.4.el5xen)
root (hd0,0)
kernel /xen.gz-2.6.18-53.1.4.el5
module /vmlinuz-2.6.18-53.1.4.el5xen ro root=LABEL=/
module /initrd-2.6.18-53.1.4.el5xen.img
title CentOS (2.6.18-53.el5xen)
root (hd0,0)
kernel /xen.gz-2.6.18-53.el5
module /vmlinuz-2.6.18-53.el5xen ro root=LABEL=/
module /initrd-2.6.18-53.el5xen.img
title Fedora
rootnoverify (hd0,2)
chainloader +1
title Ubuntu
rootnoverify (hd0,4)
chainloader +1
[root at localhost grub]#
--
Beartooth Staffwright, PhD, Neo-Redneck Linux Convert
Remember I know precious little of what I am talking about.
More information about the fedora-list
mailing list