Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

Persistent live USB creation - not mounted

Started by measter, February 16, 2023, 07:46:19 PM

Previous topic - Next topic

measter

Sparky linux 6.6 KDE .iso written to Ventoy USB and booted

Used Live USB Creator Persistence from its menu, selected a different 4G USB and the .iso from a hdd and the creator went to work for quite a while.  Eventually it said that it couldn't do persistence because the device wasn't mounted.  Restarted the process by using the file manager to mount the device and the creator went to work again and eventually reported the same problem, not mounted.

In the past, my strategies for making persistent USBs have been mkusb, which is now in the sparky repo/s and I've also used a Win tool Rufus which 'generally' (in the past) didn't offer to make a persistent live USB except for a few distro/s.  Its list of possible distro/s still does not include Sparky, but I gave it a shot anyway and it DID offer to make a persistence and succeeded.  That is, the live Sparky 6.6 boot menu doesn't /say/ persistence, but it is persistent.

koepcke2

#1
I have the same problem, too. Is there any solution?

pavroo

Looks like your system mounts the USB drive before the tool mounts it itself, so...
Will try to add second check of automounted USB drives to fix it.
Stay tuned.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

pavroo

v0.2.4 moved to repos, so update it and try again.
Let me know does it help.
There is also a new small log file in the /tmp/usb-creator/ so provide it if any problem.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

koepcke2

Im̀ sorry, but still the same:

TMPSIZE=Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
tmpfs           7,8G    1,3G  6,5G   17% /tmp
DEVS=sdc
sda
sdb
MOUNT1=
TRYMOUNT1=
TRYMOUNT2=

See screenshots:
https://photos.app.goo.gl/DJjgTjz84VkHDGRU8

pavroo

OK, but it says something for me.
Can you connect your usb stick and then show me results of the commands, please:
sudo fdisk -l
sudo cat /proc/mounts
sudo mount

And tell me:
1. did you connect more than 1 usb disk during making Sparky live usb?
2. What is your usb stick size?
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

koepcke2

Gerät      Boot Anfang    Ende Sektoren Größe Kn Typ
/dev/sdc1  *         0 2699263  2699264  1,3G  0 Leer
/dev/sdc2          184    5943     5760  2,8M ef EFI (FAT-12/16/32)


sudo cat /proc/mounts
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
udev /dev devtmpfs rw,nosuid,relatime,size=8093068k,nr_inodes=2023267,mode=755,inode64 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /run tmpfs rw,nosuid,nodev,noexec,relatime,size=1626204k,mode=755,inode64 0 0
/dev/nvme0n1p2 / ext4 rw,noatime,discard 0 0
securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev,inode64 0 0
tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k,inode64 0 0
cgroup2 /sys/fs/cgroup cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot 0 0
pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0
efivarfs /sys/firmware/efi/efivars efivarfs rw,nosuid,nodev,noexec,relatime 0 0
bpf /sys/fs/bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 0 0
systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=6585 0 0
mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0
hugetlbfs /dev/hugepages hugetlbfs rw,relatime,pagesize=2M 0 0
debugfs /sys/kernel/debug debugfs rw,nosuid,nodev,noexec,relatime 0 0
fusectl /sys/fs/fuse/connections fusectl rw,nosuid,nodev,noexec,relatime 0 0
configfs /sys/kernel/config configfs rw,nosuid,nodev,noexec,relatime 0 0
ramfs /run/credentials/systemd-sysusers.service ramfs ro,nosuid,nodev,noexec,relatime,mode=700 0 0
ramfs /run/credentials/systemd-sysctl.service ramfs ro,nosuid,nodev,noexec,relatime,mode=700 0 0
ramfs /run/credentials/systemd-tmpfiles-setup-dev.service ramfs ro,nosuid,nodev,noexec,relatime,mode=700 0 0
/dev/nvme0n1p1 /boot/efi vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
/dev/loop0 /snap/bare/5 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop1 /snap/core/14784 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop2 /snap/core/14946 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop3 /snap/core18/2714 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop5 /snap/core20/1852 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop6 /snap/glimpse-editor/205 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop8 /snap/gnome-3-28-1804/161 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop7 /snap/core20/1828 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop10 /snap/kde-frameworks-5-core18/32 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop9 /snap/gtk2-common-themes/13 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop11 /snap/gtk-common-themes/1535 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop12 /snap/kde-frameworks-5-core18/35 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop14 /snap/ksnip/489 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop13 /snap/ksnip/490 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop15 /snap/qt515-core20/26 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop17 /snap/snapd/18357 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop16 /snap/photoscape/68 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop18 /snap/snapd/18596 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop21 /snap/teams-for-linux/300 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop19 /snap/qt515-core20/27 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop20 /snap/teams-for-linux/298 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop22 /snap/whatsie/142 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop24 /snap/wine-platform-5-stable/18 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
tmpfs /tmp tmpfs rw,noatime,inode64 0 0
/dev/loop26 /snap/wine-platform-runtime/340 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop23 /snap/whatsie/140 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
ramfs /run/credentials/systemd-tmpfiles-setup.service ramfs ro,nosuid,nodev,noexec,relatime,mode=700 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime 0 0
sunrpc /run/rpc_pipefs rpc_pipefs rw,relatime 0 0
tmpfs /run/user/1000 tmpfs rw,nosuid,nodev,relatime,size=1626200k,nr_inodes=406550,mode=700,uid=1000,gid=1001,inode64 0 0
/dev/loop27 /snap/core18/2721 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
/dev/loop4 /snap/wine-platform-runtime/341 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
//192.168.6.83/shares /home/jurgen/RPI4-Shares cifs rw,relatime,vers=3.1.1,cache=strict,username=rpi4srv,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.6.83,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1,closetimeo=5 0 0
/dev/sdc1 /mnt/part1 iso9660 ro,relatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8 0 0


