LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-30-2020, 02:41 PM   #1
will41
Member
 
Registered: Jul 2020
Posts: 73

Rep: Reputation: Disabled
Make Live USB with persistence of different Distro


I'm using Fedora 32 Cinnimon. I have a need to make a live USB with persistence of a different distro. Fedora Media Writer does not support persistence and the livecd-iso-to-disk utility does not work for any other distro except Fedora. I'm not sure, but I don't thing that dd will support persistence either and I'm great at working on the command line. Can someone suggest how I might do this?
 
Old 08-30-2020, 03:05 PM   #2
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,507

Rep: Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656
Quote:
Originally Posted by will41 View Post
I'm using Fedora 32 Cinnimon. I have a need to make a live USB with persistence of a different distro. Fedora Media Writer does not support persistence and the livecd-iso-to-disk utility does not work for any other distro except Fedora. I'm not sure, but I don't thing that dd will support persistence either and I'm great at working on the command line. Can someone suggest how I might do this?
Yes.
Actually, the best way is to NOT depend upon the current host OS for anything other than creating the USB drive. Read up on the persistence requirements of your LIVE os and satisfy those.

That said, there are DOZENS of tools and ways to make the live-cd usb device. I prefer the ones listed in my signature (because they do not even require unpacking the ISO image, you just make the USB drive then copy the ISO into the right place), but there are many tools that will work.

It MAY be easier or harder than average depending upon the target OS you plan to use. What is your target distribution?

Last edited by wpeckham; 08-30-2020 at 03:10 PM.
 
Old 08-30-2020, 04:23 PM   #3
will41
Member
 
Registered: Jul 2020
Posts: 73

Original Poster
Rep: Reputation: Disabled
As I said, I'm currently using Fedora 32 Cinnamon. I need to make a live usb with persistence of Kubuntu. I quickly skimmed through the doc for Ventoy. I can't say that I totally understand it yet, but it appears to be a good way to do it. I'll study it a bit more and, perhaps, give it a try. If I understand it correctly, it is nice because nothing but the installation file has to be installed into Fedora.
 
Old 08-31-2020, 05:25 AM   #4
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan with some Tiny Core, Fatdog, Haiku, & BSD thrown in.
Posts: 5,442

Rep: Reputation: Disabled
If you run Kubuntu live, there should be a way to do it all from the menu, (at least, there used to be).
 
Old 08-31-2020, 08:07 AM   #5
will41
Member
 
Registered: Jul 2020
Posts: 73

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by fatmac View Post
If you run Kubuntu live, there should be a way to do it all from the menu, (at least, there used to be).
Can you elaborate some? Kubuntu live is what I need to create with persistence. I can make one without persistence usng dd in Fedora, but I don't know how to add the persistence. Are you saying there is a way to add persistence after the Kubuntu live usb is created?
Thanks
 
Old 09-01-2020, 07:23 AM   #6
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,507

Rep: Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656
I much prefer good documentation to movies, BUT there seem to be an abundance of videos corrupting the results of most searches. This one pertains to E2B https://www.youtube.com/watch?v=dIvbb9135m4 and should work for any Ubuntu based distro (including Kubuntu). This uses a mnu file, which is pretty easy and well illustrated. It might work for most others that support persistence, but I have not tested that.

Documentation here https://www.easy2boot.com/add-payloa...h-persistence/


Ventoy persistence (using a json file) (which is also pretty easy) is discussed in the documentat here : https://ventoy.net/en/plugin_persistence.html

There are a gazillion (it seems, mostly poorly done) videos for creating a live-usb persistent device containing ubuntu from ubuntu. These should work for any *buntu variant (I have not tested) but I could not find one for Fedora. If you can get the proper tools installed, or find one that does not require *buntu specific tools, it should work from Fedora just as well.

I can point out a likely candidate if you wish.

Last edited by wpeckham; 09-01-2020 at 07:32 AM.
 
Old 09-01-2020, 08:34 AM   #7
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan with some Tiny Core, Fatdog, Haiku, & BSD thrown in.
Posts: 5,442

