This is really annoying. I just finished a Gentoo install on my
computer and rebooted after installing GRUB with the command
"grub-install --root-directory=/boot /dev/hde" as stated in the
Handbook. Right after GRUB loads the stage1.5 file, the system
reboots.
The first partition is active. Marking partition 2 as active can't
get me into Windows, though, so I'm kinda screwed ATM.
I created my Gentoo partitions by resizing my NTFS partition with
PartitionMagic (I love that software). I moved it down the disk by 32
MB, shrunk it by 20 GB, and converted /home/colin and my swap
partition to logical ones. Windows still booted, even after
formatting the partitions. I also used PM to switch the entries in
the partition table, so that my partitions would be numbered in disk
order--a change to BOOT.INI and Windows still worked.
It's /dev/hde because it's hooked up to my motherboard's on-board RAID
controller--it's got its own CPU, so data transfers are faster. I
wanted to use two hard drives, but my other drive was giving a lot of
DMA errors and sector read errors. (Surprisingly, it runs fine under
Windows.)
/boot/grub/grub.conf
===============
default 0
timeout 10
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.6.11-r9
root (hd0,0)
kernel=/kernel-2.6.11-gentoo-r9 root=/dev/hde3 video=vesafb:mtrr,ywrap vga=0x31B
title=Windows XP Pro SP2
rootnoverify (hd0,1)
makeactive
chainloader +1
/etc/fstab (so you can get an idea of my partitions)
=======
/dev/hde1 /boot ext3 defaults,noatime 1 2
/dev/hde2 /mnt/windrive ntfs
ro,umask=070,fmask=070,dmask=070 0 0
/dev/hde3 / reiserfs attrs
0 1
/dev/hde5 /home/colin vfat
umask=000,fmask=000,dmask=000 0 0
/dev/hde6 none swap sw 0 0
# That's it for hard drives, the rest is removable media, /proc, /dev/shm
--
Colin
--
[email protected] mailing list