jurgen@jurgen-nuc7i3bnh:~/Desktop$ sudo mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=8093068k,nr_inodes=2023267,mode=755,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1626204k,mode=755,inode64)
/dev/nvme0n1p2 on / type ext4 (rw,noatime,discard)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k,inode64)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=6585)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
ramfs on /run/credentials/systemd-sysusers.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
ramfs on /run/credentials/systemd-sysctl.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
ramfs on /run/credentials/systemd-tmpfiles-setup-dev.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
/dev/nvme0n1p1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/var/lib/snapd/snaps/bare_5.snap on /snap/bare/5 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/core_14784.snap on /snap/core/14784 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/core_14946.snap on /snap/core/14946 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/core18_2714.snap on /snap/core18/2714 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/core20_1852.snap on /snap/core20/1852 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/glimpse-editor_205.snap on /snap/glimpse-editor/205 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/gnome-3-28-1804_161.snap on /snap/gnome-3-28-1804/161 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/core20_1828.snap on /snap/core20/1828 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/kde-frameworks-5-core18_32.snap on /snap/kde-frameworks-5-core18/32 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/gtk2-common-themes_13.snap on /snap/gtk2-common-themes/13 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/gtk-common-themes_1535.snap on /snap/gtk-common-themes/1535 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/kde-frameworks-5-core18_35.snap on /snap/kde-frameworks-5-core18/35 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/ksnip_489.snap on /snap/ksnip/489 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/ksnip_490.snap on /snap/ksnip/490 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/qt515-core20_26.snap on /snap/qt515-core20/26 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/snapd_18357.snap on /snap/snapd/18357 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/photoscape_68.snap on /snap/photoscape/68 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/snapd_18596.snap on /snap/snapd/18596 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/teams-for-linux_300.snap on /snap/teams-for-linux/300 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/qt515-core20_27.snap on /snap/qt515-core20/27 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/teams-for-linux_298.snap on /snap/teams-for-linux/298 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/whatsie_142.snap on /snap/whatsie/142 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/wine-platform-5-stable_18.snap on /snap/wine-platform-5-stable/18 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
tmpfs on /tmp type tmpfs (rw,noatime,inode64)
/var/lib/snapd/snaps/wine-platform-runtime_340.snap on /snap/wine-platform-runtime/340 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/whatsie_140.snap on /snap/whatsie/140 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
ramfs on /run/credentials/systemd-tmpfiles-setup.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1626200k,nr_inodes=406550,mode=700,uid=1000,gid=1001,inode64)
/var/lib/snapd/snaps/core18_2721.snap on /snap/core18/2721 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/wine-platform-runtime_341.snap on /snap/wine-platform-runtime/341 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
//192.168.6.83/shares on /home/jurgen/RPI4-Shares type cifs (rw,relatime,vers=3.1.1,cache=strict,username=rpi4srv,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.6.83,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1,closetimeo=5)
/dev/sdc1 on /mnt/part1 type iso9660 (ro,relatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8)

1. yes, there is only on USB Stick connected
2. 32g



pavroo

Moved to repos version 0.2.5, so upgrade and test it, please.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

koepcke2

Im̀ on 0.2.5 and get the same message: USB Disk not mounted ... can NOT set persistent, exiting ..

koepcke2

#9
... same on 2.6!
But that does not matters. Sparky is the best Distro on earth and i'll istall it on USB-Stick to show my father in law, a suffering MS user

pavroo

There is an update of 0.2.7, so try again and let me know is it ok now, please.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

tec

Quote from: measter on February 16, 2023, 07:46:19 PMSparky linux 6.6 KDE .iso written to Ventoy USB and booted

... Eventually it said that it couldn't do persistence because the device wasn't mounted.  (...) reported the same problem, not mounted...

Yes, this happens when "Live USB Persistence" is created from Flash Drive, while from SSD (USB) to Flash Drive is completed

The disk created in this way is bootable and starts properly

Not sure if it has full functionality

View the most recent posts on the forum