Rep: Reputation: Disabled
Quote:
Originally Posted by will41 View Post
Can you elaborate some? Kubuntu live is what I need to create with persistence. I can make one without persistence usng dd in Fedora, but I don't know how to add the persistence. Are you saying there is a way to add persistence after the Kubuntu live usb is created?
Thanks
You used to be able to boot from a *buntu live & use that to create a persistent one by using a second pendrive - long time since I've used any *buntu distros though.


https://wiki.ubuntu.com/LiveUsbPendrivePersistent

https://askubuntu.com/questions/1051...-more-than-4gb

https://www.howtogeek.com/howto/1491...b-flash-drive/

Last edited by fatmac; 09-01-2020 at 08:37 AM.
 
Old 09-01-2020, 11:02 AM   #8
will41
Member
 
Registered: Jul 2020
Posts: 73

Original Poster
Rep: Reputation: Disabled
fatmac, I thought about trying that, but I don't have but the one spare usb stick and didn't want to make a special shopping trip to get another. Sometime, I'll get some extras and give it a try. In the meantime, you have both given me lots of info to digest.
My purpose is to look for distros that do a good job of supporting touchscreen control.(Fedora Cinnamon does pretty well). Out of the box, Kubuntu has very little touchscreen support. I thought that doing a system update and other configuration changes after making the live usb it might load some configuration that would improve it. Hence, the need for persistence.
 
Old 09-01-2020, 12:30 PM   #9
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan with some Tiny Core, Fatdog, Haiku, & BSD thrown in.
Posts: 5,442

Rep: Reputation: Disabled
Perhaps you could remaster a live distro to contain all the necessary drivers, without having to use persistence(?).

Or maybe, just install a distro that has the support, to your pendrive(?).

Last edited by fatmac; 09-01-2020 at 12:32 PM.
 
Old 09-01-2020, 01:59 PM   #10
will41
Member
 
Registered: Jul 2020
Posts: 73

Original Poster
Rep: Reputation: Disabled
Yes. Unless there is a better way, I'm trying to use the pendrive with persistence for testing. Once I find one that works well, I can then do a re-master. I have searched around for this information, but so far, I haven't found anything definitive. It seems to me that the distros and configurations that support touchscreen gestures should be known by this time. The Fedora 32 Cinnamon Spin works better than anything I have found so far. Having said that, I should say that Gnome3 also seems to work well, but I didn't care for it. So, I didn't use it very long.

Last edited by will41; 09-01-2020 at 02:06 PM.
 
Old 09-01-2020, 09:48 PM   #11
Golf4Fun
Member
 
Registered: Jan 2009
Posts: 34

Rep: Reputation: 2
Ventoy
 
Old 09-02-2020, 06:57 AM   #12
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,507

Rep: Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656
Quote:
Originally Posted by will41 View Post
Yes. Unless there is a better way, I'm trying to use the pendrive with persistence for testing. Once I find one that works well, I can then do a re-master. I have searched around for this information, but so far, I haven't found anything definitive. It seems to me that the distros and configurations that support touchscreen gestures should be known by this time. The Fedora 32 Cinnamon Spin works better than anything I have found so far. Having said that, I should say that Gnome3 also seems to work well, but I didn't care for it. So, I didn't use it very long.
Revisit post #6

You may not have noticed, but there are instructions linked there for using VENTOY and E2B for creating or modifying your USB device AFTER installing VENTOY or E2B on it to run images using persistence. Unless I misunderstand totally, that IS your goal.

An advantage of E2B and VENTOY are that they allow you to run more than one ISO from the same USB device. You can load up one, or multiple, instances from the boot menu of the USB device and select the one you want: any of them using persistence that support persistence and that you have configured to use persistence.

That mens you can try kumuntu, xbuntu, a newer Fedora, or other distributions.

The limit is the number of ISO files that will fit on your device without fragmentation. (I rarely fill on over 60% full.) Since live-cd images tend to be small, that still allows for a lot of images on one device.
 
Old 09-02-2020, 08:45 AM   #13
will41
Member
 
Registered: Jul 2020
Posts: 73

Original Poster
Rep: Reputation: Disabled
Yes. I did notice that. And, it appears that they will do what I need. I just haven't yet had a opportunity to study the instructions. I am not very command line astute. So, I need some free time to try understanding what to do. I may be posting some questions about that.
 
