LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-23-2003, 08:02 AM   #1
ceeawc
LQ Newbie
 
Registered: Apr 2003
Posts: 2

Rep: Reputation: 0
problems booting


Hi there,

I've been trying to customize my lilo.conf file (to load different network configs for work/ home), and unfortunately I'm now unable to boot!
(stupid me!)

I'm running RH8.0.

I think the reason my lilo.conf is stuffed is that i commented out the line with

append="root=LABEL=/"

The error messages, when I boot, include:

EXT3-fs: unable to read superblock
mount: error 22 mounting ext3
pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2
umount /initrd/proc failed: 2
Freeing unused kernel memory: 212k freed
Kernel panic: No init found. Try passing init= option to the kernel

I tried passing parameters into lilo (text mode), such as init= ... and append=..., but no luck!

Any ideas what is wrong?
Any ideas how I should proceed?
Is there anything else I can try before trying to use recovery discs?

thanks for any help :-)

Andy Cooke
 
Old 04-23-2003, 08:06 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
pass the boot=LABEL=/ option not append. append will mean that the contents of it will be tagged on to the end of the line, so to add it yourself, just tag it directly on.

not sure why that's being done as an append though... root= is a variable in it's own right.... append= is normally for mnore petty options like scsi emulation for cdrs.

not really too clear on how changing lilo will help you load a network differently though...
 
Old 04-23-2003, 08:22 AM   #3
ceeawc
LQ Newbie
 
Registered: Apr 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Hi Chris,

thanks *very* much - your suggestion worked, so the panic's over for me and my kernel!

As for customising lilo.conf for different network configs - I've been following:

http://www.nacs.uci.edu/~iglesias/multiboot-linux.html

I think the idea is that when booting, an environment variable is set according to which lilo configuration you pick, and then your scripts can then make use of this variable, e.g. to choose which network script to run,

not sure if I'm brave enough to mess around more, though!

cheers,

Andy
 
  


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 Problems kuba Linux - Newbie 10 08-16-2004 06:10 AM
OK, Booting problems rogan999 Linux - Newbie 1 01-10-2004 04:08 PM
problems booting up hobylinux Linux - Newbie 5 09-05-2003 12:17 PM
booting problems linux_guy2003 Linux - Newbie 1 06-21-2003 01:35 PM
Problems booting Daniel(0_0) Linux - Newbie 1 01-24-2002 11:14 PM


All times are GMT -5. The time now is 10:09 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration