SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2015-09-02 16:22:06

subject546
Member
Registered: 2015-03-10
Posts: 35

[SOLVED] Debian jessie persistent live USB

Last edited by subject546 (2015-09-03 15:58:45)

Offline

Be excellent to each other!

#2 2015-09-02 17:08:14

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: [SOLVED] Debian jessie persistent live USB

Which ways have you tried?

The way that works for you is the "correct" way wink

Offline

#3 2015-09-02 17:33:06

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: [SOLVED] Debian jessie persistent live USB

Offline

#4 2015-09-02 17:33:18

subject546
Member
Registered: 2015-03-10
Posts: 35

Re: [SOLVED] Debian jessie persistent live USB

i tried the 3d entry..
i was a bit skeptical about the other ones because of difference i versions and such..
sorry for the strange naming of option 5... i did not try it jet.. i named it this way because the tilte says "for Non-Techies"
lol when i look back at that post now it seams stupid monkey

anyway i will give number 5 a try and thx for the quick response

subject546

Offline

#5 2015-09-02 17:44:09

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: [SOLVED] Debian jessie persistent live USB

Offline

#6 2015-09-02 18:20:56

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: [SOLVED] Debian jessie persistent live USB

Offline

#7 2015-09-02 18:50:11

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: [SOLVED] Debian jessie persistent live USB

Offline

#8 2015-09-02 19:30:52

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: [SOLVED] Debian jessie persistent live USB

Crash and burn on that one at the step to chown the persistence partition. I'm also still not sure if the file needs to be persistence.conf or live-persistence.conf. I might come back to that, but on to the last link for now.

Offline

#9 2015-09-02 22:38:03

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: [SOLVED] Debian jessie persistent live USB

sudo /sbin/install-mbr /dev/sdX

Last edited by hhh (2015-11-07 13:14:09)

Offline

#10 2015-09-02 22:50:18

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: [SOLVED] Debian jessie persistent live USB

Yup that all seems good! I'm going to run through it again one more time to triple-check, but it seems solid.

I look forward to some feedback on this (especially from a wheezy user).

Offline

#11 2015-09-02 22:56:13

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: [SOLVED] Debian jessie persistent live USB

@hhh

Great work! If it seems good, then it should be a Sticky HowTo! smile

Offline

#12 2015-09-02 23:00:43

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: [SOLVED] Debian jessie persistent live USB

Thanks! As usual with everything Debian Live, it was a PITA to figure out. Let's wait for some feedback.  smile

Offline

#13 2015-09-03 02:10:36

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: [SOLVED] Debian jessie persistent live USB

Offline

#14 2015-09-03 02:17:25

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: [SOLVED] Debian jessie persistent live USB

^Exactly, please.  smile

Offline

#15 2015-09-03 03:01:19

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: [SOLVED] Debian jessie persistent live USB

Just an aside, to echo something to a root-owned file, there's this alternative to changing to root with su:

echo / union | sudo tee persistence.conf

(That space between / and union should be there, right?)

Offline

#16 2015-09-03 03:04:27

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: [SOLVED] Debian jessie persistent live USB

/ space union, yes. Nice tip!

Offline

#17 2015-09-03 09:32:10

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: [SOLVED] Debian jessie persistent live USB

On boot:
"MBR
This is not a bootable disk. Please insert a bootable floppy and
press any key to try again ..."
Same on two machines.

Hint:
When I plugin the usb on a running system it gets mounted as

/media/Debian wheezy-DI-b1 i386 1

so it looks as if the parent Wheezy system has interfered somewhere. The stuff inside mostly looks like Jessie though.

Also, I wondered if you might have omitted a couple of 'umount' commands, after mounting and doing stuff with the partitions? Especially, before

mount /dev/sdX2 /mnt

shouldn't there be a

umount /mnt

?

Even saying that - I did it twice, the second time with the umounts and it made no difference.

I'll try it one more time on a Jessie box.

Offline

#18 2015-09-03 12:40:59

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: [SOLVED] Debian jessie persistent live USB

@johnraff, I was afraid that it wouldn't work on wheezy. You did have the boot flag set on your first USB partition?

The unmount command was left out intentionally. When I tried unmounting at that point, I got a "drive currently in use, more info may be found in..." message (sorry, I didn't copy it, I will when I do more testing). I tried pulling the drive and reinserting it at that point, the drive was then identified as /dev/sdc on my system. Weirdness.

I added your tweak to the tutorial.

Offline

#19 2015-09-03 12:57:54

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: [SOLVED] Debian jessie persistent live USB

Offline

#20 2015-09-03 13:27:28

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: [SOLVED] Debian jessie persistent live USB

Gah! The drive was busy because I hadn't cd'd out of it. tongue Post updated.

Offline

#21 2015-09-03 15:56:35

subject546
Member
Registered: 2015-03-10
Posts: 35

Re: [SOLVED] Debian jessie persistent live USB

Offline

#22 2015-09-03 18:15:18

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: [SOLVED] Debian jessie persistent live USB

Offline

#23 2015-09-12 18:48:25

plemil
Member
From: Värnamo, SWEDEN
Registered: 2015-09-09
Posts: 17

Re: [SOLVED] Debian jessie persistent live USB

MBR
vesamenu.c32: not a COM32R image
boot:

Offline

#24 2015-09-12 19:23:21

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: [SOLVED] Debian jessie persistent live USB

Great that you got it working! Too bad it took 4 tries, but better late than never.  tongue

Offline

Help fund CrunchBang, donate to the project!

#25 2015-09-12 19:59:32

plemil
Member
From: Värnamo, SWEDEN
Registered: 2015-09-09
Posts: 17

Re: [SOLVED] Debian jessie persistent live USB

I consider four times a smal issue compared to my big issue (different thread) smile
Hopfully someone else can make it in the first go instead with the help of my tries.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo