LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 06-26-2003, 12:58 PM   #1
GŠutama
Member
 
Registered: Jun 2003
Location: Tokyo
Distribution: Gentoo
Posts: 78

Rep: Reputation: 15
Trouble booting Gentoo


I am trying to install Gentoo on a old Dell Optiplex GXi. I had a bit of a problem getting started since it can't boot from cd, but I used some floppys from Slackware. Everything went great with the rest of the installation, no compilation errors at all or anything else that could be a problem.

When I try to reboot and grub is starting the kernel the computer just reboots. No errors, nothing. Just like I flipped the switch.

The commands to grub that I used are:

root (hd0,0)
kernel (hd0,0)/bzImage root=/dev/hda3
Partitions:

hda1 == boot partition
hda2 == swap
hda3 == root partition

I know (or atleast think so from some other posts) that there is a problem with the kernel but I have no Idea what. I have tried to change the CHOST flag but with no luck. The flags I tried last is: CHOST= -mpentiumpro. This is supposed to be the same as -mcpu=pentiumpro.

I have no optimization at all.

I also tried CHOST=-mcpu=i386 -O3 -pipe

Can I some where find what flags to use for what prosessor?
Can I compile with CHOST set to ?

Or can it be grub?
 
Old 06-27-2003, 09:41 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Do you see any messages from the kernel at all or does it just reboot? If it you see anything from the kernel then grub has already done it's job. Did you check your kernel configuration to make sure everything is right there?

This is kind of a hard problem to debug without being there, so many things could be wrong.
 
Old 06-27-2003, 06:00 PM   #3
GŠutama
Member
 
Registered: Jun 2003
Location: Tokyo
Distribution: Gentoo
Posts: 78

Original Poster
Rep: Reputation: 15
I don't se anything from the kernel. When I type boot it reboots instead ;-)
How do I check the kernel configuration?
I have done the
make menuconfig
 
Old 06-27-2003, 06:07 PM   #4
GŠutama
Member
 
Registered: Jun 2003
Location: Tokyo
Distribution: Gentoo
Posts: 78

Original Poster
Rep: Reputation: 15
I don't se anything from the kernel. When I type boot it reboots instead ;-)
How do I check the kernel configuration?
I have done the
make menuconfig
 
Old 06-27-2003, 06:08 PM   #5
GŠutama
Member
 
Registered: Jun 2003
Location: Tokyo
Distribution: Gentoo
Posts: 78

Original Poster
Rep: Reputation: 15
oops sorry for posting it twice.

Must have slipped
 
Old 01-14-2004, 08:46 AM   #6
dawgg
LQ Newbie
 
Registered: Jan 2004
Posts: 1

Rep: Reputation: 0
hello,
i've had the same problem (with gentoo, but i think it's distro-independent): when i tried to boot my freshly-compiled kernel the box instantly rebooted without any message or comment.

it's not a grub-problem, it was a kernel-problem: i had chosen a wrong processor-type in the menuconfig. i suggest you choose the "most default" option in the menuconfig and comment the CFLAGS-line in /etc/make.conf (but i'm not sure how much influence THAT really has on the kernel-compilation). if you get a running kernle that way you can always compile a new one with more specific options; i'd first try processor-type in menu-config and then CFLAGS (i found that a nice place for them: http://www.freehackers.org/gentoo/gc...lag_gcc3.html.)
hope to solve ur problem!

(by the way: i'd not name my kernel bzImage, but rather 2.4.24-1, 2.4.24-2, ... (for example) and so on, so you still have the old one when testing new features with a new kernel, and the grub-commands are so easily editable before booting)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gentoo booting problems anon133 Linux - Distributions 11 04-24-2006 05:39 PM
Trouble with Gentoo... DrunkenDisciple Linux - Software 1 07-16-2005 05:16 AM
Having Gentoo trouble lancelott Linux - Newbie 1 06-12-2004 10:51 AM
Gentoo 1.4 - problem on booting satimis Linux - Distributions 7 10-14-2003 11:23 PM
install gentoo without booting from cd? barazor Linux - Distributions 1 08-31-2002 05:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 12:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration