Choose style:

Author Topic: Manually adding Persistence to a Peppermint 8 LiveUSB made with Rufus  (Read 1142 times)

0 Members and 1 Guest are viewing this topic.

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 19634
  • Karma: 2238
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8 Respin (64bit)
Okay, let's say you created a Peppermint 8 LiveUSB (in Windows) with Rufus, and now you'd like to add persistence to the LiveUSB so you can save changes.

Here's how....

Create your LiveUSB in Rufus using these settings:-




Okay now you should have a working bootable Peppermint 8 LiveUSB .. but with NO persistence.

To add persistence, you need to add a persistence file (casper-rw) to the root of the LiveUSB, then modify 3 text files....

Linked below you can find some already created casper-rw files (compressed) in sizes 1GB, 2GB, 3GB, and 4GB (4GB being the largest you can have on a FAT32 file system).

So download ONE of them to your PC, extract the casper-rw file, and copy it into the root of your Peppermint 8 LiveUSB .. bearing in mind the archives below are quite small, but the contents once extracted will be LARGE.

Okay, you now need to edit some text files on the Peppermint 8 LiveUSB and add the "persistent" parameter to the "Try Peppermint" menu entries.

On a 64bit Peppermint 8 LiveUSB you'd need to edit these 3 files:-
/boot/grub/loopback.cfg
/boot/grub/grub.cfg
/isolinux/text.cfg


On a 32bit Peppermint 8 LiveUSB you'd need to edit these 2 files:-
/boot/grub/loopback.cfg
/isolinux/text.cfg


You can find examples of these files also linked below .. in fact you can simply overwrite the existing files with the ones from the archives below if you wish.

Once you've made the above changes, your LiveUSB will now be persistent when you choose "Try Peppermint" at bootup.



Linked files:-
https://peppermintos.info/misc/1GB_casper-rw.zip
https://peppermintos.info/misc/2GB_casper-rw.zip
https://peppermintos.info/misc/3GB_casper-rw.zip
https://peppermintos.info/misc/4GB_casper-rw.zip
https://peppermintos.info/misc/64bit_persistence_edited_text_files.zip
https://peppermintos.info/misc/32bit_persistence_edited_text_files.zip



In short - you need ONE file called casper-rw (extracted from one of the linked files above) in the root of the LiveUSB .. and to have edited (or replaced) 2 or 3 text files.
« Last Edit: April 07, 2018, 07:03:28 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline VinDSL

  • Global Moderator
  • Hero
  • *****
  • Posts: 3650
  • Karma: 689
  • Peppermint Mod
    • View Profile
Re: Manually adding Persistence to a Peppermint 8 LiveUSB made with Rufus
« Reply #1 on: November 04, 2017, 01:13:58 pm »
Nice!

Rufus is an oldy, but goody. I use it for making bootable USB sticks, when flashing the BIOS on winders machines.

Just saying...

Offline Brotherred

  • Member
  • ***
  • Posts: 186
  • Karma: 2
  • New Forum User
    • View Profile
Re: Manually adding Persistence to a Peppermint 8 LiveUSB made with Rufus
« Reply #2 on: January 08, 2018, 01:01:29 pm »
Okay, let's say you created a Peppermint 8 LiveUSB (in Windows) with Rufus, and now you'd like too add persistence to the LiveUSB so you can save changes.

Here's how....

Create your LiveUSB in Rufus using these settings:-




Okay now you should have a working bootable Peppermint 8 LiveUSB .. but with NO persistence.

To add persistence, you need to add a persistence file (casper-rw) to the root of the LiveUSB, then modify 3 text files....

Linked below you can find some already created casper-rw files (compressed) in sizes 1GB, 2GB, 3GB, and 4GB (4GB being the largest you can have on a FAT32 file system).

So download ONE of them to your PC, extract the casper-rw file, and copy it into the root of your Peppermint 8 LiveUSB .. bearing in mind the archives below are quite small, but the contents once extracted will be LARGE.

Okay, you now need to edit some text files on the Peppermint 8 LiveUSB and add the "persistent" parameter to the "Try Peppermint" menu entries.

On a 64bit Peppermint 8 LiveUSB you'd need to edit these 3 files:-
/boot/grub/loopback.cfg
/boot/grub/grub.cfg
/isolinux/text.cfg


On a 32bit Peppermint 8 LiveUSB you'd need to edit these 2 files:-
/boot/grub/loopback.cfg
/isolinux/text.cfg


You can find examples of these files also linked below .. in fact you can simply overwrite the existing files with the ones from the archives below if you wish.

Once you've made the above changes, your LiveUSB will now be persistent when you choose "Try Peppermint" at bootup.



Linked files:-
https://peppermintos.info/misc/1GB_casper-rw.zip
https://peppermintos.info/misc/2GB_casper-rw.zip
https://peppermintos.info/misc/3GB_casper-rw.zip
https://peppermintos.info/misc/4GB_casper-rw.zip
https://peppermintos.info/misc/64bit_persistence_edited_text_files.zip
https://peppermintos.info/misc/32bit_persistence_edited_text_files.zip



In short - you need ONE file called casper-rw (extracted from one of the linked files above) in the root of the LiveUSB .. and to have edited (or replaced) 2 or 3 text files.
Are Persistence instances prone to faulty behavior in general or would manually making the instance a Persistent mode be better?

You may know that I use Multisystem and love it except for its Persistent mode.  I have heard similar criticisms of Multiboot.

Sent from my SM-N920V using Tapatalk


Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 19634
  • Karma: 2238
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8 Respin (64bit)
Re: Manually adding Persistence to a Peppermint 8 LiveUSB made with Rufus
« Reply #3 on: January 09, 2018, 09:32:01 am »
I'm not really understanding your question(s) ?

If you mean are persistent LiveUSB's less reliable than non-persistent Live-USB's .. not really .. they're obviously not as secure (won't be fully erased back to defaults by a reboot), but whether that's good or bad depends on your requirements.

If your question is "is manually adding a persistence file more or less reliable than using a LiveUSB creator that does it for you ?" .. neither, but they're becoming fewer and further between lately .. for sure the most reliable creator in Windows is Rufus but it doesn't offer persistence as an option.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline christianvl

  • Member
  • ***
  • Posts: 130
  • Karma: 19
  • The Wheel weaves as the Wheel wills
    • View Profile
  • Peppermint version(s): 8
Re: Manually adding Persistence to a Peppermint 8 LiveUSB made with Rufus
« Reply #4 on: January 10, 2018, 12:06:39 pm »
Try creating the liveUSB with Unetbootin - https://unetbootin.github.io/ - It's cross platform (Linux, Windows and Macs) and it supports the "persistence" mode.

There's lots of tools out there. I have never heard of Rufus before... Unetbootin always worked for me. There's also Fedora Media Writer (it supports any ISO, not only Fedora's), that's also cross platform (https://docs.fedoraproject.org/f26/install-guide/install/Preparing_for_Installation.html) and the Linux Live USB Creator (http://www.linuxliveusb.com/). It works, but it's Windows only.

I'm not sure I understood your post... can you describe what are you trying to do and how and what's the faulty behavior you're getting?

Sometimes we're looking for a solution in the wrong place.
There are neither beginnings or endings to the turning of the Wheel of Time. But it was a beginning.

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 19634
  • Karma: 2238
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8 Respin (64bit)
Re: Manually adding Persistence to a Peppermint 8 LiveUSB made with Rufus
« Reply #5 on: March 16, 2018, 11:20:09 am »
Unetbootin doesn't currently work with Peppermint.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec