You are not logged in.

#41 2016-10-19 17:49:55

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,067
Website

Re: [SOLVED] Cannot create a USB stick with persistence

Tony wrote:

can I run update on this usb and keep it updated?

I wouldn't think so, the installed packages are "hard baked" into the squashfs (or whatever Debian uses these days) so you would have to un-squash it, update the packages then re-pack the image.

Offline

#42 2016-11-06 19:32:39

linux_user
50/50 it's a spam account
Registered: 2016-11-04
Posts: 484

Re: [SOLVED] Cannot create a USB stick with persistence

I created the USB stick following the process posted by hhh, I even did the last step,

syslinux -i /dev/sdX1 -d /syslinux

However the USB is not persistent. It indeed boots a live environment, but not persistent. These are the errors I see while booting up the live environment.

mount: mounting /dev/sda on /live/persistence/sda failed: No such device
mount: mounting /dev/sdb on /live/persistence/sdb failed: Device or resource busy
mount: mounting /dev/sdc on /live/persistence/sdc failed: No such device
mount: mounting /dev/sr8 on /live/persistence/sr8 failed: No such device

Here's the screenshot

I do see persistent.conf  file with the text /union in it in the persistent partition.

Last edited by linux_user (2016-11-07 03:43:11)


"Blind faith to authority is the greatest enemy of truth."

Offline

#43 2016-11-07 15:25:19

linux_user
50/50 it's a spam account
Registered: 2016-11-04
Posts: 484

Re: [SOLVED] Cannot create a USB stick with persistence

Any suggestions?


"Blind faith to authority is the greatest enemy of truth."

Offline

#44 2016-11-07 17:42:20

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED] Cannot create a USB stick with persistence

justin_mathew wrote:

Any suggestions?

That you use the actual drive name that you want to mount. "/dev/sdX1" is a generic label that is unlikely to exist on your system!

hhh wrote:

MAKE SURE YOU USE THE RIGHT DRIVE LETTER....


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#45 2016-11-07 18:53:22

linux_user
50/50 it's a spam account
Registered: 2016-11-04
Posts: 484

Re: [SOLVED] Cannot create a USB stick with persistence

I am sorry, I straight away copied that code from hhh's post. When I made the USB stick, I had entered it as sdc.

I figured out what I did wrong. While using gparted, the label I entered for the ununsed partition was persistent instead of persistence. Therefore the code sudo sed -i 's/\(append boot=.*\)$/\1 persistence/' syslinux/live.cfg wasn't properly executed.

I now created it again, this time it worked a little ahead showing me a log in screen to log in. I logged in using the username: user and password: live (both credentials accepted), however I do not see any desktop as such. Bunsenlabs default wallpaper appear, and then screen turns into grey (Bunsenlabs theme color). Only the mouse pointer is active.

Right click works. I can open terminal, firefox etc.. from the lists. However there is no desktop I can view.

When i click exit, , It asks me a prompt to exit open box. How ever during log in the default desktop is xsession, not openbox.

Last edited by linux_user (2016-11-07 19:18:41)


"Blind faith to authority is the greatest enemy of truth."

Offline

#46 2016-11-07 19:25:53

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED] Cannot create a USB stick with persistence

Sounds like you haven't set up the new $USER's settings. Is there a ~/.config etc, with the relevant skel files?

To set up a new user with the BL defaults, then run "bl-user-setup"

Last edited by damo (2016-11-07 19:31:00)


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#47 2016-11-07 22:18:55

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: [SOLVED] Cannot create a USB stick with persistence

hmm I'm wondering can this process be done without using gparted but regular cli parted instead?


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#48 2016-11-07 22:40:50

Bearded_Blunder
Dodging A Bullet
From: Seat: seat0; vc7
Registered: 2015-09-29
Posts: 1,146

Re: [SOLVED] Cannot create a USB stick with persistence

From all the trouble and help posts I've seen regarding "Live with persistence", I wonder why people bother, to just have to recreate every time there's a kernel upgrade, given that installing bunsen directly onto a USB stick is a simple as making sure you pick the correct place when you partition and format during setup.  I've done so more than once, have a laptop behind me right now that uses a USB stick rather than a HDD simply because the drive caddy is missing, so no internal drive.


Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me

Offline

#49 2016-11-07 22:53:09

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: [SOLVED] Cannot create a USB stick with persistence

Bearded_Blunder wrote:

From all the trouble and help posts I've seen regarding "Live with persistence", I wonder why people bother, to just have to recreate every time there's a kernel upgrade, given that installing bunsen directly onto a USB stick is a simple as making sure you pick the correct place when you partition and format during setup.  I've done so more than once, have a laptop behind me right now that uses a USB stick rather than a HDD simply because the drive caddy is missing, so no internal drive.

That was literally my next question..what's the big deal and advantage of doing live with persistence rather just a normal persistent install on the usb?


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#50 2016-11-08 02:02:25

Tony
Member
From: Saskatchewan, Canada
Registered: 2016-04-22
Posts: 15

Re: [SOLVED] Cannot create a USB stick with persistence

Horizon_Brave wrote:
Bearded_Blunder wrote:

