NAC
17th November 2006, 08:40 AM
I have installed gentoo on (/dev/hda6) and FC6 (/dev/hda7) and grub on (/dev/hda7) partition,after that, I created a new parition for /boot ahead -- (/dev/hda6)
here's the pic to point what i want,
http://img223.imageshack.us/my.php?image=1kz8.jpg...
I wanna install grub in the boot partition (/dev/hda6)
right now it not working well.
here is my disk partition info
Device Boot Start End Blocks Id System
/dev/hda1 * 1 6132 49255258+ 7 HPFS/NTFS
/dev/hda2 6133 14593 67962982+ f W95 Ext'd (LBA)
/dev/hda5 6133 9337 25744131 7 HPFS/NTFS
/dev/hda6 9338 9396 473886 83 Linux ----------------------(for boot)
/dev/hda7 9397 11715 18627336 83 Linux
/dev/hda8 11716 14331 21012988+ 83 Linux
/dev/hda9 14332 14593 2104483+ 82 Linux swap / Solaris
here is the grub.conf
grub.conf
default=0
timeout=5
splashimage=(hd0,6)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.18-1.2849.fc6xen)
root (hd0,6)
kernel /boot/xen.gz-2.6.18-1.2849.fc6
module /boot/vmlinuz-2.6.18-1.2849.fc6xen ro root=LABEL=/ rhgb quiet
module /boot/initrd-2.6.18-1.2849.fc6xen.img
title Fedora Core (2.6.18-1.2849.fc6)
root (hd0,6)
kernel /boot/vmlinuz-2.6.18-1.2849.fc6 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.18-1.2849.fc6.img
title Gentoo (2.6.17-gentoo-r8)
root (hd0,5)
kernel =/boot/bzImage-gentoo2 ro root=/dev/hda6 rhgb quiet
no initrd
title Other
rootnoverify (hd0,0)
chainloader +1
fstab
For FC6
/dev/hda6 /boot ext3 noauto,noatime 1 2
LABEL=/ / ext3 defaults 1 1
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
LABEL=SWAP-hda9 swap swap defaults 0 0
For Gentoo
/dev/hda6 /boot ext3 noauto,noatime 1 2
/dev/hda7 / ext3 noatime 0 1
/dev/hda9 none swap sw 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
thanks a lot multescugeorge@
really appreciate ur help
could some one help me to check if the configure is right?
thanks a lot for any help in adv.
here's the pic to point what i want,
http://img223.imageshack.us/my.php?image=1kz8.jpg...
I wanna install grub in the boot partition (/dev/hda6)
right now it not working well.
here is my disk partition info
Device Boot Start End Blocks Id System
/dev/hda1 * 1 6132 49255258+ 7 HPFS/NTFS
/dev/hda2 6133 14593 67962982+ f W95 Ext'd (LBA)
/dev/hda5 6133 9337 25744131 7 HPFS/NTFS
/dev/hda6 9338 9396 473886 83 Linux ----------------------(for boot)
/dev/hda7 9397 11715 18627336 83 Linux
/dev/hda8 11716 14331 21012988+ 83 Linux
/dev/hda9 14332 14593 2104483+ 82 Linux swap / Solaris
here is the grub.conf
grub.conf
default=0
timeout=5
splashimage=(hd0,6)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.18-1.2849.fc6xen)
root (hd0,6)
kernel /boot/xen.gz-2.6.18-1.2849.fc6
module /boot/vmlinuz-2.6.18-1.2849.fc6xen ro root=LABEL=/ rhgb quiet
module /boot/initrd-2.6.18-1.2849.fc6xen.img
title Fedora Core (2.6.18-1.2849.fc6)
root (hd0,6)
kernel /boot/vmlinuz-2.6.18-1.2849.fc6 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.18-1.2849.fc6.img
title Gentoo (2.6.17-gentoo-r8)
root (hd0,5)
kernel =/boot/bzImage-gentoo2 ro root=/dev/hda6 rhgb quiet
no initrd
title Other
rootnoverify (hd0,0)
chainloader +1
fstab
For FC6
/dev/hda6 /boot ext3 noauto,noatime 1 2
LABEL=/ / ext3 defaults 1 1
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
LABEL=SWAP-hda9 swap swap defaults 0 0
For Gentoo
/dev/hda6 /boot ext3 noauto,noatime 1 2
/dev/hda7 / ext3 noatime 0 1
/dev/hda9 none swap sw 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
thanks a lot multescugeorge@
really appreciate ur help
could some one help me to check if the configure is right?
thanks a lot for any help in adv.