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

Notices


Reply
  Search this Thread
Old 10-28-2003, 02:10 PM   #1
mmeaders
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
KDE and LILO


I'm very new to Debian. I've experienced this issue twice but I don't see any threads about it. I typically use window maker but I wanted to install KDE for the apps. I'm using synaptic to install kde. All is well until I reboot. When the machine starts, LILO hangs at "LI". I've tried booting to knoppix, mounting the system partition, and then using lilo from the command line to re-write the mbr but I get a read only error. Does anyone know what might be happening here and how I can fix this issue? Thanks
 
Old 10-28-2003, 07:56 PM   #2
_DecodeX_
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Rep: Reputation: 0
Edit the file /etc/lilo.conf in the line install="Something" Change "Something" for "boot.b", that should work...
 
Old 10-30-2003, 01:32 AM   #3
pe2338
Member
 
Registered: Dec 2002
Location: Bucharest,RO
Distribution: debian etch, sarge and sid
Posts: 407

Rep: Reputation: 30
and post an "ok, it worked" or an "oh, no I still have the problem" so if you succeed sbdy else will be happy
 
Old 10-31-2003, 10:51 AM   #4
mmeaders
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Update

Thanks for the reply _DecodeX_. I had to tell lilo to use a the lilo.conf on my debian system partition rather than the default /etc/lilo as this was the conf file for the knoppix system I had running. There was also a switch to have the backup boot.b dumped to another location. These allowed lilo to write the mbr, but I still could not boot afterward. I took a look at my boot partition and was shocked to find about 5 different kernels and even an old grub directory from my previous redhat system. I thought I had formatted these partitions when in fact I had not. Doh! So I formatted everything, reinstalled debian and x, and the kde install went fine. I still don't know why the kde install had an effect on the mbr but I'm not really surprised given the mess in my boot partition. I had already done all of this before I saw your reply _DecodeX_. However, I will file this into my notes for next time I have an mbr issue. Thanks again for the reply.
 
Old 10-31-2003, 11:42 AM   #5
LSD
Member
 
Registered: Jan 2003
Location: Northam, W.A., Australia
Distribution: Gentoo ~x86
Posts: 321

Rep: Reputation: 31
If you use the chroot command to "enter" your Debian system (after first mounting *all* the Debian partitions that are necessary such as /usr, /home and possibly mount the proc filesystem using the bind option in your mount command eg: mount -o bind /proc /mnt/debian/proc) before running LILO will force LILO to use the correct conf file (as you'll be running the version of LILO from your Debian install and its lilo.conf will be the only one it can "see") and prevent the error from appearing. I use chroot all the time to work on my various installed Linux distro's without leaving the comfort of my main Gentoo install. I even had to use it to get out of the mess the Debian netinstaller left me in when it failed to set LILO up properly when I used it on my router box. It's a very useful command to get to know.
 
  


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
LILO , booting , and KDE questions xhispage Linux - Newbie 7 10-19-2004 08:30 AM
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 05:00 PM
KDE LILO and Slackware true_atlantis Linux - Newbie 2 04-28-2004 06:06 AM
LiLo Installation problem ?and (GNOME and KDE problem) hitesh_linux Linux - Software 1 01-01-2002 04:56 AM
Made a bootdisk with RedHat 7.1 to boot: Gave me SYSLINUX, not LILO:Want to use LILO Colonel Panic Linux - Software 0 08-17-2001 06:21 PM

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

All times are GMT -5. The time now is 06:16 AM.

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