Unsolved

This post is more than 5 years old

1 Message

3651

February 20th, 2005 04:00

Knoppix dual boot on XP

Hey there!

I've downloaded a knoppix livecd and apparently everything ran well on my Dimension 4600. All my hardware was supported, the sound is ok, the video is ok, my ethernet is also ok.

So, I decided to install it to my hd. Used partition magic, and the stuff was like this: hda2 winxp nfts; hda5 ext3 linux; hda6 linux swap; hda7 my documents.

But, after I've configured LILO to detected win on c:\ and restarted the pc, no dual boot. It simply started Win XP.

It never asked my which system I'd like to run. It always run Win XP on its own. :-(

What should I do? Is there anything in BIOS setup? Is there any way to boot linux at lilo WITHOUT a floppy drive (since I don't have it) :-( ?

Thanks in advance.

Dan.

740 Posts

March 6th, 2005 21:00

You can use the knoppix cd to edit /etc/lilo.conf on hda5.
It should look something like this.

boot=/dev/hda2
map=/boot/map
install=/boot/boot.b
compact
prompt
timeout=50
image=/boot/vmlinuz-2.0.36
label=linux
root=/dev/hda5
read-only
other=/dev/hda2
label=Windows XP
boot=/dev/hda2:

Note: For the line image=/boot/vmlinuz-2.0.36 you will need to replace 2.0.36 with the kernel you have installed (example: I have 2.6.10-1-686 on my debian install). You can find this information by typing uname -a in a root shell.

At the boot prompt on the cd type "knoppix root=/dev/hda5 noinitrd ro" without the quotations. Edit /etc/lilo.conf with your favorite editor and save changes. Open a root shell from the knoppix menu, type lilo and hit enter. Make sure you backup all needed files before trying this.
No Events found!

Top