Multi Boot USB

Non release banter
Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Multi Boot USB

Post#1 by Jack » 03 Mar 2018, 05:15

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?
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

jssouza
Legendary
Legendary
Posts: 1165
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm

Multi Boot USB

Post#2 by jssouza » 03 Mar 2018, 05:57

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

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Multi Boot USB

Post#3 by Jack » 03 Mar 2018, 06:02

You will have to rename cfg and sgn each time when you want to change it to the other one?
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

jssouza
Legendary
Legendary
Posts: 1165
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm

Multi Boot USB

Post#4 by jssouza » 03 Mar 2018, 06:12

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.

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Multi Boot USB

Post#5 by Jack » 05 Mar 2018, 02:33

@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.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Multi Boot USB

Post#6 by Ed_P » 05 Mar 2018, 06:15

What are you using as your bootloader?
Ed

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Multi Boot USB

Post#7 by Jack » 05 Mar 2018, 14:59

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.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Multi Boot USB

Post#8 by Ed_P » 05 Mar 2018, 15:44

Sounds like an interesting project. Curious what your plan is to get it to work. :)
Ed

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Multi Boot USB

Post#9 by Jack » 05 Mar 2018, 15:49

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.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Multi Boot USB

Post#10 by Ed_P » 05 Mar 2018, 16:01

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?
Ed

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Multi Boot USB

Post#11 by Jack » 05 Mar 2018, 16:36

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.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Multi Boot USB

Post#12 by Ed_P » 05 Mar 2018, 17:05

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.
Ed

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Multi Boot USB

Post#13 by Ed_P » 05 Mar 2018, 17:17

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?
Ed

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Multi Boot USB

Post#14 by Jack » 05 Mar 2018, 17:27

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.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

jssouza
Legendary
Legendary
Posts: 1165
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm

Multi Boot USB

Post#15 by jssouza » 05 Mar 2018, 17:44

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.

Post Reply