LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-24-2004, 01:58 PM   #1
akudewan
Member
 
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364

Rep: Reputation: 31
LILO problem. Cant boot in linux


Hi,
Does anyone know any page which has good documentation on LILO??

I installed Slackware today, (Dual booting with WinXP). I installed LILO in the MBR, but forgot to add linux booting in LILO (Quite dumb, I know) So now the LILO menu only shows me only Windoze, and I cant choose to boot in linux. What should I do? Is there any way to reinstall/reconfigure lilo? Is there anyway I can boot into slack? Will a live linux CD such as knoppix help me to edit /etc/lilo.conf??

Anything else I need to mention?
PS: I'm a Newbie.
 
Old 05-24-2004, 02:49 PM   #2
nhs
Member
 
Registered: Aug 2003
Location: Edinburgh, Scotland
Distribution: Gentoo
Posts: 246

Rep: Reputation: 30
The slackware disks probably have a rescue mode which will boot you into Linux. A live cd will also do the job fine. Then edit /etc/lilo.conf to include Linux and rerun lilo.

My Linux section is as follows:
Code:
image=/boot/vmlinuz
        label="linux"
        root=/dev/hda2
        initrd=/boot/initrd.img
        append="devfs=mount acpi=ht"
        read-only
I don't know whether Slackware keeps /boot/vmlinuz in the same place and you will need to change root= to point to the partition with Linux on it however apart from that it should work. If not then post your /etc/lilo.conf file here.
 
Old 05-27-2004, 01:56 AM   #3
akudewan
Member
 
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364

Original Poster
Rep: Reputation: 31
Thanks a lot...I got it booting now
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LILO Boot Problem Jay662 Fedora 1 06-10-2005 04:15 AM
dual boot - XP and Linux - Need to reinstall XP without effecting linux -LILO boot godofmind Linux - General 1 05-05-2004 08:13 AM
lilo boot problem Gneisbaard Linux - Newbie 16 04-20-2004 03:00 AM
Linux boot loader BRUB, LILO) problem. AskMe Linux - Newbie 5 01-06-2004 10:17 AM
Lilo Boot Problem! cirkut5732 Slackware 4 04-09-2003 04:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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