Old 09-24-2020, 01:43 PM   #14
will41
Member
 
Registered: Jul 2020
Posts: 73

Original Poster
Rep: Reputation: Disabled
Finally getting back to this little project. I have run the Ventoy script creating a USB drive and have copied two .iso files to it. It works great allowing me to choose either .iso from a menu to run live. However, I am having trouble understanding what I need to do regarding persistence. Refer to the Ventoy documentation page regarding the Persistence Plugin:
https://www.ventoy.net/en/plugin_persistence.html

I understand that I need to add a data file for each .iso to the ventoy directory on the USB drive. The "CreatePersistentImg.sh" script provided will create a data file or I can use one of the pre-created files provided by a link. Do I assume correctly that I should manually copy these to the /ventoy directory? The example menu at the bottom of the page seems to suggest that each file gets named according to which .iso will use them. Correct?

In the first paragraph of the page, there is a statement to "Just put a persistence data file in the 1st partition and tell Ventoy by the json configuration". I do not find a /ventoy/ventoy.json file. So, I assume I must create one. Do I just copy the example and make adjustments to the naming of the .iso and data files to fit my situation? I guess this is what links the .iso to the proper data file? I could use some specific directions here.

My plan for testing various .iso(s) is to run it from the USB and then do a complete update so that everything will be current. I will then try to make a few configuration changes to get the best touch screen response that I can. How much data file size would you recommend to allow for that.

There are some notes printed in blue near the bottom of the page. The first one is regarding "take care about the buffer". Does that simply mean to make sure the USB has enough room before adding another .iso and data file? The second has to do with distro labels (casper-rw or other?). If I want to test a distro that is not listed, how do I find out which label to use?

I know that is a lot of questions. Your help is appreciated.

9/25/20 follow-up: I found another website that provided guidance that helped me figure it out. Since I am using a .dat file for each ISO, I'm assuming that 1 GB will be sufficient. I still don't have an answer regarding the "casper-rw or other" question.

Last edited by will41; 09-25-2020 at 09:13 PM.
 
Old 12-29-2020, 01:02 AM   #15
LinDUX
LQ Newbie
 
Registered: Jan 2020
Location: FL
Distribution: Debian 10.2
Posts: 6

Rep: Reputation: Disabled
Make Live USB with persistence of different Distro

Were you able to use ventoy?

IMHO it's currently the best and simplest tool to create your USB boot source.

I've been using it for some time and loving it. It's a great tool, as previously mentioned.

It allows for booting from multiple iso files, sure one at a time, and with persistence, which is very cool.

I advise you to read this article from Logix.

Keep in mind Ventoy used to make its persistence file extension as img (persistence.img), and from a while ago on it was replaced by dat (now is persistence.dat), so wherever you see printed .img, replace it by .dat. Logix states this with additional details in his article.

Another trick (again IMHO) is when you're going to create the persistence.dat file using the CreatePersistentImg.sh script: one of the parameters in its syntax is a LABEL you may want to pass on if required for a specific iso distro file.

By default (i.e., if not explicitly entered) it will assume it is casper-rw, and this won't work for MX Linux, for instance, as MX Linux requires the Label MX-Persist. So if not added a label as parameter, it will work for Ubuntu anyways, as it will be labeled casper-rw by default.

And for my own convenience, I renamed the dat files after the iso ones, changing in the ventoy.json file accordingly as well.

Take a look at Ventoy Persistence Plugin page.

HTH,

Lindux
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Linux distro for using it as live-usb with persistence supporting nvidia 1060? udayuk Linux - Newbie 11 10-16-2018 10:10 AM
ClutchOS v12.2 A Pure Slackware 12.2 Live CD/USB with Persistence! linus72 Slackware 13 03-02-2010 07:35 AM
automatic login kubuntu live usb persistence intrepid hallve_revera Linux - Newbie 3 01-21-2009 03:18 AM
FC7 Live on USB wont write with persistence linux-stick Fedora 3 09-24-2007 03:33 PM
persistence in debian live usb ciden Linux - Desktop 0 09-09-2007 12:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:12 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