You are not logged in.

#1 2018-08-11 14:49:26

jdjon
Member
Registered: 2018-08-11
Posts: 13

How can I achieve persistence on live USB?

Hello,

I wish a live USB with only persistent natural scrolling and specific keyboard layout. In an ideal world the rest is to be forgotten after every reboot, but not essential.

For keyboard I used

sudo dpkg-reconfigure keyboard-configuration

For natural scrolling I used "the "vertscrolldelta=-50" bit to the synclient command in ~/.config/openbox/autostart " from https://forums.bunsenlabs.org/viewtopic.php?id=1000

For persistence I followed the guide here:
https://forums.bunsenlabs.org/viewtopic.php?id=5046
it errors at

$ cd /home/username/persistence


saying it does not exist. I substituted for /media/username/persistence as in the original instructions.
The USB does not seem to have persistence and scrolling and keyboard changes do not work as expected.

Then I used the guide:
https://forums.bunsenlabs.org/viewtopic.php?id=4864
no errors (added --force to mbr)
but again, persistence does not seem to work. Also tried the suggested 'sudo dpkg-reconfigure tzdata' just to make sure it is not an issue with only keyboard and scrolling. It does not hold either.

Any advise? thanks!

Offline

#2 2018-08-11 19:05:01

hhh
That's easy!
Registered: 2015-09-17
Posts: 6,101
Website

Re: How can I achieve persistence on live USB?

https://forums.bunsenlabs.org/viewtopic … 6974#p6974

You're mileage may vary.

Note that I have no idea had to use more recent kernels once an upgrade comes through. The Debian mailing lists or maybe the Arch forums could help with that (or maybe someone here).

Offline

#3 2018-08-11 21:24:57

jdjon
Member
Registered: 2018-08-11
Posts: 13

Re: How can I achieve persistence on live USB?

hhh wrote:

https://forums.bunsenlabs.org/viewtopic … 6974#p6974

You're mileage may vary.

Note that I have no idea had to use more recent kernels once an upgrade comes through. The Debian mailing lists or maybe the Arch forums could help with that (or maybe someone here).

Thanks hhh. It is the same method as the second one I tried, and unfortunately for me does not persistence the keyboard and scrolling.

That's where I'm seeking help. I'd command line edit other files, but afaik which ones does bunsenlabs listen to for keyboard keymap and natural scrolling?

Offline

#4 2018-08-12 06:08:07

ohnonot
...again
Registered: 2015-09-29
Posts: 3,194
Website

Re: How can I achieve persistence on live USB?

jdjon wrote:

I wish a live USB with only persistent natural scrolling and specific keyboard layout. In an ideal world the rest is to be forgotten after every reboot, but not essential.

another option would be to unpack the image, change these two things only, then repack it.
i believe debian wiki has relevant information.

Offline

#5 2018-08-12 09:23:51

jdjon
Member
Registered: 2018-08-11
Posts: 13

Re: How can I achieve persistence on live USB?

ohnonot wrote:
jdjon wrote:

I wish a live USB with only persistent natural scrolling and specific keyboard layout. In an ideal world the rest is to be forgotten after every reboot, but not essential.

another option would be to unpack the image, change these two things only, then repack it.
i believe debian wiki has relevant information.

Which is what I ended up doing last night, then realised I also need wifi persistence and firefox settings persistence ... and possibly may want security updates to be persistent too. So I tried again, and again and ... the 2 methods for getting bunsenlabs persistence on a live USB. It just won't hold. Since it's reported working on Helium, I wonder what it is I am not doing right to get persistence.

Has anyone actually had success making a live USB with Helium with persistence?

Offline

#6 2018-08-12 14:07:22

jdjon
Member
Registered: 2018-08-11
Posts: 13

Re: How can I achieve persistence on live USB?

Do these instructions only work when executed from a full bunsenlabs on hard disk install?
I booted the "persistent" USB on another (slower) machine, it has a number of errors. Took a picture. Why is it trying to access persistence on mmcblk instead of sda where the USB is with the noot and persistence partitions? Can anyone help?

Picture at https://ibb.co/eensT9

Offline

#7 2018-08-12 18:03:03

hhh
That's easy!
Registered: 2015-09-17
Posts: 6,101
Website

Re: How can I achieve persistence on live USB?

OK, I misunderstood your original question. You want only keyboard layout and scrolling settings saved. No, I can't help you there. My walk-through is for persistence, period. It will save your keyboard, mouse/touchpad and all other settings across reboots.

There's a reason that walk-through is left buried in a thread with a bunch of disclaimers throughout. It worked for me and others, it failed for some.

Yes, it has worked. I posted screenshots. I ran the commands from a BL helium OS, and it should work fine from a Debian stretch system, but I haven't tested from other distros.

-Moderater hhh- Moving to BL & General Linux, this tutorial is not Basic Help, nor is it Official in any way.

Offline

#8 2018-08-12 20:09:49

linux_user
Member
Registered: 2016-11-04
Posts: 226

Re: How can I achieve persistence on live USB?

jdjon wrote:

]

For persistence I followed the guide here:
https://forums.bunsenlabs.org/viewtopic.php?id=5046
it errors at

$ cd /home/username/persistence


saying it does not exist.

Sorry, it was a typo I guess. I have corrected it.
It is actually $ cd /media/username/persistence

Last edited by linux_user (2018-11-14 15:47:52)

Offline

#9 2018-08-13 05:44:36

jdjon
Member
Registered: 2018-08-11
Posts: 13

Re: How can I achieve persistence on live USB?

I ended up using mkusb to get a bunsenlabs USB live with persistence. Would have loved for one of the two methods on the forums to work for me though :-)

Offline

#10 2018-10-13 16:53:00

linux_user
Member
Registered: 2016-11-04
Posts: 226

Re: How can I achieve persistence on live USB?

jdjon wrote:

I ended up using mkusb to get a bunsenlabs USB live with persistence. Would have loved for one of the two methods on the forums to work for me though :-)

You can create a new post tutoring how you did it using mkusb. Would help the community.

Last edited by linux_user (2018-11-14 15:48:09)

Offline

Board footer

Powered by FluxBB