Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
system reboots at initrd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
timb
n00b
n00b


Joined: 17 Jan 2004
Posts: 3

PostPosted: Sat Jan 17, 2004 8:09 am    Post subject: system reboots at initrd Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54327
Location: 56N 3W

PostPosted: Sat Jan 17, 2004 9:15 am    Post subject: Reply with quote

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
View user's profile Send private message
timb
n00b
n00b


Joined: 17 Jan 2004
Posts: 3

PostPosted: Sat Jan 17, 2004 9:48 am    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54327
Location: 56N 3W

PostPosted: Sat Jan 17, 2004 10:26 am    Post subject: Reply with quote

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
View user's profile Send private message
timb
n00b
n00b


Joined: 17 Jan 2004
Posts: 3

PostPosted: Sat Jan 17, 2004 11:03 am    Post subject: Reply with quote

it is straight out of the installation guide @ http://www.gentoo.org/doc/en/handbook/handbook.xml?part=1&chap=9#doc_chap2

initrd is a root disk that does hardware autodetection.

i will try a manual kernel configuration and see if that fixes the problen.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum