View previous topic :: View next topic |
Author |
Message |
timb n00b
Joined: 17 Jan 2004 Posts: 3
|
Posted: Sat Jan 17, 2004 8:09 am Post subject: system reboots at initrd |
|
|
i compiled gentoo-dev-sources 2.6.1 with genkernel and am using grub
grub shows a background splash image but i dont have any vga= or vesa= lines in my grub.conf
when i select my kernel and it starts to boot, as soon as it says "initrd (hd0,1)/boot/initrd-2.6.1-gentoo" it reboots.
any ideas on what i should do? do you need more data?
thanks in advance |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54327 Location: 56N 3W
|
Posted: Sat Jan 17, 2004 9:15 am Post subject: |
|
|
timb,
Is boot on /dev/hda2 ?
Does the file /boot/initrd-2.6.1-gentoo exist?
How did you configure and build your kernel?
If everything you need for booting is built in (as opposed to modules) you don't need an initial ram drive. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
timb n00b
Joined: 17 Jan 2004 Posts: 3
|
Posted: Sat Jan 17, 2004 9:48 am Post subject: |
|
|
hello,
yes, /boot/initrd-2.6.1-gentoo exists on /dev/hda2
i configured and built my kernel as per the instructions in the gentoo handbook, ie:
Code: |
# emerge --usepkg gentoo-dev-sources
# emerge --usepkg genkernel
# genkernel
# emerge --usepkg hotplug
# rc-update add hotplug default
|
my grub.conf looks like this (as per the handbook instructions):
Code: |
default 0
timeout 15
splashimage=(hd0,1)/grub/splash.xpm.gz
title=gentoo linux 2.6.1
root (hd0,1)
kernel (hd0,1)/boot/kernel-2.6.1-gentoo root=/dev/ram0 init=/linuxrc real_root=/dev/hda3
initrd (hd0,1)/boot/initrd-2.6.1-gentoo
|
my partitions are correctly defined in the grub.conf (hda2 = /boot, hda3 = / ) so it must be another problem.
any ideas? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54327 Location: 56N 3W
|
Posted: Sat Jan 17, 2004 10:26 am Post subject: |
|
|
timb,
This line in your grub.conf looks a bit strange to me Quote: | (hd0,1)/boot/kernel-2.6.1-gentoo root=/dev/ram0 init=/linuxrc real_root=/dev/hda3 |
but I'm not a genkernel user or an initrd user. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
timb n00b
Joined: 17 Jan 2004 Posts: 3
|
|
Back to top |
|
|
|