[SOLVED] Multiple bootable SO on a USB, along with the data?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You are attempting to copy folders to the top of the data partition, can't be done as a user unless mount permissions are set. You need to copy the Documents folder into the files folder on the data partition.
If want the Document folder on the same level as the files folder you will have to do this for each directory you are attempting to copy directly to the data partition.
Then copy the contents of the Documents folder to /media/keos/Data/Documents.
Setting permissions for all users to write/access files to the top of a partition tree is done by setting the permissions of the directory where the partition is mounted, easily done on an installed system not so much on a live iso system. This permission issue would be bypassed if the partition is formatted exfat or ntfs
Last edited by colorpurple21859; 12-29-2023 at 05:50 PM.
The system automatically mounted the partition to /media/keos/Data and the OP manually mounted it to /mnt
You need to change the permissions of the mount point otherwise you can not create any files or subdirectories by just drag in drop. The permissions are written to the filesystem so change one mountpoint should allow writing to the other.
Permissions are attached to the filesystem (i.e native linux filesystems) and the OP is using ext4. With 777 the data partition should be writable regardless. Granted, it works with installed systems but I have only tested on one live ISO, LMDE but I don't know why it would not work on others.
A directory can have any sort of permissions but when used as a mount point will change to the permissions of the mounted filesystem (again linux native filesystems).
but when going to ventoy to the F2: Browse option, to search for them, they are not there, only 'the names' as in post #61
When booting the MX iso on the usb drive, you need to mount that Data partition before any of the files will be available which of course, will likely require root (sudo) permissions. As I understand it, the MX on the usb drive is a 'live' Linux iso and will not automatically mount that partition which from your earlier posts appears to be sda3. If you boot MX on the usb drive, copy and paste the following command into a terminal. It will not change/modify anything but simply output information:
Quote:
cat /etc/fstab
Do you see an entry there for sda3? Not likely, which is why you need to manually mount each time. The MX iso on the flash drive is a 'live' system which means it is read only and you cannot modify system files.
On a Linux system, you generally need root (sudo) permissions to access anything outside the user /home /directory and mounting is also generally done using root (sudo).
An example would be to simply run: sudo mount /dev/sda3 /mnt
That should mount the DATA partition at /mnt and make it available and you should see any data you copied from your installed OS.
Support for NTFS and exFAT depends on distribution version as well as kernel version. The main stream distributions usually include support for exFAT and NTFS but may or may not be included by default in the live version. Both filesystems are becoming builtin and in the future are probably going to require the same permissions as regular filesystems so I can not guarantee they will be automatically mounted with r/w for a regular user.
Your screenshot appears to show the same directories but not the contents so I can not tell if they are empty or not.
keos@keos:~
$ cat /etc/fstab
# /etc/fstab: static file system information
#
# Created by make-fstab on Sat Dec 30 09:04:54 EST 2023
# <file system> <mount point> <type> <options> <dump/pass>
# Added by make-fstab /dev/nvme0n1p2
UUID=857acb06-9ea7-4274-b0f6-bced4ca2c251 swap swap defaults 0 0
keos@keos:~
$
Data' is automatically mounted when I open the system (USB) and it appears in Thunar, but not in Ventoy/F2:Browse. (?).
I guess it depends on the distribution. I have only tested two live versions, MX and LMDE. MX running from Ventoy does not automatically mount the data partition but it is automatically mounted with LMDE.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.