LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-03-2018, 07:18 PM   #1
69Rixter
Member
 
Registered: Jan 2014
Location: central Ohio
Distribution: BionicPup 8 & LM 19.1X
Posts: 320

Rep: Reputation: 10
Adding persistence


Well, one problem solved which leads to another.(is this the U.S. congress?) I needed to use Rufus to make the usb live stick. That solved the lagging/freezing/broken pks./poor O.S. operartion issue. NOW, I'm having difficulties adding persistence to the LM18.3x (Rufus doesn't support it) Anyways, I've tried 2 different methods and both encountered problem/failed. So, if anyone here has added persisrtence successfully, I'd sure like to hear from you and hope you'll offer some guidance.I've been around the net and well...would rather hear from "experience".

Rick
 
Old 06-03-2018, 08:04 PM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Create your bootable stick with YUMI (https://www.pendrivelinux.com/yumi-m...t-usb-creator/), choosing persistence when adding your Mint 18.3 ISO. One drawback - due to a current limitation, for this to work you're going to need to run YUMI in Windows (a VM will do). Use a FAT32-formatted USB stick.

https://forums.linuxmint.com/viewtopic.php?t=223002
 
Old 06-03-2018, 08:17 PM   #3
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Which methods have you tried, and how did they fail? Did you try unetbootin or multisystem?
 
Old 06-04-2018, 01:40 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
www.pendrivelinux.com has a few ways to add in that file and add it.

They also have a few programs that may work better to just make a new live usb with persistence.

Might be time to just create a real usb install.
 
Old 06-04-2018, 02:42 PM   #5
69Rixter
Member
 
Registered: Jan 2014
Location: central Ohio
Distribution: BionicPup 8 & LM 19.1X
Posts: 320

Original Poster
Rep: Reputation: 10
Adding persistence

RE: AwesomeMachine

I've tried these 2 (so far): http://www.bleepingcomputer.com/foru...shdrive/--line #27. "no such file or directory"

http://www.askubuntu.com/questions/3...-more-than-4GB -- this method would not "boot"

I have to use Rufus. Pendrivelinux, Unetbootin and LiLi all produce an O.S. that's inoperable/incompatible w/computer. Have not tried "dd" for I'm not familiar with it.
Saw this: https://www.youtube.com/watch?v=TLoYBobVpO0 and thought "hmmmm...maybe", but have not tried it...yet.


RE: hydrurga:

Interesting and informative article(link provided) but 2 questions. Why Yumi? and did you happen to read the 2nd post in that thread? Exactly the problem I experienced.


THANX for responding/information!!
 
Old 06-04-2018, 07:04 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
I generally do not use dd to create a usb.

I make a DVD and use it to install to a usb. (remove data or power from internal drives)
 
Old 06-17-2018, 03:41 PM   #7
69Rixter
Member
 
Registered: Jan 2014
Location: central Ohio
Distribution: BionicPup 8 & LM 19.1X
Posts: 320

Original Poster
Rep: Reputation: 10
Hey All:

OK, I've created a "live" LinuxMint 18.3X using multiboot. I tried to create an extended partition and for whatever reason(s), GParted would not allow it(?) So, fine...I'll just create a casper-rw file/folder. Now, once I create that, what O.S. file should I house it in? And since I cannot find a casper-rw file anywhere else, then I don't have to delete or modify any other files? Oh... and once created, casper-rw will automatically(???)be recognized and used accordingly?

THANX
 
Old 06-17-2018, 04:44 PM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Is the Live Linux Mint on a usb drive? Were you booted into it when you tried to modify the partitions on the usb? That won't work. With the usb in the drive, boot into another LInux system or use another Live DVD with GParted to resize, shrink and create partitions. You can create a casper-rw partition of any size if you use a Linux filesystem. I think there is a limit on the size of the casper-rw file but not sure.

If you are using an Ubuntu derivative, a casper-rw partition should be recognized by it or any major Ubuntu derivative. If you are doing a casper-rw file, put it on Mint or some other Ubuntu you are using. The casper-rw file/partition is specific to the various Ubuntu systems.
 
Old 06-17-2018, 06:56 PM   #9
69Rixter
Member
 
Registered: Jan 2014
Location: central Ohio
Distribution: BionicPup 8 & LM 19.1X
Posts: 320

Original Poster
Rep: Reputation: 10
adding persistence

OK, got casper-rw partition (or should it be /casper-rw?)made and now must configure some lines of code in order to make it recognize that partition. I looked at a tutorial for Ubuntu, but LM boot/grub file was a tab bit different, so I didn't use that set of commands. Anyone know what and where I must change the lines of code so that the O.S "sees" and uses the persistence?
 
Old 06-17-2018, 07:21 PM   #10
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
The partition label should be: casper-rw
The only thing that should be different from a standard Ubuntu grub.cfg file and a Mint grub.cfg file would be the menuentry line with the name. Not sure what differences you are referring to.

In order for the MInt iso to see the persistence, you will need to add the word: persistent to the end of the kernel line in grub.cfg, that is the line beginning with the word linux. That will work if you are booting the iso with Grub. Since you created the iso as read-only using Rufus, you will need to do this on each boot. Some other software can create a bootable persistent usb, I don't believe Rufus does that.
 
Old 06-17-2018, 07:56 PM   #11
69Rixter
Member
 
Registered: Jan 2014
Location: central Ohio
Distribution: BionicPup 8 & LM 19.1X
Posts: 320

Original Poster
Rep: Reputation: 10
RE: yancek

I see I must "update" my thread. I've created the live O.S. w/ "multisystem"...if that makes any difference? I'll try configuring the grub.cfg. and see if that works. If not, then....my gawd, it's back to the drawing board! OK now....here's the "kernel line(I think), so would persistence go at the end of the code line? code:Site: http://boot.kernel.org/index.html
#Téléchargement: http://boot.kernel.org/gpxe_images/gpxe.lkrn
menuentry "BKO (boot.kernel.org)" {
search --set -f /boot/img/gpxe.lkrn
linux16 /boot/img/gpxe.lkrn <---(here) ?

THANX yancek!
 
Old 06-18-2018, 05:50 AM   #12
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Quote:
linux16 /boot/img/gpxe.lkrn
That is the kernel line so I would try it there. Doesn't look like a standard grub.cfg entry so I doubt this will work. I've never used multisystem so I don't know.

The different software which creates persistent Linux systems needs to be done at creation time. If not, you get this problem, needing to enter 'persistent' on every boot.

Not sure what your end goal is, if you want a usb with one Linux system and if your drive is large enough (16GB+), doing a full install would be simpler.

If you want multiple Linux systems, some software such as YUMI or multisystem apparently can do this.

Another option would be to create a small boot partition and install Grub. This would require you to create your own grub.cfg file from a template. You could then create a casper-rw partition of a size you want using a Linux filesystem and then create a third partition to which you could simply copy the iso file directly without the need for third party software. There are numerous sites explaining how to directly boot an iso from grub2.
 
Old 06-22-2018, 03:42 PM   #13
69Rixter
Member
 
Registered: Jan 2014
Location: central Ohio
Distribution: BionicPup 8 & LM 19.1X
Posts: 320

Original Poster
Rep: Reputation: 10
OK...this has gone too far. What in the hell is wrong? I've done EVERYTHING suggested, many more I've found online and no matter what, can't get this damn pendrive set up to operate LinuxMint live/persistence. I do mean I've tried EVERYTHING. C'mon...no way it can be this complicated. My latest endeavour was to use Rufus to create LM 'live" and pendrivelinux to create casper-rw, then I partitioned the drive off so I could use the rest of it (11.6GB)for other storage. NOW, it won't boot! I know Linux and I know it has not and does not have to be this complicated. Pendrivelinux, Unetbootin and LiLi will NOTcreate an O.S. that operates correctly, Rufus and Multisystem create an operable O.S. but no persistence. I will AGAIN post the specs...perhaps someone/anyone will see something in those that will explain all this mess. }Dell Optiplex 9020/7020 running Win7 -- Lexar 16GB(2.0) pendrive. Have tried systems LM17.3 - 18.3Xfce/Xubuntu 16.04-17.10-18.04. I've also tried "full installations" of 2 of those O.S.'s and they also failed to boot. It's NOT the pendrive, I KNOW, for I've done too many tests on it(and others)and know they are operating as they should. Somewhere in all this, I believe the problem/answer lies in the MBR setup. But that's just my thought, and I haven't found anything that explains how to set up the MBR to accept UEFI/Legacy...the way Rufus and multisystem do. This is a "project" that NEVER should have turned into a "project". PLEASE help...I know there are those here that have the simple solution.

THANKS

Last edited by 69Rixter; 06-22-2018 at 03:45 PM. Reason: addition info
 
  


Reply

Tags
usb live persistence



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
Allow persistence on USB joellapointe1717 4MLinux 3 11-04-2017 09:28 AM
[SOLVED] how to use persistence drunkenfist MEPIS 4 09-07-2017 08:23 PM
[SOLVED] USB persistence DVOM Linux - General 5 11-04-2016 02:00 PM
persistence file Pedroski Linux - Software 1 06-04-2014 07:34 AM
Live CD Persistence ArthurDent Ubuntu 4 10-29-2006 03:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:50 PM.

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