Results 1 to 5 of 5

Thread: Reinstalling lilo bootloader

Hybrid View

  1. #1
    Junior Member
    Join Date
    Oct 2003
    Posts
    2

    Reinstalling lilo bootloader

    I've been using Knoppix besides other OS (Windows) on my laptop and used the lilo bootloader.
    Now I installed a third OS (XP) on my machine and now the Windows Bootloader is started and is not showing Knoppix.
    For this kind of problems I created a linux boot disk but for some reason the floppy is corrupted. ;-(
    How can I reinstall the lilo bootloader in the MBR?
    I've all the info about the lilo.conf available.

    Summary of lilo.conf
    ....
    root=dev/hda6
    ....
    default=W2KPROF

    image=boot/vmlinux-2.4.20-xfs
    label=Linux
    initrd=/boot/initrd.gz
    read-only
    .....
    other=/dev/hda1
    label="W2KPROF"

    Summary of question:
    How can I reinstall the lilo bootloader, so I can boot all my OS's (W2K, WXP and Linux).

    All help is more than welcome...

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555

    Re: Reinstalling lilo bootloader

    Quote Originally Posted by sstrange
    How can I reinstall the lilo bootloader, so I can boot all my OS's (W2K, WXP and Linux).
    I think that when you want to boot several windows versions it's best to use
    the MS boot loader, but add linux entries to it. In your case I would:
    • boot off the knoppix CD in console mode ("knoppix 2")
      cd /tmp
      dd if=/dev/hda6 of=hda6.bs count=1
      insert a formatted floppy
      mcopy hda6.bs a:
      reboot under windows
      copy the hda6.bs file from the floppy to your c:\
      edit the (hidden, system) c:\boot.ini file
      in the [operating systems] section, add the following line:
      c:\hda6.bs="Knoppix"

    I am using a floppy because I am assuming your C: unit is NTFS and you
    cannot directly write to it from knoppix/linux.

  3. #3
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    Perhaps this post will help you get LiLo reinstalled.

  4. #4
    Junior Member
    Join Date
    Oct 2003
    Posts
    2
    Adding the Knoppix to the NT bootloader failed. I only got a blinking cursor when I tried to start Knoppix from NT bootloader menu.
    I found that it something to do with logical partitions, but didnot investigated it. So I could be wrong. But I found that the copied hda6.bs file was empty??

    Then I reinstalled lilo with the Knoppix CD as suggested in second posting.
    The only I did first was run lilo with the -t -v options

    Everything is booting again. Thanx alot

    Stefan

  5. #5
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555
    Quote Originally Posted by sstrange
    But I found that the copied hda6.bs file was empty??
    Then something went wrong. It should be 512 bytes long: it's a boot sector.

Similar Threads

  1. Reinstalling windows
    By stugogo in forum MS Windows & New to Linux
    Replies: 1
    Last Post: 10-28-2004, 01:16 AM
  2. lilo bootloader won't take new kernel
    By wex in forum General Support
    Replies: 7
    Last Post: 04-13-2004, 02:20 AM
  3. Windows installation killed Lilo BootLoader
    By tweety77 in forum General Support
    Replies: 3
    Last Post: 02-04-2004, 09:43 PM
  4. Reinstalling Knoppix, must save MBR!
    By Tortoise in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 05-29-2003, 12:38 AM
  5. Problem Reinstalling Mozilla
    By burke3gd in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 05-20-2003, 03:32 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
  •  


Acer Aspire 14

Acer Aspire 14" AI Copilot+PC Laptop Core Ultra 5 226V Gen 4 ARC 16GB 1TB Refurb

$480.63



Apple Macbook Pro 16

Apple Macbook Pro 16" i9-9880h 64GB 1TB - Good

$489.99



External SSD 1TB 2TB  Portable Hard Drive USB 3.1 Type-C High Speed PC Mac picture

External SSD 1TB 2TB Portable Hard Drive USB 3.1 Type-C High Speed PC Mac

$16.99



SGIN 15.6

SGIN 15.6" Laptop 16GB RAM 1TB SSD Win 11 Intel i3-10100Y Backlit Keyboard FHD

$335.99



Acer Predator Helios Neo 16S AI 16

Acer Predator Helios Neo 16S AI 16" i9 275HX 2S RTX 5070 Ti 32GB 1TB SSD Refurb

$1794.16



Apple iPad Pro 12.9

Apple iPad Pro 12.9" 5th Gen 128GB 256GB 1TB 2TB Wi-Fi Or Cellular - Good

$489.99



Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD picture

Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD

$129.99



1TB Kingston DataTraveler Max DTMAX/1TB USB Type-C Flash Drive picture

1TB Kingston DataTraveler Max DTMAX/1TB USB Type-C Flash Drive

$86.95



NEW 2026 SGIN 18.5

NEW 2026 SGIN 18.5" Laptop Windows 11 PRO Intel N5095 16GB DDR4 1024GB SSD

$444.99



Dell Latitude 14

Dell Latitude 14" Laptop Computer Intel i7 Up To 32GB RAM 1TB SSD Windows 11 Pro

$569.98