Page 1 of 2

Multi Boot USB

Posted: 03 Mar 2018, 05:15
by Jack
Can I take a 32gb thumb drive and put 3 partitions.

1. 1st boot partition 50mb format fat32
2. 2nd Mate partition 16gb format ext4
3. 3rd LXDE partition 16gb format ext4

I don't want the 2nd partition to use any files from 3rd partition and I don't want 3rd partition to use any file from 2nd partition.

How can I setup the 1st partition. Can that be done or not?

Multi Boot USB

Posted: 03 Mar 2018, 05:57
by jssouza
Sure you can, you can use gparted. I assume the first partition is EFI? Just use cfgfile= cheatcode (or sgnfile= if using older than porteus v4.0) in your bootloader to boot from either 2nd or 3rd partition. Then rename the cfg and sgn files accordingly on your 2nd and 3rd partitions.

BTW: 50mb + 16gb + 16gb > 32gb :D

Multi Boot USB

Posted: 03 Mar 2018, 06:02
by Jack
You will have to rename cfg and sgn each time when you want to change it to the other one?

Multi Boot USB

Posted: 03 Mar 2018, 06:12
by jssouza
No need. Just create 2 entries in your bootloader.

BTW you can also use from= cheatcode.
Eg: rename porteus dir to jack1 in 2nd partition and to jack2 in 3rd partition. Then use from= jack1 to boot 2nd partition and from= jack2 to boot 3rd partition.

Points to note:
You copy entire porteus dir of your mate to 2nd partition and porteus dir should be at the top level in that partition. Likewise for lxde.
The 000-kernel.xzm on both these partitions should match the vmlinuz that you would have in the boot partition.
Hope neither mate nor lxde is a nemesis build. If yes then all bets are off. I dont know nemesis specific cheatcodes.

Multi Boot USB

Posted: 05 Mar 2018, 02:33
by Jack
@Jssouza, or Anyone

Everything here Porteus 4.0rc4 and my Mate and LXDE build.

The first partition is EFI the second partition porteus directory rename jack1 and the third partition porteus directory rename jack2 now about this I don't understand. I have never cheatcode.
Just use cfgfile= cheatcode (or sgnfile= if using older than porteus v4.0) in your bootloader to boot from either 2nd or 3rd partition. Then rename the cfg and sgn files accordingly on your 2nd and 3rd partitions.
I want to use this a demo USB to show people what Linux is all about.

Multi Boot USB

Posted: 05 Mar 2018, 06:15
by Ed_P
What are you using as your bootloader?

Multi Boot USB

Posted: 05 Mar 2018, 14:59
by Jack
Ed_P wrote:
05 Mar 2018, 06:15
What are you using as your bootloader?
The first partition will have EFI and boot from the Porteus ISO. The second and third partition will have porteus but they will be rename jack1 and jack2. That the way I want it setup but if it won't work that way I will forger it and use 2 USB.

Multi Boot USB

Posted: 05 Mar 2018, 15:44
by Ed_P
Sounds like an interesting project. Curious what your plan is to get it to work. :)

Multi Boot USB

Posted: 05 Mar 2018, 15:49
by Jack
Ed_P wrote:
05 Mar 2018, 15:44
Sounds like an interesting project. Curious what your plan is to get it to work. :)
I want to use this a demo USB to show people what Linux is all about. That way I won't need two USB and they can do the same.

Multi Boot USB

Posted: 05 Mar 2018, 16:01
by Ed_P
Yes, you have said what you want to use it for before. Which is cool. :)

So step 1 is buy a USB drive. What is step 2?

Multi Boot USB

Posted: 05 Mar 2018, 16:36
by Jack
I all ready have a 32gb USB3 thumb drive and I all ready made the 3 partition and copy the files to it.

All I need to do is make USB3 bootable.

Multi Boot USB

Posted: 05 Mar 2018, 17:05
by Ed_P
Jack wrote:
05 Mar 2018, 16:36
All I need to do is make USB3 bootable.
Yea, I would have made that the step 2.

Multi Boot USB

Posted: 05 Mar 2018, 17:17
by Ed_P
An approach that might work would be, on a single FAT32 partition flash drive, would be to install Porteus. A Porteus install would made the drive bootable. Then partition the drive the way you want.

Now the LXDE and MATE you want to boot I suspect are DEs based on the same Porteus base so technically the only difference between the two systems would be the 003 file and the /modules folder, right?

Multi Boot USB

Posted: 05 Mar 2018, 17:27
by Jack
Ed_P wrote:
05 Mar 2018, 17:17
the only difference between the two systems would be the 003 file and the /modules folder, right?
The only difference is 003 module. Everything else is the same even the modules folder.

Multi Boot USB

Posted: 05 Mar 2018, 17:44
by jssouza
Jack, you could then also put both mate and lxde in base and use noload=lxde load=mate cheatcodes to boot to mate and noload=mate load=lxde to boot to lxde.