PDA

View Full Version : Dual-Booting Q's



Jameson
11-21-2004, 02:55 AM
Okey now that I've put my laptop through the ringer theres a few thigns I've still got problems with

I'm lost as to how to Dual-Boot the two (XP and Knoppix 3.7). When I installed Knoppix I used QTParted to make a 1.5 Gig Swap and the rest of the HD was ex 2 or 3 then did sudo knoppix-installer. XP I just booted from the CD and went through the steps etc. So I can install both to the HD with ease provided that they get the whole HD to themselves. How do I put the 2 togather? More specificaly which one should I put on first and when I install the second how do I let the MBR (preferrably Lilo) know that their both on there?

Its alot to ask so any responces are most appreciated! :D Thanks

-Jameson

EDIT: The only reason I need an XP partition is for software that just hasn't been ported to Linux and for other people that occasionaly use my notebook.

rrfish72
11-21-2004, 04:28 AM
Install windows first then install knoppix so the linux bootloader can take over after you install knoppix-only if it is written to the mbr. The knoppix bootloader should automatically detect the windows partition so you only need to tweak it to the way you like after you do your installs. Your swap only needs to be about 500MB - 1.5GB is not needed. Use the extra space for your other partitions. I use ext3 filesystem all the time for linux.

OErjan
11-21-2004, 10:30 AM
actually you can install the bootloader to floppy and use Windows ntldr to boot linux.
here is two postings where we discused it.
http://www.knoppix.net/forum/viewtopic.php?t=4174
http://www.knoppix.net/forum/viewtopic.php?t=14608

Jameson
11-21-2004, 09:47 PM
Thanks for the replies!

Alright heres how I have my HD chopped up (40 Gigs).

Using QT Parted on the Live version

First 10gigs - WinXP
Then 800 Meg for swap
Then 29 gigs of ex3

So when I go to install Knoppix I should put Lilo on the MBR and it will auto-decet the WinXP parition?

The reason I had 1.5Gig of swap is becuase on another comp I have knoppix on it had very little RAM and I had heard that a bigger swap can help.


actually you can install the bootloader to floppy and use Windows ntldr to boot linux.
here is two postings where we discused it.
http://www.knoppix.net/forum/viewtopic.php?t=4174
http://www.knoppix.net/forum/viewtopic.php?t=14608

Sadly my notebook doesn't have a floppy so I don't think that will be possible. Thanks though. :D

rrfish72
11-21-2004, 10:21 PM
That should work out for you. It will detect windows partition for you. It usually only gives you 5 seconds to choose unless you hit any key to stop the timer, then you can choose what OS to boot into.

Jameson
11-21-2004, 11:13 PM
Alrighty, Im gonna give it a shot now.

Thanks again and I'll post if it works out.

-Jameson

OErjan
11-22-2004, 06:03 PM
if you have no floppy there are ways around that aswell.
the most straightforward i guess is installing lilo to the / (root) partition instead.
then do
dd if=/dev/hdXY of=/root/linux.ipl bs=512 count=1 Where XY is driveletter and partition number of /.
the resulting file you then can put on any "linux writable media" basically any not NTFS media: floppy, usbpen, fat32 hddpartition, cd, the SDcard of your digital camera...
then you just move it to C:\ in windows and edit boot.ini
as described by me here
http://www.knoppix.net/forum/viewtopic.php?t=14608
you could even mail the file to yourself.