Yeah, I had already noticed that mistake. Thanks!
Oliver

Michael Schwendt wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 26 Dec 2002 23:07:29 +0100, Michael Schwendt wrote:


On Thu, 26 Dec 2002 23:07:01 +0100, Oliver König wrote:


I cannot get Grub to load Linux:

---/boot/grub/grub.conf----
default=0
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz

# section to load Windows 2000
title windows
rootnoverify (hd0,0)
chainloader +1

# section to load linux
title Red Hat Linux (2.4.18-14)
root (hd1,0)
kernel /vmlinuz-2.4.18-14 root=/dev/hdc1
initrd /boot/initrd-2.4.18-14.img
---EOF---

Windows boots without problems. When I select Linux from the GRUB
menu

the boot process is started but not completed. It ends with:

..
EXT3-fs: mounted filesystem with ordered data mode
pivotroot: pivot_root (/sysroot,/sysroot/initrd) failed: 2
umount /initrd/proc failed: 2
Freeing unused kernel memory: 212 k freed
kernelpanic: No init found: Try passing inits= option to kernel

GRUB seems to find both the kernel and the initrd.

I have the following hard drives and partitions on my system:

Device Start End Size Type Mountpoint
/dev/hda
hda1 1 2097 16449 ntfs ?
hda2 2098 2480 3004 fat ?

/dev/hdc
hdc1 1 10 78 ext3 /boot hdc2 11 75 510 linux-swap
hdc3 76 784 5562 ext3 /
How can I get GRUB to load Linux?

With "kernel /vmlinuz-2.4.18-14 root=/dev/hdc3" in your GRUB
entry. You have specified root=/dev/hdc1 which is wrong.

Oh, and your initrd line is wrong, too. When /dev/hdc1 is your
/boot partition, the corresponding GRUB entry should be

initrd /initrd-2.4.18-14.img

because it is relative to root (hd1,0) = /dev/hdc1.
The complete entry:

# section to load linux
title Red Hat Linux (2.4.18-14)
root (hd1,0)
kernel /vmlinuz-2.4.18-14 root=/dev/hdc3
initrd /initrd-2.4.18-14.img

- -- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+C36i0iMVcrivHFQRAhp1AKCDaV3yK7GpSIax2AEq6W6Q+O2kjwCfd3xw
gRQHVsFfNO2PUFijmCgsC1g=
=4uFn
-----END PGP SIGNATURE-----








--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to