Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I have a Mandriva One 2010.2 Live CD which I used to install Mandriva onto a hard drive. My boot loader is LILO. The boot sector seems to be ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Apr 2008
    Posts
    128

    Fixing LILO/MBR with Mandriva CD


    Hi,

    I have a Mandriva One 2010.2 Live CD which I used to install Mandriva onto a hard drive. My boot loader is LILO.

    The boot sector seems to be corrupted as I tried to run LILO to repair another drive. I must have somehow overwritten my boot sector in the process, and now it doesn't boot up.

    How can I fix my MBR and get my LILO back up and running? I still have the Live CD

    Thanks.

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    Boot your live CD and then mount the /etc directory.
    Run the lilo command again with the path to your HD's /etc/lilo.conf.
    You might be able to do this same thing on your other system to fix it.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Linux Newbie
    Join Date
    Apr 2008
    Posts
    128
    Somehow lilo.conf got erased too. I copied lilo.conf from another Mandriva 2010.0 installation, changed the UUIDs and ran LILO again, and it worked...

    Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •