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.
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!
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.
how do i edit the lines? and what do i need to put in?
sorry for the stupid questions....
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):
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).Code:## A Windows installation, example for partition 1 on first IDE harddisk #other=/dev/hda1 # label=Windows
This example assumes that windows is on the first HD and partition modify if yours differs.
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.
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)

Crucial MX500 500GB 2.5" SATA III Internal SSD CT500MX500SSD1
$52.99
SSD 880EVO SATA III 2.5 4TB INTERNAL STATE DRIVE
$214.99
Samsung 860 EVO 250GB, SATA III, 2.5" Internal Solid State Drive - Black...
$30.00
128TB External SSD Solid State Drive Hard Drive Disk PC Phones Mac Games Videos
$123.90
Western Digital WD Blue 3D NAND 500GB 2.5in SATA III Internal SSD WDS500G2B0A
$34.99
2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON
$28.80
M.2 SATA SSD 2280 128GB 256GB 512GB major brands | Very Good health
$35.99
Samsung 860 EVO 500GB 2.5" SATA III SSD MZ-76E500 MZ7LH500HALU
$50.00
Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive
$39.99
Kingston 128GB M.2 SATA III SSD
$13.00