LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-07-2007, 02:29 AM   #1
Donniey
LQ Newbie
 
Registered: May 2005
Posts: 12

Rep: Reputation: 0
Messed up lilo.conf


Due to a series of mistakes, and not making the foresight of backing up lilo.conf before trying to edit it in KDE's boot manager, right now it can only boot into windows (i assume from the boot manager; i figure if i restart and i'm right, i'm kinda boned). This is my lilo.conf file as of right now

Quote:
boot="/dev/sda"
prompt
timeout="100"
root=/dev/sda2
vga="791"

other=/dev/sda1
label="Windows"

image="/dev/sda1"
root="/dev/sda2"
sda1 is obviously my windows xp partition, sda2 is Slackware 12. I've been trying to figure out how i need edit lilo.conf to get it to let both bootable, but all i've found out is i need to include which kernal i want to boot up with slackware (i used the default one, but i forgot which one that is). If anyone can help me with what i need to add/change to get it working, it'd be alot of help. If there's any more information you need, i'll see if i can figure it out. (If i'm missing something blatantly obvious, sorry, i'm not used to messing with lilo, and I'm still learning about linux in general)
 
Old 07-07-2007, 03:09 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Most folk resort to a live distro around now.

You can check the partitions with fdisk -l
You can check the kernel by looking in /boot ... all those numbers on the filenames are a bit of a hint.

You can look up example lilo.conf files online or in the lilo man page.

Let me know where you hit trouble.
 
Old 07-07-2007, 03:19 AM   #3
Road_map
Member
 
Registered: Jan 2007
Distribution: Slackware
Posts: 341

Rep: Reputation: 31
Boot from your Slackware 12.0 install DVD (CD 1) and type at boot prompt:
Code:
hugesmp.s root=/dev/sda2 rdinit= ro
After booting, you can login as root and run
Code:
liloconfig
choose "expert" mode and read carefully all screen's informations.
 
  


Reply



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
Is lilo.conf file format is same for grub.conf? Chundo Linux - Newbie 1 01-30-2006 06:21 PM
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 01:15 PM
lilo.conf and lilo.conf.anaconda difference blackzone Linux - General 1 07-06-2004 03:15 AM
create lilo.conf or grub.conf through commands newpenguin Linux - Software 1 11-28-2003 08:22 PM
I Messed Up My LiLo.Conf DOS Partition Entry...Help? fortezza Linux - General 5 05-11-2003 05:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:45 PM.

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
Open Source Consulting | Domain Registration