Persistence Live System

Asked by eevargas

Is possible to create a persistence live system from a sblive image?

Question information

Language:
English Edit question
Status:
Answered
For:
Systemback Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
eevargas (eevargas) said :
#1

 My image is 6GB so I can't covert it to ISO and use the regular startup disk application.

Revision history for this message
Kendek (nemh) said :
#2

Possible, easy with ISO and Startup Disk Creator. Maybe possible too with writed .sblive, but it manually.

Revision history for this message
eevargas (eevargas) said :
#3

From 240052 'If the '.sblive' file size is larger than 4 GB, the '.iso' conversion is not possible. This is a filesystem limit.'

My image is 6GB and 'Convert to ISO' does not get enable.

How can I use 'Startup Disk Creator' with a .sblive image?

Revision history for this message
Kendek (nemh) said :
#4

Yeah, because ISO creating isn't possible, but 'Startup Disk Creator' is compatible only with ISO.
I'll look into it, and I'll explain tomorrow to see how to do things manually.

Revision history for this message
Kendek (nemh) said :
#5

I tested this methode:

https://help.ubuntu.com/community/LiveCD/Persistence#Creating_the_.22casper-rw.22_File_System

and this:

https://help.ubuntu.com/community/LiveCD/Persistence#Using_a_Loopback_File

Both work perfectly with USB writed Systemback Live system. Just edit the syslinux/syslinux.cfg and boot/grub/grub.cfg files, add 'persistent' word to kernel parameters.

Revision history for this message
MBWD (xmbwd) said :
#6

Hi Kendek. Is there any chance you would consider adding this as a feature of Systemback. I think it would be very well received.

Revision history for this message
MBWD (xmbwd) said :
#7

Alternatively, is there any way that you could provide a little more detail on how to do it manually? I am happy to do so, but could not figure it out from the links....

Revision history for this message
Kendek (nemh) said :
#8

Just create the loopback file on the pendrive, using the dd and the mkfs commands:
dd if=/dev/zero of=/mount/point/casper-rw bs=1M count=<number of megabytes>
mkfs.ext4 /mount/point/casper-rw

And add the 'persistent' word to the syslinux/syslinux.cfg and the boot/grub/grub.cfg:
syslinux.cfg:
append boot=casper initrd=/casper/initrd.gz persistent ...
grub.cfg:
linux /casper/vmlinuz boot=casper persistent ...

Revision history for this message
MBWD (xmbwd) said :
#9

Where on the pendrive? Systemback creates two partitions: SBLIVE and SBROOT. Is it on one of those, or somewhere else?

Revision history for this message
MBWD (xmbwd) said :
#10

Sorry, the previous post was referring to where to create the loopback file on the pendrive. This is all assuming that this is done AFTER creating the live usb in systemback.

Revision history for this message
MBWD (xmbwd) said :
#11

I figured out "a" way to do it. Not sure it is the "right" way, but I wanted to post it:

1) Create a Systemback live system and write it to a USB drive
2) Open Gparted and resize the partition called /SBLIVE. Just give yourself enough room on the remaining empty space to create a new partition that you will use for persistence: anywhere from 1GB to 4GB should be fine.
3) Create a new ext4 partition in the empty space at the end of the USB drive. Name it "casper-rw" (Gparted will name it "CASPER-RW", so after exiting Gparted, in terminal type "sudo e2label /dev/<yournewpartitionnumber> casper-rw ," where /dev/yournewpartitionnumber is something like /dev/sdb3/.
4) Create a persistent area in the new partition, using terminal: dd if=/dev/zero of='/media/USERNAME/casper-rw' bs=1M count=4500 (this is for 4.5GB).
5) In terminal mkfs.ext3 /media/USERNAME/casper-rw
6) Open /SBLIVE/syslinux/syslinux.cfg and add the word "persistent" (no quotes) to the boot stanza for Boot Live System
7) Open /SBLIVE/boot/grub/grub.cfg and add the word "persistent" (no quotes) to the boot stanza for Boot Live System

That worked for me. The first time I booted into this persistent mode the system was slow. The second boot was typical speed.

Revision history for this message
MBWD (xmbwd) said :
#12

Minor correction:

2) Open Gparted and resize the partition called /SBROOT

Revision history for this message
Mia Rose (miarose7878) said :
#15

Working Perfectly with ISO

https://www.domyassignments.co/

Revision history for this message
Lana Kent (lanakent900) said :
#16

Yes, it is possible to create a persistence live system from a sblive image using assignment writing help. Persistence in a live system refers to the ability to save changes made to the system during the live session and retain them upon reboot. This can be achieved by creating a persistence file or partition on the sblive image, which allows for the storage of any changes made to the system during the live session. This can be useful for users who need to make temporary changes to the system without affecting the original image. However, it is important to note that creating a persistence live system may require some technical knowledge and assistance from assignment writing help resources.

https://www.ukassignmenthelp.co/

Can you help with this problem?

Provide an answer of your own, or ask eevargas for more information if necessary.

To post a message you must log in.