LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 12-25-2023, 06:14 AM   #31
Camello
Member
 
Registered: Apr 2021
Location: USA
Distribution: MX-LINUX
Posts: 218

Original Poster
Rep: Reputation: Disabled

Quote:
Is the image in your post from being booted into the system installed on your hard drive?
The image corresponds to what appears in Thunar when the USB is connected to the PC.

Quote:
it seems as if you expect your data directory to show in the boot menu? That won't happen.
Let it appear somewhere, anywhere but, in Ventoy, so that it can be accessed/USB.

I'm not an expert, I can't even follow any issue when it becomes a bit technical so I require of some 'tool' to help me to this end, if it doesn't exist, well there is no point for me, anyway thank you very much for the attempts ... cheers....
 
Old 12-25-2023, 08:06 AM   #32
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,392

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
The ventoy website isn't clear on how to do persistence.
Download and extract.
ventoy-1.0.96-linux.tar.gz
run Ventoy2Disk.sh if ventoy drive isn't already setup
copy iso to ventoy directory
run CreatePersistentImg.sh to create persistence file and put into ventoy directory.
Code:
sh CreatePersistentImg.sh --help
for options.

Set label according to here:
https://www.ventoy.net/en/plugin_persistence.html for iso dat file and give unique name to correspond with iso

run
Code:
sh VentoyPlugson.sh /dev/sdx
to add persitence to boot menu.

Last edited by colorpurple21859; 12-25-2023 at 08:11 AM.
 
Old 12-25-2023, 10:34 AM   #33
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,454

Rep: Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342
/persistence/ is a directory on the one live usb with persistence I've encountered. You do no more. Your OS makes any directories necessary and writes stuff in /persistence. So logs, home dirs, config changes, /proc and other live directories might be there.
 
Old 12-25-2023, 11:38 AM   #34
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,569

Rep: Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499
Quote:
Let it appear somewhere, anywhere but, in Ventoy, so that it can be accessed/USB.
For it to be accessible/available, you need to boot the usb with MX on it and as pointed out previously, create a mount point for Data which should be a separate partition and then mount that partition. You don't need persistence for this if you have a separate partition for data but you will need to mount it every time you boot which is not exactly a complicated process. Do you have a separate partition for your Data?
 
Old 12-25-2023, 12:36 PM   #35
Camello
Member
 
Registered: Apr 2021
Location: USA
Distribution: MX-LINUX
Posts: 218

Original Poster
Rep: Reputation: Disabled
Unhappy

Quote:
Do you have a separate partition for your Data?
As we said before, when Ventoy installs itself on the USB it use all the space, formatting everything.

I don't seem to be explaining myself very well ...

