PDA

View Full Version : laptop hd-install with dualboot



ping
02-04-2004, 03:12 PM
I'll bet there's an answer already waiting to be found on this forum, but I'm still having problems to figure these matters out :?

As you can assume I only have one hd which is partitioned into hda1 and hda5. I have winXP on hda1 and only media files on hda5 and both partitions are NTFS. Now I would like to have knoppix installed on the free space(7gb) of my hda5. Is that possible and how? I would also like to share files between os:s.

My main problem is the partitioning the hda5. I assume that lilo shouldn't be saved in mbr but instead in root partition? I think i'll be a lot wiser if I could get some details about the partitioning and anyway I'm grateful for any kind of help.

baldyeti
02-04-2004, 04:23 PM
If I understood you correctly, those 7Gb are not unallocated, but free space within an existing NTFS unit, right? Then you first need to shrink that unit. QTParted (from the live-cd) should be able to do that, although I have to say I have never done this myself but I remember reading it could resize NTFS partitions. I'd suggest freeing about 5Gb, out of which you could make hda6 a swap partition of about 256 Mb, and hda7 with over 4.5 Gb for installing Knoppix.

Durand Hicks
02-04-2004, 07:38 PM
I just finished this sort of thing successfully (I'm a noobie.) First, you'll need to resize the hda5 partition using qtparted, and for me it was easy as using partitionmagic. Second, like baldy said, you'll need to make 2 partitions, a swap and a ext2/3 partition for linux. Next, do a full install of knoppix using knoppix-installer from the root shell. Configure it to load lilo in hda6 (the linux partition) and any other options you like, then save the config. Quit the installer and run kedit <name of installer file>. Make your desired changes and save it. Run knoppix-installer again and then load the config file and then start installing. When done, you'll have linux installed but there are a few hoops you'll have to do to insert the linux bootloader into the NT bootloader. Read the reply to my post about hdbased install problem. The directions given by Simon worked but with a few twist which I mentioned, you'll need to boot the cd and then chroot to the hda6 partition and reconfigure lilo.conf and then run lilo. Then follow the directions given by Simon and you're on your way.

HTH,

Durand

garyng
02-05-2004, 07:33 AM
I'll bet there's an answer already waiting to be found on this forum, but I'm still having problems to figure these matters out :?

As you can assume I only have one hd which is partitioned into hda1 and hda5. I have winXP on hda1 and only media files on hda5 and both partitions are NTFS. Now I would like to have knoppix installed on the free space(7gb) of my hda5. Is that possible and how? I would also like to share files between os:s.

My main problem is the partitioning the hda5. I assume that lilo shouldn't be saved in mbr but instead in root partition? I think i'll be a lot wiser if I could get some details about the partitioning and anyway I'm grateful for any kind of help.

zap hda5 and turns in into FAT32, that is the only way you can SAFELY share file. Well since you are going to redo the partitioning anyway, just leave some space for linux so hda5 becomes hda5, hda6, hda7 with one of them FAT32 and the rest your liking and install linux(and lilo). After that, just dd the first 512 byte of that partition, copy it to C:\(better put it on the FAT32 and copy from there to C under XP) and add an entry :

linux=c:\hda6_bootsector

where hda6_bootsector is the 512 byte you dd from /dev/hda6 and copy into a file.

Now you have a dual boot under XP and a partition to transfer file in between.

Of course, you can also search the forum about my posts on how to do this without even repartitioning, a few months back. You are lucky as you have 2 partitions, my notebook has only one large one for XP which is also NTFS and I just don't want to repartition.