Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
boot problem - booting gentoo resets(reboots) pc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
cosmonate
n00b
n00b


Joined: 11 Jul 2002
Posts: 6

PostPosted: Thu Jul 11, 2002 12:36 pm    Post subject: boot problem - booting gentoo resets(reboots) pc Reply with quote

i've installed gentoo now for several times! after compiling my kernel and installing grub! i configure grub-stuff in menu.lst

i have dualboot with win xp!

when i boot the pc for the first time grub appears!
when i select windows the system starts without any problems!
when i select gentoo the system reboots!
i've tried with redhat7.3 same kernel config! kompiled same kernel
booting worked!

anyone had that problem before?

im using softraid!
boot - raid1
swap and root raid0

menu.lst:

default 0
timeout 10
title=gen
root (hd0,2)
kernel /boot/bzImage root=/dev/md2

title= wxp
root (hd0,0)
chain....

partitions:
hda1 - fat
hda2 - linux raid auto (striped with hdc2 to swap)
hda3 - linux raid auto (mirrored with hdc3 to /boot)
hda4 - linux raid auto (striped with hdc4 to / )

hdc ... same as hda!

can some1 help me plz!!??

thx
cosmo
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Thu Jul 11, 2002 1:38 pm    Post subject: Reply with quote

It sounds like you might have your kernel compiled for the wrong CPU family. Double-check that setting; it's under "Processor type and features" in menuconfig.

You can get back into your computer by using the steps outlined here.
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
cosmonate
n00b
n00b


Joined: 11 Jul 2002
Posts: 6

PostPosted: Thu Jul 11, 2002 2:09 pm    Post subject: kernel and access to file system Reply with quote

i have an athlon xp 1800

and selected athlon cpu in cpu tab!

i think the pc doesnt extract the kernel image!

how can i access the raid devices from boot cd??
do i have to create a new raidtab to get the existing raid
or can i use some kind of a kernel parameter to autodetect my raids?

dont wanna do another install again!
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Thu Jul 11, 2002 2:47 pm    Post subject: Re: kernel and access to file system Reply with quote

Hmm... try using i686 (PPro/Pentium II or above), just to get it working.

cosmonate wrote:
i think the pc doesnt extract the kernel image!

If Grub couldn't find the kernel, it would display an error message instead of rebooting.

cosmonate wrote:
do i have to create a new raidtab to get the existing raid

Yes.
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
cosmonate
n00b
n00b


Joined: 11 Jul 2002
Posts: 6

PostPosted: Thu Jul 11, 2002 3:28 pm    Post subject: Reply with quote

