MI4C Posted July 18, 2008 Share Posted July 18, 2008 (edited) jaclaz, sorry for so fuzzy posting.I got the stick working just like I wanted.The virtual disk thing didn't work and some other things either didn't work.Here is description how to make 8 GB stick, containing DOS, UBCD 4.1.0 (ultimate boot CD) and Cent OS.You need 2 USB stick (8 GB and 150 MB or bigger), gparted liveCD, UBCD 4.1.0 CD, dos boot floppy and Cent OS installation media.No need to do the markymoo's thing described earlier.First create the small USB stick with the UBCD script (which is located on the UBCD CD \tools\ubcd2usb) ubcd2usb.bat D: E: (the D: is my UBCD CD and E: is stick).Then create with gparted 3 partitions to the bigger stick. I create 5 GB, exact size of the small stick and rest to the linux. Format each as FAT32 and manage flags that only 5 GB partition is not hidden. Boot with the dos boot floppy and format the 5 GB partition with startup disk option. Test that the stick boots to the created partition. After this connect both stick to computer and boot with gparted, you can check with gparted which stick is the small and bigger stick. Open terminal and type dd if=/dev/sda# of=/dev/sdb2 (the sda is the smaller stick and # should be the number where the UBCD is, I had it somehow on sda4, you can check that number from the gparted partition manage window). Now we have copied UBCD partition (including the data) from the smaller stick to the bigger. Remove the hidden flag from the sdb3.Next boot with CentOS 5.1 DVD and make custom partitioning. Create the OS root partition to the sda3 (no swap or other partitions).To the bootloader add the hidden UBCD /dev/sda2 to the bootmenu, the bootloader can be installed to the mbr, so no advanced settings needed. Choose custom install on packages, and take everything else away but editors and BASE install. After os installation the stick is ready.My problem was earlier that I didn't find a way how to get the UBCD partition to the second partition (because the UBCD function break-up if the partition size is changed, don't know why) and windows XP only sees the first partition of the stick, even if the partition is hidden. I found that if I create an image of this tripple boot stick and restore it, it somehow break-up. I can still clone the stick with the linux dd command which I used earlier in the instructions. Edited July 18, 2008 by MI4C Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now