Imagine I'm traveling, or I'm at work and I want to connect my *one USB* (I don't want to overload a keychain with more than one USB) to the PC they have at that place (and everywhere they use windows).

Do I make myself clearer now?

From what we have already seen, Ventoy is of no use to me at all. Thanks.

EDIT:
Maybe I should have said that it is of no use 'to me' other than just to have the data stored on the Ventoy/USB but I can't access it once I launch the system, it would be like a big storage with no interior compartments, they don't communicate ..., you have to exit one and enter the other 'from the outside' -- I can't surf the internet and listen to whatever music I have ... a big limitation.

Last edited by Camello; 12-25-2023 at 03:24 PM.
 
Old 12-25-2023, 07:36 PM   #36
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,763

Rep: Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764
Quote:
Originally Posted by Camello View Post
@wpeckham,



This is what I have been raising from the beginning, now you conclude it as definitive.

Ventoy fails to do it, so if there is no other tool in Linux, the issue is not solvable, except maybe someone, an expert, who could manage to do it manually 'somehow'...

Thanks
You make the incorrect conclusion from misunderstanding the message. My fault, I should have made this more clear. You WANT the Ventoy and menu boot process to ignore your documents, otherwise it treats them as media to boot from: not a good idea. You want them unchanged by Ventoy so that you can access them from the running operating system after the boot is completed, and no matter what OS it happens to be.

What I meant to say is it is "easy", and you have taken that to mean "impossible".

As always with Linux, "There is more than one way to do it!". You just need to pick one and pursue it.

Last edited by wpeckham; 12-25-2023 at 07:49 PM.
 
1 members found this post helpful.
Old 12-25-2023, 10:24 PM   #37
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,392

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
Quote:
As we said before, when Ventoy installs itself on the USB it use all the space, formatting everything.
The xxx.dat file created with CreatePersistentImg.sh is a persistence container file to store data from the running ventoy iso. The xxx.dat file can be mounted from another linux system to access the data if needed.

Last edited by colorpurple21859; 12-25-2023 at 10:27 PM.
 
Old 12-26-2023, 01:01 AM   #38
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,763

Rep: Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764
Quote:
Originally Posted by Camello View Post
As we said before, when Ventoy installs itself on the USB it use all the space, formatting everything.
True enough, but we have all the tools we need to CHANGE that to reduce the partition Ventoy uses to free space for a new partition.

I consider that needless, I just add a folder which is easier, but either way is commonly done by people who play with these things.
 
Old 12-26-2023, 06:00 AM   #39
Camello
Member
 
Registered: Apr 2021
Location: USA
Distribution: MX-LINUX
Posts: 218

Original Poster
Rep: Reputation: Disabled
Unhappy

Quote:
... so that you can access them from the running operating system after the boot is completed ...
Yes, that is what i need! -- otherwise, as I said, it would be a great limitation.

Quote:
What I meant to say is it is "easy" ...

I think we are going in circles ... Is it easy for an expert or is it easy for a non-expert?.

On my part, I have no idea 'how' I could achieve it, I do not see the "easy" in this matter.
 
Old 12-26-2023, 10:29 AM   #40
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,569

Rep: Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499
If you are familiar with gparted (partition managing tool), you could try using it when booted into your MX23 installed to the hard drive you referred to earlier. You could then plug in the usb drive you are trying to use for the Linux OS and data and shrink the partition on which Ventoy has installed it. After doing this, you can then create another partition you can use for data. The link below is to the gparted manual site. Scroll down the table of contents to the resizing a partition section and read through it.

https://gparted.org/display-doc.php%...%3Dhelp-manual

We can't give you any more specific information as we do not know how many drives you have or how many partitions on the drives or which drive is the one you want to change. I had a flash drive with 3 Linux iso files on one partition, all of which booted using Grub and I shrunk that partition to create another partition just for data which can be accessed by mounting it from any of the 3 live systems. I would expect you could do the same but I have no idea if using Ventoy will have an impact as I never use that type software but simply install Grub to boot.
 
Old 12-26-2023, 11:26 AM   #41
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,454

Rep: Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342
I can't resist pointing out that this is nearly certain to fall short, no matter what reason you have for creating it.

In theory, it sounds cool. In practise, you spend your time trying to remember how to do X or Y in this particular distro only to find that Z isn't set up yet so it doesn't work. So you boot another, and remember you actually detest this one. So as you slip off into another reboot, you realize how slow access to a usb is. Then you remember all your discussion & effort setting them up and asking yourself why you bothered.

Most of us find one or two distros we like well, and get familiar with them.
 
Old 12-26-2023, 03:19 PM   #42
Camello
Member
 
Registered: Apr 2021
Location: USA
Distribution: MX-LINUX
Posts: 218

Original Poster
Rep: Reputation: Disabled
Unhappy

I once did this operation for an OS partition but apparently Ventoy doesn't support it, I mean:

Quote:
"Click and hold the arrow at either end of the graphic area. Drag the arrow left or right within the display range".
The graphic arrow/bar is immovable, it does not obey ...
 
Old 12-26-2023, 03:51 PM   #43
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,392

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
Move files off ventoy partition, delete ventoy partition, recreate at a smaller size Ventoy partition, move efi partition over next to ventoy partition, add data partition to end of drive, move files back onto ventoy partition.

Last edited by colorpurple21859; 12-26-2023 at 06:02 PM. Reason: updated
 
Old 12-27-2023, 04:35 AM   #44
Camello
Member
 
Registered: Apr 2021
Location: USA
Distribution: MX-LINUX
Posts: 218

Original Poster
Rep: Reputation: Disabled
https://www.linuxquestions.org/quest...1&d=1703673174

Quote:
delete ventoy partition
delete ventoy partition?
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2023-12-27_05-31-49.png
Views:	11
Size:	82.0 KB
ID:	42288  
 
Old 12-27-2023, 05:15 AM   #45
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,392

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
Quote:
delete ventoy partition?
Yes

Delete sda1 Ventoy partition, recreate sda1 at a smaller size exfat at beginning of drive labeled Ventoy, move sda2 VTOYEFI over next to the new exfat partition sda1, create data partition at end of drive. Will get a warning about moving beginning of partition when moving the efi partition. I did a test before posting.

Last edited by colorpurple21859; 12-27-2023 at 05:20 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can I make a USB hard drive bootable with same procedure to make USB stick bootable? Tem2 Linux - Hardware 1 02-16-2019 08:25 AM
[SOLVED] If I dd copy a bootable usb drive to an iso will the iso be bootable? mgallatin Linux - Software 5 03-23-2011 04:46 PM
Creating bootable CDROM from a bootable USB drive seaquesttr Linux - Desktop 2 08-01-2010 11:57 AM
Making a USB stick bootable from a bootable cdrom cwwilson721 Slackware 2 10-23-2009 09:18 PM
How to make a bootable DVD along with RPMs azgs Linux - Newbie 1 09-06-2007 08:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration