Quote (humpty @ June 26 2006,13:10) |
If you can't boot from usb-hdd install. post again, I have a dirty method for swapping the two usb-zip partitions (yes you can have all you cake and eat it). |
Quote (humpty @ July 13 2006,10:33) |
Alright, this is for those of you who can only boot from USB-ZIP but want the 1st partition as the big partition that XP can see. There's basically 3 steps. a) reverse the partition sizes by hacking 1 line of code in the usb-zip script. run it. b) move the knoppix image from 1st partition to the 2nd. c) change the boot line in syslinux.cfg. Details are found here: http://petepr.hopto.org/dsl/guides.html#Boot_Pen_Swap |
Quote (humpty @ July 13 2006,10:33) |
http://petepr.hopto.org/dsl/guides.html#Boot_Pen_Swap |
Quote |
1. Do a normal usb-zip install. 2. Open bash shell terminal and: sudo sfdisk /dev/sda This will show you how many cylinders are taken up. basically 1 cylinder is about 1M. So the 1st partition will be 50, but your interested in the value of the 2nd partition, say 'X' cylinders. Write this down. 3. Make a copy of pendrive_usbzip.sh, cp /usr/sbin/pendrive_usbzip.sh ~/dirty_job.sh Edit the copy and look for this line: mkdiskimage -1 /dev/$DEVICE 50 64 32 Change '50' to 'X' (the value you found before). Save the script. 4. Run the script sudo ./dirty_job.sh This will create a big partition 1 and a 50 mb partition 2. 5. Move the /knoppix directory from the big partition to the small partition. 6. Edit syslinux.cfg (in the big partition) and edit the bootline to boot the knoppix image on sda2 and get other files from sda1. i.e fromhd=/dev/sda2 restore=sda1 mydsl=sda1 |