-
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...
-
Senior Member
registered user
Re: Reinstalling lilo bootloader
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.
-
Senior Member
registered user
Perhaps this post will help you get LiLo reinstalled.
-
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
-
Senior Member
registered user
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
-
By stugogo in forum MS Windows & New to Linux
Replies: 1
Last Post: 10-28-2004, 01:16 AM
-
By wex in forum General Support
Replies: 7
Last Post: 04-13-2004, 02:20 AM
-
By tweety77 in forum General Support
Replies: 3
Last Post: 02-04-2004, 09:43 PM
-
By Tortoise in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 05-29-2003, 12:38 AM
-
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
-
Forum Rules
AUDIO CODES MP-114 VOIP Gateway Open Box
$37.49
IXIA XR100 VOIP PROBE
$199.99
Cisco CP-8832-K9 Unified 8800 Series Conference VOIP IP Phone 1 Year Warranty
$140.00
Cisco CP-8821-K9 8821 Wireless VOIP IP Phone 1 Year Waranty
$265.00
Cisco CP-7945G VOIP Phone With Stand & Handset Business IP Phone 7945
$3.00
New Cisco 7945G IP VoIP Gigabit GIGE Telephone Phone CP-7945G -
$24.95
Yealink SIP-T41P PoE Ultra Elegant VoIP Phone
$29.95
Cisco CP-8861-K9 5-Line VoIP Business Phone w/ Stand & Handset
$24.98
Grandstream GS-HT802 2 Port Analog Telephone Adapter VoIP Phone & Device, Black
$32.00
Cisco 8841 CP-8841-K9 VoIP Business IP Phone (Charcoal)
$49.00