-
lilo and windows killing said of
Simply put, every once in a while you have to reinstall windows for one of many reasons. Including upgrades to a new version.
In the Live CD it should have a simple mount&search option that will reconfigure/reinstall Lilo back to the mbr. This is especially important since most ppl now going to Knoppix are basically linux newbies, like myself. It took me forever to look up help and howto's and everything else in the world just to decide that it was simpler to kill the linux partition and reformat&reinstall linux. JUST TO GET LILO WORKING AGAIN.
And NO, bootfloppies isn't the answer. It should be a search for knoppix installation, a question to confirm that its the right one, and then a reinstall/reconfigure of lilo, from the LiveCD. Trying to mount my hda2 was impossible from the LiveCD, and I am sure there IS a simple way to mount my hda2, and then lilo -v it to reconfigure/reinstall it, but if it is easy to do, its NOT easy to find. Like I said, just a simple click for it. I mean think of it, windows is common, dualboots are common, and windows screws up all the time, never mind dealing with the fact that we upgrade it too.
I used to be able to fix my lilo when this would happen by using the install CD (redhat, etc.) but this isn't an easy case with Knoppix. Hell, an entry in the knoppix-installer for just that would be perfect, just add a little note somewhere in the help files, that will tell the person looking for this, that its there.
Thanks.
PS reason a bootfloppie isn't an option is that some systems now do not come with floppy drives.
-
Junior Member
registered user
Well I'm new to Linux and Knoppix, so after trawling these forums for an answer, as I had the same problem as you, I found a post with a little scribble at the bottom, which completely solved the problem!! Don't ask me how it works as I dont completely understand what it does, but it works! It's only 3 commands too!
From the terminal (after booting from knoppix live disk):
su <enter>
mount -o dev /dev/hda2 /mnt/hda2; chroot /mnt/hda1 <enter>
lilo -v <enter>
Viola - Your mbr back and everything!!
I'll post this in one of the help sections just incase there are any newbs like us that cant get a quick fix to when we have to reinstall windoze ever 5mins and it eats the mbr.
Mors
-
Senior Member
registered user

Originally Posted by
mors
mount -o dev /dev/hda2 /mnt/hda2; chroot /mnt/hda1
Yup; didn't know about the "-o dev" myself until yesterday; probably something new since the move to the 2.6.x kernel - or a newer, moodier, version of lilo. Anyway, not to nitpick but i thought i'd mention that it should be hda2 everywhere in the instructions above (well actually hdaN, with N corresponding to the disk slice you allocated to your Knoppix root filesystem).
-
Junior Member
registered user
Yup, sorry my typo!! I'd taken it from a thing I'd written for myself to remind me and slighty bodged the translation! Thanks for pointing it out 
Mors
-
Re: lilo and windows killing said of

Originally Posted by
whoCaresWatIamCalled
In the Live CD it should have a simple mount&search option that will reconfigure/reinstall Lilo back to the mbr.
There is such a script here (lilo_revival) :
http://christophe.delord.free.fr/en/linux/index.html
It searches /etc/lilo.conf in every partitions and let the user choose one of them before running lilo. This script will be integrated into a french Knoppix (Kaella). It can also be integrated into any other Knoppix. I use it for my own master.
Best regards,
Christophe.
Similar Threads
-
By emmbec in forum MS Windows & New to Linux
Replies: 2
Last Post: 11-09-2004, 11:16 PM
-
By TOM in forum General Support
Replies: 2
Last Post: 06-07-2003, 03:09 AM
-
By danielgarcia in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 04-09-2003, 08:11 AM
-
By VeeDubb in forum General Support
Replies: 1
Last Post: 03-20-2003, 10:06 PM
-
By endri in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 03-03-2003, 05:30 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kit NEW
$13.89

LEVOIT Cordless Vacuum Cleaner, Stick Vac with Tangle-Resistant Design, Up to...
$162.04

2-in-1 Compressed Air Duster & Vacuum, Brushless Motor, 320000RPM
$37.99

Cordless Air Duster & Vacuum Cleaner for Keyboard & PC Cleaning - 110000RPM Powe
$53.99

US Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kits
$13.89

2 in 1 Compressed Air Duster Air Blower & Vacuum Cleaner Cordless Duster Blower
$16.99

Multifunctional Handheld Vacuum Cleaner & Blower for Keyboard/PC US SELLER
$39.99

Cordless Vacuum Cleaner for 20V Battery, 7-in-1 Lightweight Stick Vacu...
$149.15

Electric Air Duster Blower High Power Cordless Cleaner for PC Laptop Keyboard
$17.99

Mini Computer Vacuum Cleaner & Compressed Air Duster 14500Pa, 110000RPM, Cordles
$53.99