LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-03-2006, 07:52 PM   #1
halfpower
Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 198

Rep: Reputation: 30
I broke Lilo, Still Able to boot from the Rescue Disk


I am no longer able to boot Linux with Lilo. When I boot from Lilo I get some message about having "kernel panic" and some problem with "8:11." I can still boot from the rescue disk by typing the commands "mount root=/dev/sdb1 ro", so I imagine this problem couldn't be too difficult to solve. My /etc/lilo.conf file looks like the following

Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
append="mount root=/dev/sdb1 ro"
boot = /dev/sda
message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
  reset
# Normal VGA console
vga = normal
#
# End LILO global section
# Windows bootable partition config begins
other = /dev/sda1
  label = Windows
  table = /dev/sda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sdb1
  label = Linux
  read-only
# Linux bootable partition config ends
I am using two SATA drives. WinXP is on one and Slackware 10.2 is on the second. I've tries reconfiguring Lilo many times and I'm ready to give up, for today at least. Does anyone know how I properly configure Lilo?
 
Old 07-04-2006, 09:07 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Why don't you install LiLO in the MBR of /dev/sda. In that case your /etc/lilo.conf should look something like this:
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/sda
message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
# Normal VGA console
vga = normal
#
# End LILO global section
# Windows bootable partition config begins
other = /dev/sda1
  label = Windows
  table = /dev/sda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sdb1
  label = Linux
  read-only
# Linux bootable partition config ends
After changing /etc/lilo.conf, issue as root "lilo -bvt /dev/sda" (b=specifies the Master Boot Record; v=increase verbosity; t=test)
If you get no errors there, then remove the t and issue as root "lilo -bvt /dev/sda" which will then install LiLO in the MBR of /dev/sda.

You will be booting Slackware from it's root partition, /dev/sdb1 and Windows from it's /dev/sda1 partition. I run 2 SATA drives in this box.

To boot with the CD at the boot prompt issue "sata.i root=/dev/sdb1 noinitrd ro"
 
  


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
Windows Boot rescue disk from Linux?? THX1138 Linux - General 2 05-05-2004 04:22 AM
SuSE 9-- trying to make boot floppy and rescue disk hindenbergbaby Linux - Newbie 1 12-29-2003 09:14 PM
Universal Rescue Disk/pcmcia boot dot_txt Linux - General 2 11-02-2003 06:59 AM
Boot disk, rescue disk deepika Linux - General 3 07-08-2003 01:17 PM
Boot/Rescue disk nero64 Linux - Newbie 3 12-12-2002 03:33 AM


All times are GMT -5. The time now is 11:53 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