PDA

View Full Version : Dualbooting WinXP and knoppix?



JMichael
04-11-2003, 04:20 PM
is this possible? iv searched all over and can find any info on how to do this. ifs its possible.. how would i do it?

my guess would be install XP. boot up knoppix. run the install from the command line and knoppix would setup the dual boot itsself?

thanks for any help!

Stephen
04-11-2003, 05:27 PM
It's possible, install XP first otherwise it will overwrite lilo. You will have to modify two or three lines in /etc/lilo.conf and run /sbin/lilo, after the install and re-boot.

JMichael
04-11-2003, 05:30 PM
how do i edit the lines? and what do i need to put in?

sorry for the stupid questions....

Stephen
04-11-2003, 05:47 PM
You can edit the file by opening a console and su then enter, type your password and you are now root either use vi or emacs to edit the file. You will not have to add anything just remove the # from the section that says (leave the # in front of the example part):

## A Windows installation, example for partition 1 on first IDE harddisk
#other=/dev/hda1
# label=Windows

Save the file then /sbin/lilo commits the file to disk and when you re-boot you have the option for Windows (you can modify the label to Windows XP).
This example assumes that windows is on the first HD and partition modify if yours differs.

zzyzx
04-11-2003, 06:19 PM
Your XP may take up the entire disk. Not sure, but you may need a tool such as ntfsresize or nparted (fat32) to resized the windows partition so there is space for the knoppix partition. I am just guessing, that when you install xp, it will take up the entire disk. You can't resize with cfdisk.

If you have 2 hard disks, you might be able to copy XP to the other harddrive that has NTFS and ext3 partitions. For example,
cp -xRp / /mnt/hdb1 . Just a guess never done it.

VeeDubb
04-11-2003, 07:19 PM
I just did this, and I found that this is the easiest way. Maybe not the best, but definately the easiest.

1. install XP, let it take the whole drive, be sure you use fat32 and NOT ntfs if you want write access to your windows partition.

2. Install partition magic, a litle spendy, but worth the money.

3. Go find a boot laoder called GAG and install it to a floppy following the directions and save it for later.

4. resize the winpartition to what you want.

5. Create a linux ext2 and a linux swap, partition magic can do this for you as well. In fact, it can even do it at the same time as resizeing thewinpartion.

6. Install knoppix to the hard drive using the hd-install script and partitions you prepared with partition magic.

7. Reboot with the GAG floppy in the drive and use it to configure you boot sector. Be sure you select "H" to write the boot laoder to the hard-drive.

**Note. There are many other ways to do the partitioning, I just find that partition magic is easy. Also, you could install knoppix first, and whenyou partition, leave a space for windows. It will give you an option to "use all unpartitioned space" when you install. Then use that GAG floppy to make a new boot sector. GAG is painfully easy. NBNFI (No Brain Needed For Instalation)