Live USB disk Creation
-
- Shogun
- Posts: 434
- Joined: 02 May 2017, 09:51
- Distribution: v3.2.2-32 and Porteus-Artix-64
- Location: Chennai,India
Live USB disk Creation
Request to Porteus development team...
neko has done a neat graphical user interface for live usb creation from ISO, for APorteus, from brokenman's script .
Porteus could use that with his permission. Original script uses msdos fs(16bit) for first partition formatting. It shall be changed to FAT32 & recompiled.No idea whether neko changed that, as I have not used the GUI yet.
neko has done a neat graphical user interface for live usb creation from ISO, for APorteus, from brokenman's script .
Porteus could use that with his permission. Original script uses msdos fs(16bit) for first partition formatting. It shall be changed to FAT32 & recompiled.No idea whether neko changed that, as I have not used the GUI yet.
Linux Kernel-4.4.272 -32 bit; Linux Kernel-5.4.185 - 64 bit
- Ed_P
- Contributor
- Posts: 8373
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Live USB disk Creation
Ed_P, you have to use Aporteus for this software i think, but not sure........
- Ed_P
- Contributor
- Posts: 8373
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
-
- Shogun
- Posts: 434
- Joined: 02 May 2017, 09:51
- Distribution: v3.2.2-32 and Porteus-Artix-64
- Location: Chennai,India
Live USB disk Creation
neko's GUI for USB installation...
code by brokenman...for bios pc for partition using fdisk....
code by brokenman...for bios pc for partition using fdisk....
Code: Select all
#!/bin/bash
ISO=$1
USB=$2
FPT=$3
SPT=$4
#==== create USB partitions ====#
format1_usb()
{
fdisk $USB << EOF
o
n
p
1
t
c
a
1
w
EOF
# Set MBR (boot code)#
cat /usr/share/live-usb/lib/mbr.bin > ${USB}
# Format partition 1
mkdosfs ${USB}1
}
format2_usb()
{
if [ "${SPT:0:3}" = "fat" ]
then
FS=c
else
FS=83
fi
fdisk $USB << EOF
o
n
p
1
+${FPT}M
t
c
n
p
2
t
2
${FS}
a
1
w
EOF
# Set MBR (boot code)#
cat /usr/share/live-usb/lib/mbr.bin > ${USB}
# Format partition 1
mkdosfs ${USB}1
# Format partition 2
case $SPT in
ext4)
mkfs.ext4 -F ${USB}2
;;
ext3)
mkfs.ext3 -F ${USB}2
;;
*)
mkdosfs ${USB}2
;;
esac
}
Linux Kernel-4.4.272 -32 bit; Linux Kernel-5.4.185 - 64 bit
- Ed_P
- Contributor
- Posts: 8373
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Live USB disk Creation
I like the GUI and I like the script (good old brokenman. I miss him.) and I would like to test them but for that I need a link.
As for
msdosfs doesn't default to fs 16bit according to this write up:
As for
Code: Select all
# Format partition 1
mkdosfs ${USB}1
}
I think creating a Porteus module for this would be an excellent idea.https://linux.die.net/man/8/mkdosfs wrote:-F FAT-size
Specifies the type of file allocation tables used (12, 16 or 32 bit). If nothing is specified, mkdosfs will automatically select between 12, 16 and 32 bit, whatever fits better for the file system size.
Ed
Live USB disk Creation
hi Ed_P live-usb is a bit nested like software in Aporteus is part of xorg package,i have done in a stock porteus with deps and put the directory into the right path and work,but i can't make a standalone package no skill.
/mnt/sdk1/porteus/modules/live-usb-deps/GConf-3.2.6-x86_64-7.xzm
/mnt/sdk1/porteus/modules/live-usb-deps/gksu-2.0.2-x86_64-1ponce.xzm
/mnt/sdk1/porteus/modules/live-usb-deps/gtk+2-2.24.33-x86_64-2.xzm
/mnt/sdk1/porteus/modules/live-usb-deps/gtkdialog-0.8.3-x86_64-1ponce.xzm
/mnt/sdk1/porteus/modules/live-usb-deps/gtkextra-3.3.3-x86_64-1ponce.xzm
/mnt/sdk1/porteus/modules/live-usb-deps/libgksu-2.0.12-x86_64-2ponce.xzm
/mnt/sdk1/porteus/modules/live-usb-deps/libgnome-keyring-3.12.0-x86_64-4.xzm
/mnt/sdk1/porteus/modules/live-usb-deps/libgtop-2.40.0-x86_64-5.xzm
and this porteus is made with the live-usb tool and work like a charm..... the path of live-usb directory is /usr/share and the launcher is /usr/share/application and the icon in /usr/share/pixmaps if you want to try it....
/mnt/sdk1/porteus/modules/live-usb-deps/GConf-3.2.6-x86_64-7.xzm
/mnt/sdk1/porteus/modules/live-usb-deps/gksu-2.0.2-x86_64-1ponce.xzm
/mnt/sdk1/porteus/modules/live-usb-deps/gtk+2-2.24.33-x86_64-2.xzm
/mnt/sdk1/porteus/modules/live-usb-deps/gtkdialog-0.8.3-x86_64-1ponce.xzm
/mnt/sdk1/porteus/modules/live-usb-deps/gtkextra-3.3.3-x86_64-1ponce.xzm
/mnt/sdk1/porteus/modules/live-usb-deps/libgksu-2.0.12-x86_64-2ponce.xzm
/mnt/sdk1/porteus/modules/live-usb-deps/libgnome-keyring-3.12.0-x86_64-4.xzm
/mnt/sdk1/porteus/modules/live-usb-deps/libgtop-2.40.0-x86_64-5.xzm
and this porteus is made with the live-usb tool and work like a charm..... the path of live-usb directory is /usr/share and the launcher is /usr/share/application and the icon in /usr/share/pixmaps if you want to try it....
- Ed_P
- Contributor
- Posts: 8373
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Live USB disk Creation
I would like to try it beny but I need a link to the GUI and maybe your live-usb ISO to figure it all out.
Added in 5 hours 19 minutes 16 seconds:
Is this the APorteus ISO link you're all referring to? ArchLinux packages manager for Porteus (Post by neko #36689)
Added in 5 hours 19 minutes 16 seconds:
Is this the APorteus ISO link you're all referring to? ArchLinux packages manager for Porteus (Post by neko #36689)
Ed
Live USB disk Creation
hi Ed_P the Aporteus version running on my system is 21-06-27 xfce, the files you need are in 002-z.xorg.xzm unsquashfs the package and follow the path that i have write above, this software do not have gui the live-usb main script when it run make the gui with gtkdialog i think,if you use to save the changes you can put the files into the changes directories,so you have at every boot,if you have a spare usb key try it
- Ed_P
- Contributor
- Posts: 8373
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Live USB disk Creation
beny in the APorteus ISO I downloaded there is a 004-buildiso-21.11.04.xzm in the /porteus/modules/ folder.
Added in 1 hour 36 minutes 2 seconds:
So, I booted the APorteus ISO that I downloaded and found the Live ISO entry in the menu, I started it and it did open the GUI.
I extracted the 004-buildiso module, booted my Cinnamon system, activated the 004-buildiso module and APorteus ISO Builder is in my Porteus > Administration menu.
However, the menu item has no icon and clicking on it does not bring up the GUI or anything else.
The APorteus ISO did have another module in it's /porteus/modules folder, 05-devel.xzm. Maybe it's required.
Added in 1 hour 36 minutes 2 seconds:
So, I booted the APorteus ISO that I downloaded and found the Live ISO entry in the menu, I started it and it did open the GUI.
I extracted the 004-buildiso module, booted my Cinnamon system, activated the 004-buildiso module and APorteus ISO Builder is in my Porteus > Administration menu.
However, the menu item has no icon and clicking on it does not bring up the GUI or anything else.
The APorteus ISO did have another module in it's /porteus/modules folder, 05-devel.xzm. Maybe it's required.
Ed
Live USB disk Creation
hi Ed_P when you run Aporteus right, go to the usr/share directory and pull out the live-usb folder, and the launcher in applications and also the icon,when you run porteus with the deps list installed you have to do the opposite put the file back on porteus in the same path and if all went ok run the software,is just something on the fly,just to try it.
- Ed_P
- Contributor
- Posts: 8373
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Live USB disk Creation
Activating the 05-devel module didn't help.
Trying to open the 004 module was a bit of a surprise. It wouldn't open with the archive manager or 7-zip!
Trying to open the 004 module was a bit of a surprise. It wouldn't open with the archive manager or 7-zip!
Ed
Live USB disk Creation
Ed_P the isobuilder is different from the live-usb is another task live-usb choose the device, the size of partition, the boot options: bios or efi
and install the iso of porteus you want,after this you can boot the usb key system. and if you want to open a module copy it and in terminal unsquashfs name of the file and when you have done mksquashfs name of the module .xzm, btw root account .
and install the iso of porteus you want,after this you can boot the usb key system. and if you want to open a module copy it and in terminal unsquashfs name of the file and when you have done mksquashfs name of the module .xzm, btw root account .
Last edited by beny on 09 Nov 2021, 16:49, edited 1 time in total.
-
- Contributor
- Posts: 1857
- Joined: 09 Aug 2013, 14:25
- Distribution: Porteus and Nemesis
- Location: USA
Live USB disk Creation
To open 004 module you would have to go back to Porteus 5.0rc1 that what I found out to use archive manager or 7-zip.
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.
- Ed_P
- Contributor
- Posts: 8373
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Live USB disk Creation
Code: Select all
guest@porteus:~$ guibuildiso
/usr/local/bin/guibuildiso: line 16: /usr/local/share/archspm/bin/arch_mirror.inc: No such file or directory
guest@porteus:~$
Thank you Jack. I'm not sure I have those ISOs any longer. I'll try Porteus 4.0.
Added in 10 minutes 20 seconds:
Failed to open in Porteus 4.0 also.
Ed