From all the trouble and help posts I've seen regarding "Live with persistence", I wonder why people bother, to just have to recreate every time there's a kernel upgrade, given that installing bunsen directly onto a USB stick is a simple as making sure you pick the correct place when you partition and format during setup.  I've done so more than once, have a laptop behind me right now that uses a USB stick rather than a HDD simply because the drive caddy is missing, so no internal drive.

That was literally my next question..what's the big deal and advantage of doing live with persistence rather just a normal persistent install on the usb?

I have always thought it was because the live USB runs mainly in memory while the install pages the USB drive and it will have a very short life span. I could be wrong though.

Offline

#51 2016-11-08 07:51:06

linux_user
50/50 it's a spam account
Registered: 2016-11-04
Posts: 484

Re: [SOLVED] Cannot create a USB stick with persistence

damo wrote:

Sounds like you haven't set up the new $USER's settings. Is there a ~/.config etc, with the relevant skel files?

To set up a new user with the BL defaults, then run "bl-user-setup"

Yes, indeed there is a .config folder with these inside...

However when I run bl-user-setup from terminal (if that's how it should be run), I get this error,

bash: bl-user-setup: command not found

See screenshot.

For all those who wonder why a live USB persistent stick, many reasons... In my case, I broke my laptop and now I use our home computer for my work using the USB stick. I don't want to enter the wifi passwords, download Firefox add ons and fix many other settings every time I log in. Also, I can have some files saved on the persistent disk for my next log in.

Secondly, I didn't know it was such a hard thing to make a live USB persistent stick when all I the experience I have in making a persistent live stick was checking on the persistent button ( Ubuntu through Universal USB installer).


"Blind faith to authority is the greatest enemy of truth."

Offline

#52 2017-04-22 18:08:35

linux_user
50/50 it's a spam account
Registered: 2016-11-04
Posts: 484

Re: [SOLVED] Cannot create a USB stick with persistence

It's been long, and I had to make a persistent live USB stick again. Tried the steps here and this time it worked. smile

Last edited by linux_user (2017-04-26 21:15:48)


"Blind faith to authority is the greatest enemy of truth."

Offline

#53 2017-04-22 18:47:48

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED] Cannot create a USB stick with persistence

linux_user wrote:

....

It's been long, and I had to make a persistent live USB stick again. Tried the steps in the above mentioned url and this time it worked. smile

That's good news. Next time you post though, please don't quote such a big chunk of text - just link to the post (r-click the day/time for the url). Then folk can read it if they want to, and not have to scroll for miles to see what you have said.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#54 2017-04-23 07:48:26

linux_user
50/50 it's a spam account
Registered: 2016-11-04
Posts: 484

Re: [SOLVED] Cannot create a USB stick with persistence

damo wrote:

That's good news. Next time you post though, please don't quote such a big chunk of text - just link to the post (r-click the day/time for the url). Then folk can read it if they want to, and not have to scroll for miles to see what you have said.

Damn, I knew that, but didn't realize to use it. smile Changed it now.


"Blind faith to authority is the greatest enemy of truth."

Offline

#55 2018-05-15 19:48:28

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,036
Website

Re: [SOLVED] Cannot create a USB stick with persistence

@evangelist ( tongue ) , I don't get what you're asking. This thread discusses and describes an unofficial way to add persistence to a so-called Live USB install. Can you not boot successfully from USB? If not, post a new topic in "Basic Help and Support". See these links...

https://forums.bunsenlabs.org/viewtopic … 784#p70784
https://www.bunsenlabs.org/installation.html
https://forums.bunsenlabs.org/viewforum.php?id=2


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

#56 2018-05-16 00:07:56

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,036
Website

Re: [SOLVED] Cannot create a USB stick with persistence

JesusIsGodAlmighty wrote:
hhh wrote:

post #23

Is there other choices to try out of boot loaders that can boot EXT4 without the need of other formats like Fat?

Format the first partition using ext4 or any other option you like. You break it, no big deal since it's just a jump drive. Reformat.


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

#57 2018-05-16 06:13:57

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,558
Website

Re: [SOLVED] Cannot create a USB stick with persistence

BTW @new-member-with-religious-name, the post immediately before yours made a point you didn't seem to pick up on:

linux_user wrote:
damo wrote:

That's good news. Next time you post though, please don't quote such a big chunk of text - just link to the post (r-click the day/time for the url). Then folk can read it if they want to, and not have to scroll for miles to see what you have said.

Damn, I knew that, but didn't realize to use it. smile Changed it now.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#58 2018-06-04 08:24:48

linux_user
50/50 it's a spam account
Registered: 2016-11-04
Posts: 484

Re: [SOLVED] Cannot create a USB stick with persistence

An Update:

The max size of a Debian 8.x live persistent USB partition (marked as persistence in the steps) can only be 9999MB. Else, you get errors for which you will find no specific troubleshooting in the internet.

I realized this from Unetbootin UI while trying out many trial and error methods to get my 32GB USB driver persistence with BL Hydrogen.

The workaround is to create a partition of the remaining space of any label and file type

Eg,
1024 MB for the iso and kernel updates (fat32 file system)
9999 MB for persistence (ext4 file system labelled as persistence)
And the remaining size can be partitioned to another (or more) partitions with your file system of choice. They will act as normal partitions in the live persistent drive.


"Blind faith to authority is the greatest enemy of truth."

Offline

Board footer

Powered by FluxBB