Results 1 to 5 of 5

Thread: lilo and windows killing said of

  1. #1

    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.

  2. #2
    Junior Member registered user
    Join Date
    Nov 2004
    Posts
    18
    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

  3. #3
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555
    Quote 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).

  4. #4
    Junior Member registered user
    Join Date
    Nov 2004
    Posts
    18
    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

  5. #5
    Junior Member
    Join Date
    Feb 2004
    Location
    Toulouse - France
    Posts
    4

    Re: lilo and windows killing said of

    Quote 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

  1. Installed Windows and LILO was erased
    By emmbec in forum MS Windows & New to Linux
    Replies: 2
    Last Post: 11-09-2004, 11:16 PM
  2. Prevent KDE to restart after killing X ?
    By TOM in forum General Support
    Replies: 2
    Last Post: 06-07-2003, 03:09 AM
  3. LILO does not show Windows option
    By danielgarcia in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 04-09-2003, 08:11 AM
  4. Killing Gnome?
    By VeeDubb in forum General Support
    Replies: 1
    Last Post: 03-20-2003, 10:06 PM
  5. LILO can't detect windows partition
    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
  •  


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

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... picture

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

$162.04



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

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

$37.99



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

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 picture

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 picture

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  picture

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

$39.99



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

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 picture

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

$17.99



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

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

$53.99