LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 02-23-2002, 01:28 PM   #1
tunedLow
Member
 
Registered: Sep 2001
Location: Salt Lake City
Distribution: Slackware 8.1
Posts: 133

Rep: Reputation: 15
Booting


I am unable to boot into linux . I thought I followd the book, and have gone over the boot sections there, but am still missing something. Everything went well during the install.

My lilo.conf file is written to read the lfs partition (hdb1), and upon boot I can select it (running Redhat 7.2 as a host system, hda, with lfs on hdb). However, it doesn't get far, only the first line: Loading linux..................... (even though my label is "lfs"..?) and then it reboots.

I looked at my inittab script and the runlevel is set to 3. I was hoping someone could point some areas to look out for. I can send in info you might need.

It's and a second hard drive, with a pre 1997 bios, could this be an issue? I've had linux on this drive before, but with windows on the hda, never two linux distos.

Here is my lilo.conf:
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
linear
default=linux

image=/boot/vmlinuz-2.4.2-2
label=linux
read-only
root=/dev/hda6

image=/boot/lfskernel //should this be "other", or is that only for differnet a different os?
label=lfs
root=/dev/hdb1
read-only

I looked in the boot log, but the syslogd doesn't have a chance to start. Somehow the kernel never uncompresses. I know this is a really vague problem description, I'll keep hammering it out.

Thanks!!

Last edited by tunedLow; 02-24-2002 at 05:48 PM.
 
Old 02-24-2002, 04:06 PM   #2
Baloo
Member
 
Registered: Feb 2002
Distribution: LFS
Posts: 41

Rep: Reputation: 15
How much of the 'Lilo' gets printed to the screen, this can be used as an indication of whats gone wrong.

Baloo

/edit read the whole question now, sorry the above won't help (its late )

Last edited by Baloo; 02-24-2002 at 04:08 PM.
 
Old 02-24-2002, 05:50 PM   #3
tunedLow
Member
 
Registered: Sep 2001
Location: Salt Lake City
Distribution: Slackware 8.1
Posts: 133

Original Poster
Rep: Reputation: 15
Yeah, just the first line:

Loading linux ................. and then the reboot.

It doesn't seem to see the kernel, though there is a copy of the lfs kernel in /boot, as lfskernel. Thanks.

Last edited by tunedLow; 02-25-2002 at 12:51 AM.
 
Old 02-25-2002, 05:18 PM   #4
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
Its finding the kernel. However, the kernel is taking a great big dump for some odd reason. I've had this same thing happen a number of times with Slackware's boot kernels, like when I used smp.i on a uni-processor box with a funky mobo. It seems that's just the kernel acting funky. It looks like you'll have to re-compile it. You can use the RedHat kernel and just have it mount /dev/hdb1 as root. It will complain bitterly about not finding modules as its looking for /lib/modules/2.4.2-2 and all its going to find on that partition is /lib/modules/2.4.16. If you really want, you could boot into RedHat, copy the entire module directory over to the LFS partition.

Its almost definately not the hardware. I've got a pre-1995 machine with 3 OS's on it.

Oh, and 'other' is just for other OS, you can name the thing BobsFlatulentIguana if you want to... there is a character limit, but it beats me.

LILO is doing its job right, it found that kernel where it was suppoes to be and handed the job off to it... and then the kernel pooped out.

Good luck,

Finegan
 
Old 02-26-2002, 12:46 PM   #5
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
Quote:
Originally posted by tunedLow
Yeah, just the first line:

Loading linux ................. and then the reboot.

It doesn't seem to see the kernel, though there is a copy of the lfs kernel in /boot, as lfskernel. Thanks.
Make sure you selected the right CPU when you compiled the lfskernel image. By default it's set to PIII I believe.

Also, disable SMP if you don't have an SMP box, or disable it anyways just for testing.
 
Old 02-26-2002, 01:12 PM   #6
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
Quote:
Originally posted by lfslinux


Make sure you selected the right CPU when you compiled the lfskernel image. By default it's set to PIII I believe.

Also, disable SMP if you don't have an SMP box, or disable it anyways just for testing.
Argghhh, I prattle on for 3 paragraphs and forgot this. Absolutely, yes, I even had the exact same thing happen to my once on my P1 when I left it at the default for P3, which the default indeed is. Once again, thanks Cpt. LFS,

Cheers,

Finegan
 
Old 02-26-2002, 06:47 PM   #7
tunedLow
Member
 
Registered: Sep 2001
Location: Salt Lake City
Distribution: Slackware 8.1
Posts: 133

Original Poster
Rep: Reputation: 15
Dooh!!!! I trashed my host system by accident screwing around with its kernel. I will have to go back and reinstall it and then reinstall LFS.

Thanks for the help, yeah, I was kind of moving too quickly through the kernel config. Had a month off for the olympics, but now school's starting again - should have started a month ago! I have to get this basic setup running tonight or it goes to the back burner. Will let you know how it goes, thanks again!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Booting into Single User on MDK 9 asks for root password instead of booting into root acadcworks Linux - General 6 01-10-2006 06:51 AM
booting new kernel. Booting new kernel dies with INIT: VFS issue, really mus335 Linux - General 0 04-21-2004 11:52 AM
Are you dual booting and Windows stopped working (booting) then here's the answer: rberry88 Linux - General 1 02-12-2004 09:05 AM
Booting in X cstehle Linux - Newbie 2 02-21-2002 01:48 PM
booting ,dual booting kmadhukar Linux - Newbie 1 02-02-2002 09:32 PM


All times are GMT -5. The time now is 06:59 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration