grub and partition
Thufir
hawat.thufir at gmail.com
Wed Jun 27 07:50:52 UTC 2007
my incredibly, absurdly complex quadruple boot works fine, everything
mounts and boots:
[root at localhost mnt]#
[root at localhost mnt]# cat /boot/grub/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,1)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
#hiddenmenu
title Fedora (2.6.21-1.3228.fc7)
root (hd0,1)
kernel /vmlinuz-2.6.21-1.3228.fc7 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.21-1.3228.fc7.img
title Fedora (2.6.21-1.3194.fc7)
root (hd0,1)
kernel /vmlinuz-2.6.21-1.3194.fc7 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.21-1.3194.fc7.img
title win2k
rootnoverify (hd0,0)
chainloader +1
#OLD GRUB ADDED ON
title Fedora Core (2.6.20-1.2952.fc6)
root (hd1,1)
kernel /vmlinuz-2.6.20-1.2952.fc6 ro root=/dev/VolGroup01/
LogVol00 rhgb quiet
initrd /initrd-2.6.20-1.2952.fc6.img
title win2k
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
[root at localhost mnt]#
[root at localhost mnt]# cat /etc/fstab
LABEL=/ / ext3 defaults 1
1
LABEL=/boot /boot ext3 defaults 1
2
tmpfs /dev/shm tmpfs defaults 0
0
devpts /dev/pts devpts gid=5,mode=620 0
0
sysfs /sys sysfs defaults 0
0
proc /proc proc defaults 0
0
/dev/VolGroup00/LogVol01 swap swap defaults
0 0
/dev/VolGroup01/LogVol01 swap swap defaults
0 0
/dev/sda1 /mnt/sda1 ntfs-3g users,rw 0
0
/dev/sdb1 /mnt/sdb1 vfat users,rw 0
0
/dev/sdb2 /mnt/sdb2 ext3 users,rw 0
0
/dev/mapper/VolGroup01-LogVol00 /mnt/fc6/ ext3 users,rw 0
0
[root at localhost mnt]#
[root at localhost mnt]# fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1912 15358108+ 7 HPFS/NTFS
/dev/sda2 1913 1925 104422+ 83 Linux
/dev/sda3 1926 9729 62685630 8e Linux LVM
Disk /dev/sdb: 30.7 GB, 30750031872 bytes
255 heads, 63 sectors/track, 3738 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1427 11462346 c W95 FAT32 (LBA)
/dev/sdb2 1428 1440 104422+ 83 Linux
/dev/sdb3 1441 3738 18458685 8e Linux LVM
Disk /dev/dm-2: 17.8 GB, 17850957824 bytes
255 heads, 63 sectors/track, 2170 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-2 doesn't contain a valid partition table
Disk /dev/dm-3: 1006 MB, 1006632960 bytes
255 heads, 63 sectors/track, 122 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-3 doesn't contain a valid partition table
[root at localhost mnt]#
[root at localhost mnt]# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda2 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda1 on /mnt/sda1 type fuseblk
(rw,nosuid,nodev,noexec,noatime,allow_other,blksize=4096)
/dev/sdb1 on /mnt/sdb1 type vfat (rw,noexec,nosuid,nodev)
/dev/sdb2 on /mnt/sdb2 type ext3 (rw,noexec,nosuid,nodev)
/dev/mapper/VolGroup01-LogVol00 on /mnt/fc6 type ext3
(rw,noexec,nosuid,nodev)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
[root at localhost mnt]#
[root at localhost mnt]# date
Wed Jun 27 00:49:44 PDT 2007
[root at localhost mnt]#
[root at localhost mnt]#
thanks,
Thufir
More information about the fedora-list
mailing list