- Joined
- Nov 22, 2003
- Location
- New York City
I followed Kaltag's tutorial on Gentoo stage 1. Using the x86 2005.0 stage 1 minimal CD, I got through the bootstrapping, emerge system and whatnot, but I can't get the bootloaders to load Gentoo 2005.0. I can get Lilo to load WinXP, but grub won't load either Gentoo or WinXP. Help!
System specs:
DFI LanParty NF2 Ultra-B, AXP-M 2500+ (lowered to 220x10 just in case), Mushkin BH5 512MB (2-2-2-11), AIW 9600 Pro (stock)
Hard drive: PATA WD 120GB using Serilel adapter (the PATA->SATA adapter that came with the Abit NF7-S... it connects to mobo with SATA line, works fine for WinXP)
My HD is partitioned like this (according to fdisk -l):
...so basically I have 1 primary for XP, another partition for NTFS files, a Linux root and a Linux swap.
/etc/fstab:
Here are the errors:
GRUB:
then it freezes. Here's my grub.conf:
When I ran grub:
no errors that I recognized. Exited, rebooted, took the CD out... then got the Error 17 message, and the system stops. According to the help on gentoo.org,
So fdisk could recognize /dev/sda3 as a type 83 ReiserFS partition, but Grub couldn't recognize it? *shrug*
So I gave up on grub and emerged lilo... here's my lilo.conf:
then ran /sbin/lilo, exited, rebooted. When I tried WinXP, lilo booted it fine. When I tried to pick Gentoo, I got this error at the end:
I looked it up, and "803" corresponds to /dev/sda3... the bootloader couldn't read the partition again? At least I know lilo works, but I'm lost as to why it can't load Gentoo... I don't want to have to start from scratch again if I don't have to... any suggestions?
System specs:
DFI LanParty NF2 Ultra-B, AXP-M 2500+ (lowered to 220x10 just in case), Mushkin BH5 512MB (2-2-2-11), AIW 9600 Pro (stock)
Hard drive: PATA WD 120GB using Serilel adapter (the PATA->SATA adapter that came with the Abit NF7-S... it connects to mobo with SATA line, works fine for WinXP)
My HD is partitioned like this (according to fdisk -l):
Code:
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/sda2 2551 13341 86678707+ 5 Extended
/dev/sda3 * 13342 14527 9526545 83 Linux
/dev/sda4 14528 14593 530145 82 Linux swap / Solaris
/dev/sda5 2551 13341 86678676 7 HPFS/NTFS
...so basically I have 1 primary for XP, another partition for NTFS files, a Linux root and a Linux swap.
/etc/fstab:
Code:
<fs> <mountpoint> <type> <opts> <dump/pass>
/dev/sda3 / reiserfs noatime,notail 1 1
/dev/sda4 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
Here are the errors:
GRUB:
Code:
grub loading, please wait...
Error 17
then it freezes. Here's my grub.conf:
Code:
default 0
timeout 30
splashimage=(hd0,2)/grub/splash.xmp.gz
title=Gentoo Linux 2.6.11-r6
root (hd0,2)
kernel /kernel-2.6.11-gentoo-r6 root=/dev/sda3
title=Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1
When I ran grub:
Code:
root (hd0,2)
setup (hd0)
no errors that I recognized. Exited, rebooted, took the CD out... then got the Error 17 message, and the system stops. According to the help on gentoo.org,
"This error is returned if the partition requested exists, but the filesystem type cannot be recognized by GRUB. Be sure to check your root(x,y) settings in your grub.conf. Also, if you are trying to boot Windows, make sure that your grub.conf file has the root (hdX,Y) (or rootnoverify (hdX,Y)) and chainloader (hdX,Y) +1 in it."
So fdisk could recognize /dev/sda3 as a type 83 ReiserFS partition, but Grub couldn't recognize it? *shrug*
So I gave up on grub and emerged lilo... here's my lilo.conf:
Code:
boot=/dev/sda
prompt
timeout=50
default=gentoo
image/boot/kernel-2.6.11-gentoo-r6
label=gentoo
read-only
root=/dev/sda3
other=/dev/sda1
label=windows
then ran /sbin/lilo, exited, rebooted. When I tried WinXP, lilo booted it fine. When I tried to pick Gentoo, I got this error at the end:
Code:
VFS: Cannot open root device "803" or unknown-block(8,3)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on uknown block (8,3)
I looked it up, and "803" corresponds to /dev/sda3... the bootloader couldn't read the partition again? At least I know lilo works, but I'm lost as to why it can't load Gentoo... I don't want to have to start from scratch again if I don't have to... any suggestions?
Last edited: