How to open a text file in Persistent Mode

Ok so in Persistent Mode i used to use the commands df -h to locate my usb stick
ls -la to see my file and cat or xdg-open to open the file.
From then on i copy paste the installation instructions for various software i want installed.

However since fresh install when i use df -h i dont see my usb stick. This is what i get regardless of whether the usb is plugged or not. I use 2 diferent usb sticks to test and the usbguard-notifier says disk 2.0 allowed with each. There is only a reject button i can press on it

Filesystem Size Used Avail Use% Mounted on
/dev/dm-0 342G 14G 321G 15% /
devtmpfs 4.0M 0 4.0M 0% /dev
tmpfs 1.2G 8.3M 1.2G 1% /dev/shm
efivarfs 154K 90K 60K 61% /sys/firmware/efi/efivars
tmpfs 491M 1.6M 489M 1% /run
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-cryptsetup@lusk…service
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-journald.service
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-networkd.service
tmpfs 1.2G 4.0K 1.2G 1% /tmp
/dev/sda2 3.9G 43M 3.7G 2% /boot
tmpfs 246M 112K 245M 1% /run/user/1001
tmpfs 1.0M 0 1.0M 0% /run/credentials/getty@tty1.service

What am i missing? Alternatively could you please send me the commands to open my file if i put it in the downloads folder from normal mode. I have real issues navigating the directories in kicksecure persistent mode.

1 Like

You haven’t mounted it yet. The disk is there (you’ll see it if you run lsblk), but its files aren’t showing up yet. Open the file manager, and click on the disk in the left-hand sidebar. This will mount it to a removable media location, and then you will be able to access its contents.

1 Like

For linux imbeciles like me there are the steps

lsblk

Step:1 Create mount point

sudo mkdir -p /media/USB

Step 2: Mount the USB stick

sudo mount /dev/sdb1 /media/USB (or sdc1)

cd /media/USB

That will work to mount a USB drive in a sysmaint session. In a user session, sudo isn’t available, so it’s preferable to use the file manager.