New Posts  All Forums:Forum Nav:

Lilo question

post #1 of 4
Thread Starter 
Hi All-

I am fairly new to the Linux thing, so go easy on me, ok?

I am running a dual boot between Windows XP and Debian on my 5680. Things were going along great until I did an apt-get one day, followed by a reboot of my system. Instead of Lilo popping up as I was used to, I had a screen filled with a bunch of "L's." Very odd. Anyway, I am still using XP as my comfort blanket, so I went ahead and used the XP CD to repair the MBR. This, of course, allowed me to get back into Windows XP and do whatever needed doing for the time being. My problem is that now I cannot for the life of me get Lilo to function properly again. I have booted into Linux using the Knoppix boot CD and run the "lilo" and "lilo -M" commands. It tells me that it has re-written the MBR and that it has added "Debian" and "WindowsXP" to the boot options. But when I reboot, it just goes straight to XP like it had been before.

So, any ideas? Your help is greatly appreciated, as always!
post #2 of 4
hi DaJoshGuy1!

i haven't fooled much with LILO myself, also i don't use Debian (right now i use redhat).
warning: messing with lilo can mess you up.

did you take a look at /etc/lilo.conf ?

that is where the cheese is at. what does the file say?

if you are using knoppix, then i think you'll have to mount the partition to the file system first (since knoppix runs in ram only??). i am not sure how the directories are set up. maybe it goes something like

su root

mkdir /mnt/debian

mount -t ext2 /dev/hda2 /mnt/debian // assuming hda2 is where you have debian
// and hda1 is where you have XP. also i assume
// you use ext2 file system

cd /mnt/debian/etc/

// now that you are there
vi lilo.conf // take a look. ESC :q! to exit

cd ../sbin/

./lilo
post #3 of 4
See if you can reinstall LILO to a floppy.
It's small enough to fit.
Then reboot from the floppy so the windows boot won't be able to load.
post #4 of 4

Debian lilo

Dunno if that make sense to you, but here:

Lilo with a graphical boot is a security risk to your computer as someone in the room culd load a floppy OS or even do nasty things. Debian in this vision is altering the /etc/lilo.conf file in this regard. When ya apt-get you must have upgraded lilo hence the reverting to the original debian configuration default file ( you are prompted by debian to commit such changes apart if you told it n ot too at install). So to sort it out nothing more than editing /etc/lilo.conf and making sure that the lines boot=prompt is present and uncommented.

Should i mentionned that while wanting to use debian to impress friends, if you are a newbie to linux i will not recomment it, apart if ya want to do it the hardcore way, which is kind of pointless cause while you are dual booting, you will be all the time in M$ and not learning much on Linux, debian being particulary efficient at newbie repelling. So linux will grow as this obscure thing that takes place on your hard drive but isn;t really being used.
My tip: Get debian only, put your head down, read lots of books, mailing list, forums etc etc ( hardcore ) and don;t boot M$ until ya efficient in Debian OR dual boot a SuSE or mandrake user friendly distribution while dual booting. There is no shame in running such distros and they are definately the best for a migrating user. Worth my 2 cents heh....
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux & Other OS's