I finally got my harddrive setup working and I wanted to share how to do it. Because a lot of other howto's on this forum are straight jacked from other distributions (and they didn't work for me), I thought I would write this up real quick. This is V1.0 so hopefully it wont have any bugs, if it does, just reply or PM me.
This tutorial assumes a few things
- You first installed XP
- Now you want to install BT
- You want to save your XP install but want BT too
- You only have one hard drive, but have partitioned it
- Your lazy ass doesn't wanna swap floppies to get boot files onto your C: drive for NTFSloader
Step 1: So first, you have to have XP on your machine
Step 2: Use a disk partitioning tool like Partition Magic (usually free with new hard drives) to cut up a partition for BT. Make it EXT2 so that you can actually boot to it and write to it from Linux.
Step 3: Load the BT CD and install to hard drive. MAKE SURE TO INSTALL TO YOUR PARTITION FOR BT! DONT OVERWRITE YOUR XP PARTITION! As for where to write LILO, just let it write to /dev/hda1 or your master drive.
Step 4: Once you have written BT to your hard drive, you pretty much cannot access your XP partition anymore. But fret not! We will soon have it back. Just go back into your newly installed BT, get to a command prompt and type this in:
This is going to lead you through installing your windows info onto your boot loader. Just choose the simple session, then click enter, then install to your master boot record. It will give you an error, but thats cool. You will now be kicked backed to consoleCode:$: liloconfig
Now type this into console:
This will open up your newly created information that you will boot from. What you did earlier created this file. However, if you leave some permissions to how they are, your shizzle isn't going to boot and you will get tons or 'cannot write to....' errors and stuff is just going to be a nightmare. Therefore, scroll way down to where is says #Linux bootable partition config begins. Change it to this:Code:$: nano /etc/lilo.conf
That last part is very important. Its on the "TRIBOOT" howto, but it doesn't really make a big deal out of it. If you dont make it read-write, your system wont boot correctly. Damn, thats annoying because you have to reinstall.Code:# Linux bootable partition config begins image = /boot/vmlinuz root = current label = back|track read-write # Linux bootable partition config ends
The last thing you have to do is initiate LILO, or whatever. This pretty much sets everything in place for when you next boot. Just type this into your console:
You should get something telling you that you have two choices, Windows* and Back|Track. The star, I believe means its new, or something. You got me *shrug*. However, this should allow you to dual boot to either partition.Code:$lilo
Conclusion: Now this pretty much lays it out for people who JUST WANT BT on their box with XP. The triboot Howto is good but this just lays it out for all those folks (like me) that just need 2 confusing OSs on their computer.