no chance to boot that damn system!! :(

i tried now nearly every prozessor type!!
athlon
x86-686
pII/p pro
even 386

nothing works

when i press gentoo in grub

the next screen i see is:

Booting 'gentoo linux'

root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /boot/bzImage root=/dev/md1
[Linux-bzImage, setup=0x1400, size=0x19686f]

next messages:
uncompressing kernel.. ok
then some numbers and chars

and the reboot

(no kernel panic)

what is that??
Back to top
View user's profile Send private message
sabre66
n00b
n00b


Joined: 23 Jun 2002
Posts: 52

PostPosted: Fri Jul 12, 2002 2:35 am    Post subject: Reply with quote

you know im having the same problem, non raid board though, tried various processor types no can do but ive also done reinstalls still with no luck. Ive installed gentoo on other athlon systems with absolutely no problems what so ever ive already posted this problem for help after i spent hours reading posts, changing settings, and doing as replies have suggested blah blah blah not to mention all the downloading. Stll no luck..............hey guess what install #6 no good either......................lol Thank goodness boss out of town. I finally gave up went back to RH71...........yeah it works, it may be "bloated" and not fully "optimized" but it works. If you find a solution let me know puleeeze this is driving me nuts......thanks
Back to top
View user's profile Send private message
cosmonate
n00b
n00b


Joined: 11 Jul 2002
Posts: 6

PostPosted: Fri Jul 12, 2002 9:09 am    Post subject: big lol Reply with quote

now i've tried it about 20 times! i think there isn't a kernel config i haven't tried yet!!

my damn system won't boot!!!

grub gets the zbImage!

then it decompresses the Image!

then i see booting kernel!!

lots of chars and numbers!

but the reboot!!

no kernelpanic or system halt! only a reboot!!

i go crazy!

is there a problem with the gentoo-sources and athlon xp prozessor or what??

isn't there anyone who can help me?? plzzzzzzz!!!!!
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Fri Jul 12, 2002 9:35 am    Post subject: Reply with quote

If you say you've used the same kernel config on another distro, perhaps you might want to try using vanilla-sources instead of gentoo-sources. Maybe one of the gentoo kernel patches is hurting you.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
StickyBit
n00b
n00b


Joined: 09 Jul 2002
Posts: 1
Location: Germany

PostPosted: Fri Jul 12, 2002 10:30 am    Post subject: same problem Reply with quote

I have similar problems on a pentium I. I also tried to boot the image with lilo - smae result: kernel decompression starts and then the system reboots. I´am now compiling with the zlib option. dunno if that helps.

StickyBit
Back to top
View user's profile Send private message
cosmonate
n00b
n00b


Joined: 11 Jul 2002
Posts: 6

PostPosted: Fri Jul 12, 2002 11:23 am    Post subject: zlib Reply with quote

changing zlib option wont help u much!

tried this allready!!!

swiched it on and of! no changes in booting!

i think i'm gonna try vanilla sources! maybe my pc really has problems using the gentoo or xfs-sources!

if some had that problem too please post your try's to solve the problem!

greetz and big thx to all helpers

cosmo
Back to top
View user's profile Send private message
cosmonate
n00b
n00b


Joined: 11 Jul 2002
Posts: 6

PostPosted: Fri Jul 12, 2002 6:54 pm    Post subject: lol Reply with quote

another retry! tried vanills sources !! no chance!

i think gentoo doesnt like my pc or my pc doesnt like gentoo!!

where are the linux gurus?? cant anyone help me!???
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Fri Jul 12, 2002 7:12 pm    Post subject: Reply with quote

There is also a redhat-sources package in case your system is dependent on redhat patches, and if you have a bootable RH system somewhere you could always copy the kernel binary and modules tree from your working RH system if you are really desperate. You may run into some annoyances if devfs is not enabled, but it would be better than spontaneous rebooting, at least.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
zummy
n00b
n00b


Joined: 24 Jul 2002
Posts: 1

PostPosted: Wed Jul 24, 2002 1:20 am    Post subject: re-emerge source tree Reply with quote

The first time I compiled the kernel, I forgot to change the cpu type and had the same problem. Tried changing the type with no success. Finaly, I deleted the old source tree, downloaded a new gentoo-source tree, and everything worked.

I did find an other workaround by searching google. I haven't tried it myself but appearntly you may be able to install lilo into /boot and then have grub load lilo instead of the kernel directly using grub's chainloader option.
Back to top
View user's profile Send private message
echeslack
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2002
Posts: 131
Location: NJ, USA

PostPosted: Wed Jul 24, 2002 4:26 am    Post subject: Reply with quote

make sure you are cleaning out your linux src directory properly - it sounds like zummy hadn't done this:

once you are booted from cd and have chrooted do:
Code:

cd /usr/src/linux
cp .config /tmp/.config
make mrproper
cp /tmp/.config .config
make menuconfig  #exit and save
make dep && make clean bzImage modules modules_install

then follow the rest from the regular install

the make mrproper should return the src tree to its original state. the copying of the .config is just so you don't have to go back and redo all the settings. you might have had stale .o files or old dependencies.

anyway, just a guess...

ewen

oh yea, having exclamation points at the end of all your sentences gets annoying. I hear yelling in my head :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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