LinuxQuestions.org
Visit Jeremy's Blog.
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
 
LinkBack Search this Thread
Old 10-18-2004, 10:43 AM   #1
dtashima
LQ Newbie
 
Registered: Oct 2004
Distribution: Redhat
Posts: 9

Rep: Reputation: 0
Upgraded kernel, lilo.conf, didn't run /sbin/lilo


Ok, this is quite possibly the dumbest thing I've ever done:

1) upgraded the kernel
2) modified lilo.conf to point to the new one
3) didn't run /sbin/lilo (it was really late, I swear)
4, the kicker) *** didn't make a boot disk ***
5) God punishes me for not making a boot disk by causing the power to go off and back on again

When it boots, there is a "ctrl-x for text mode" message, which leads to a "boot: " prompt.

Question:

1) Could I have been any dumber?
2) Is there any way to run /sbin/lilo from this state? Can I do it from single user mode?
3) If 2 is no, is there any way to generate a boot disk, ahem, from windows?

Thanks,
Dave
 
Old 10-18-2004, 10:46 AM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
1) Probably
2) Yes. I don't know what single user mode is about but I think I read that you could get into linux that way and that's what you want.
3) Which distro are you running. Some distro CDs, for example debian's, has a rescue option on it. Then you can login to the command line run lilo and reboot.
 
Old 10-18-2004, 10:53 AM   #3
dtashima
LQ Newbie
 
Registered: Oct 2004
Distribution: Redhat
Posts: 9

Original Poster
Rep: Reputation: 0
Sorry, it is Redhat 7.0-7.3.

Oh, and to make matters worse, this machine doesn't actually have a CD-ROM drive. (don't ask)

And of course I used "rpm -Uvh" not "-ivh" b/c there was a cyclical dependency chain that prevented "ivh" from working (new kernel --> some stuff --> XFree86 --> kernel-drm), so the old kernel doesn't exist any more.

Thanks,
Dave
 
Old 10-18-2004, 11:04 AM   #4
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Have you tried single user mode already then?
 
Old 10-18-2004, 11:21 AM   #5
dtashima
LQ Newbie
 
Registered: Oct 2004
Distribution: Redhat
Posts: 9

Original Poster
Rep: Reputation: 0
Not yet.

The box is actually across the country, and I have to wait for its keeper to return home from work.

However, I decided that I have been doing enough jumping the gun and wanted to get my facts straight before proceeding.

Dave
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
run /sbin/lilo after update IF you use LILO (don't know) jdblick Suse/Novell 3 12-28-2004 03:06 PM
Forgot to run /sbin/lilo justin_p Slackware 3 08-26-2004 06:53 AM
zip drive accessed when I run /sbin/lilo major.tom Slackware 1 06-16-2004 07:40 PM
No new kernel-option in LILO after editing lilo.conf corwax Debian 3 08-26-2003 08:55 PM
new kernel causes lilo crash; /sbin/lilo = Warning: device 0x0305 exceeds 1024 cylind dandysf Linux - Software 0 08-26-2003 04:50 PM


All times are GMT -5. The time now is 11:37 PM.

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