Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LOL, now I have a nother problem....Linux won't even boot

Status
Not open for further replies.

Snipor

Programmer
Feb 23, 2001
92
US
I added a line: append="apm=off" to the end of my lilo.conf file. And then typed: lilo -v. I got this line from a Red Hat help file. This is suppposed to turn off apm at boot up. Now, it might just be bad luck, but when I rebooted and ran startx to load Gnome. Gnome took forever to load, then is said something about not running a compatible window manger. I rebooted, same thing. Then I rebooted again, and this time is saids something about error in /root/root.b enter password for maintance. So I enter my root password and a prompt appears saying something about Maintance Filesystem 1: I can view my lilo file, but not edit it. My partitions look correct. Any ideas. I know the easy answer is to reload Linux.......but then I wouldn't learn anything, now would I? ;)
 
oh, my, this looks crazy.
U can edit your lilo.conf, after remounting into rw mode
mount -o rw,remount /dev/hda1 /
(writting just so, correct it yourself)
 
Hi,

In case you put in in the wrong place, the append statements are either put at the top as global statements or within individual image blocks something like this :

image = /boot/vmlinuz-2.4.9
        label = linux
        root = /dev/hda1
        read-only
        append = "apm=off"

(/dev/hda1 is example only - use your root partition )

Also, when you're in maintenance mode you have to know the path to commands so you probably need to explicity do '/sbin/lilo -v'.

Rgds
 
Okay, does it have to be indented like that? Because the way i have it is:

image = /boot/vmlinuz-2.4.9
label = linux
root = /dev/hda1
read-only

append = "apm=off"
 
Hi,

Not sure about the indentation. Perhaps you should test first by manually passing parms to linux at boot time rather than via lilo. You can amend lilo when you've got something that works. The way you do this is bypass any graphical lilo screen to get the 'boot:' prompt at the bottom of the screen then type the append parameters .. For example :

boot: linux apm=real-mode-poweroff
or
boot: linux apm=off

etc.

Then press enter to boot

Rgds
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top