multibootusb icon indicating copy to clipboard operation
multibootusb copied to clipboard

medicat -> impossible to create live usb

Open PowaBanga opened this issue 6 years ago • 0 comments

Hi, I am trying to create an multi usb live with multiboot on Archlinux. So, here I have a new flash usb, and i am trying to install medicat on it ( https://gbatemp.net/threads/medicat-dvd-a-multiboot-linux-dvd.361577/ )

 multibootusb-pkexec
Using python version  3.7.4 (default, Jul 16 2019, 07:12:58) 
[GCC 9.1.0] on platform Linux-5.2.9-arch1-1-ARCH-x86_64-with-arch
Could not find resource 'data/tools/gdisk/gdisk.exe'.
Running multibootusb version 9.2.0 from installed system...
Starting multibootusb GUI...
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Cleaning old multibootusb directory...
Syslinux exist in multibootusb directory...
Using pyudev for detecting USB drives...
No USB device found...
Using pyudev for detecting USB drives...
	/dev/sdc
	/dev/sdc1
Selected device /dev/sdc
Device /dev/sdc is a MBR disk...
USB disk is not mounted and can't update list widget...
Selected device /dev/sdc1
Device /dev/sdc1 is a MBR disk...
Executing ==> 7z -ssc-  x -y "/home/powabanga/Téléchargements/medicat.v18.10.stable.iso" -o"/root/.multibootusb/iso_cfg_ext_dir" "*.cfg" -r 2> /dev/null
Executing ==> 7z -ssc-  x -y "/home/powabanga/Téléchargements/medicat.v18.10.stable.iso" -o"/root/.multibootusb/iso_cfg_ext_dir" "*.txt" -r 2> /dev/null
Executing ==> 7z -ssc-  x -y "/home/powabanga/Téléchargements/medicat.v18.10.stable.iso" -o"/root/.multibootusb/iso_cfg_ext_dir" "*isolinux.bin" -r 2> /dev/null
Executing ==> 7z -ssc-  x -y "/home/powabanga/Téléchargements/medicat.v18.10.stable.iso" -o"/root/.multibootusb/iso_cfg_ext_dir" "*.lst" -r 2> /dev/null
This ISO doesn't support RRIP
Persistence support is not available for medicat.v18.10.stable.iso
MultiBoot Install: USB Disk: /dev/sdc1
MultiBoot Install: USB Label: 
MultiBoot Install: USB UUID: 1662-8232
MultiBoot Install: USB mount path: /run/media/powabanga/1662-8232
MultiBoot Install: Disk total size: 29.2G
MultiBoot Install: Disk used size: 16.0K
MultiBoot Install: Disk free size: 29.2G
MultiBoot Install: Filesystem: vfat
MultiBoot Install: Disk vendor: SanDisk
MultiBoot Install: Disk model: Cruzer_Blade
MultiBoot Install: ISO file: medicat.v18.10.stable.iso
MultiBoot Install: Distro type detected: parted-magic
Persistence chosen is 0B
Copying multibootusb directory to /run/media/powabanga/1662-8232
EFI/BOOT directory does not exist. Creating new.
Copying EFI directory to /run/media/powabanga/1662-8232
Could not find resource 'data/multibootusb/grub/menus.zip'.
Unable to extract menu files to USB disk.
Installing medicat.v18.10.stable.iso on /run/media/powabanga/1662-8232/multibootusb/medicat.v18.10.stable
Executing ==> 7z -ssc-  x -y -o"/run/media/powabanga/1662-8232/multibootusb/medicat.v18.10.stable" "/home/powabanga/Téléchargements/medicat.v18.10.stable.iso" 2> /dev/null
ISO extracted successfully. Sync is in progress...############################|
Distro extraction completed...

Found syslinux version 6

Executing ==> /root/.multibootusb/syslinux/bin/syslinux6 -i -d "/multibootusb/medicat.v18.10.stable/Lubuntu/isolinux" /dev/sdc1

Syslinux install on distro directory is successful...

Executing ==> dd if=/dev/sdc1 of="/run/media/powabanga/1662-8232/multibootusb/medicat.v18.10.stable/Lubuntu/isolinux/parted-magic.bs" count=1

1+0 enregistrements lus
1+0 enregistrements écrits
512 octets copiés, 0,182045 s, 2,8 kB/s

Bootsector copy is successful...

Using mbr.bin msdos mbr install.

Executing ==> /root/.multibootusb/syslinux/bin/syslinux4 -i -d multibootusb /dev/sdc1


Default syslinux install is success...


Executing ==> dd bs=440 count=1 conv=notrunc if=/usr/share/multibootusb/data/tools/mbr.bin of=/dev/sdc
1+0 enregistrements lus
1+0 enregistrements écrits
440 octets copiés, 0,0169546 s, 26,0 kB/s

mbr install is success...


Checking boot flag on /dev/sdc

Executing ==>  parted /dev/sdc set 1 boot on
Information: Ne pas oublier de mettre à jour /etc/fstab si nécessaire.

                                                                          
Boot flag set to bootable /dev/sdc
Updating distro specific config files...
In '/run/media/powabanga/1662-8232/multibootusb/medicat.v18.10.stable/harddisk_tools.cfg', '/4MParted/boot/isolinux/isolinux.cfg' is kept as is though it does not exist.
In '/run/media/powabanga/1662-8232/multibootusb/medicat.v18.10.stable/main_menu.cfg', following paths are used as they are though they don't exist.
  /Win10PE.cd;
  /bootmgr"
In '/run/media/powabanga/1662-8232/multibootusb/medicat.v18.10.stable/Lubuntu/YUMI/unlisted.cfg', following paths are used as they are though they don't exist.
  /multiboot/vesamenu.c32
  /multiboot/syslinux.cfg
In '/run/media/powabanga/1662-8232/multibootusb/medicat.v18.10.stable/Lubuntu/boot/grub/grub.cfg', following paths are used as they are though they don't exist.
  /casper/vmlinuz
  /casper/initrd
Applied 2 rewrite exceptions on '/run/media/powabanga/1662-8232/multibootusb/medicat.v18.10.stable/Lubuntu/boot/grub/grub.cfg' as shown below:
  /cdrom/preseed/lubuntu.seed is kept as is. [2]
In '/run/media/powabanga/1662-8232/multibootusb/medicat.v18.10.stable/Lubuntu/boot/grub/loopback.cfg', following paths are used as they are though they don't exist.
  /casper/vmlinuz
  /casper/initrd
  /install/mt86plus
Applied a rewrite exception on '/run/media/powabanga/1662-8232/multibootusb/medicat.v18.10.stable/Lubuntu/boot/grub/loopback.cfg' as shown below:
  /cdrom/preseed/lubuntu.seed is kept as is. [1]
In '/run/media/powabanga/1662-8232/multibootusb/medicat.v18.10.stable/Lubuntu/isolinux/rqtxt.cfg', following paths are used as they are though they don't exist.
  /install/vmlinuz
  /install/initrd.gz
Applied a rewrite exception on '/run/media/powabanga/1662-8232/multibootusb/medicat.v18.10.stable/Lubuntu/isolinux/txt.cfg' as shown below:
  /cdrom/Lubuntu/preseed/lubuntu.seed is kept as is. [1]
In '/run/media/powabanga/1662-8232/multibootusb/medicat.v18.10.stable/MEDICAT/linux.cfg', following paths are used as they are though they don't exist.
  /LubDes64/casper/vmlinuz.efi
  /LubDes64/casper/
  /LubDes64/casper/initrd.lz
Applied 4 rewrite exceptions on '/run/media/powabanga/1662-8232/multibootusb/medicat.v18.10.stable/MEDICAT/linux.cfg' as shown below:
  /cdrom/LubDes64/preseed/lubuntu.seed is kept as is. [4]
In '/run/media/powabanga/1662-8232/multibootusb/medicat.v18.10.stable/MEDICAT/passwords.cfg', '/ISO/Lazesoft.iso' is kept as is though it does not exist.
In '/run/media/powabanga/1662-8232/multibootusb/medicat.v18.10.stable/PortableApps/MalwarebytesPortable/App/DefaultData/Malwarebytes/Malwarebytes Anti-Malware/Configuration/license.conf', '/}' is kept as is though it does not exist.
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/scripts/mbusb_gui.py", line 352, in install_syslinux
    config.distro, config.persistence)
  File "/usr/lib/python3.7/site-packages/scripts/update_cfg_file.py", line 166, in update_distro_cfg_files
    os.path.join(dirpath, f))
  File "/usr/lib/python3.7/site-packages/scripts/update_cfg_file.py", line 97, in fix_abspath
    path_expression, string, install_dir, iso_name,  kept_paths)
  File "/usr/lib/python3.7/site-packages/scripts/update_cfg_file.py", line 58, in fix_abspath_r
    os.path.join(install_dir, specified_path))
  File "/usr/lib/python3.7/genericpath.py", line 19, in exists
    os.stat(path)
ValueError: embedded null byte
/usr/bin/multibootusb-pkexec : ligne 22 :  1618 Abandon                 (core dumped)pkexec --disable-internal-agent "/usr/bin/multibootusb" "$@"

what is this error ?

PowaBanga avatar Aug 20 '19 17:08 PowaBanga