Welcome
Welcome to refracta

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!

changes in debian live and user error (solved)

Stuff that has not yet gone into the official build.

Re: overlayfs

Postby devils_debian » Wed Oct 31, 2012 10:55 pm

Pretty much the same as dzz here, except I originally installed using a Debian Live-CD, installed to HDD using the included Debian Live installer. Using Refracta Snapshot 9.0.6(1,2) and Sid updated live tools, I have created the snapshot I am typing from now.

I made the mistake of leaving live-build on my HDD as it automatically (somehow) creates, a FS copy in '/lib/live' doubling my image size. Refracta does not require Live Build as it is the Debian way of creating a snaphot (IIUC).
devils_debian
 
Posts: 8
Joined: Sat Oct 20, 2012 4:27 pm

Re: overlayfs

Postby fsmithred » Thu Nov 01, 2012 9:56 am

I was asking Dean, but I'm glad you all answered. Guess I should try it again, maybe install on hardware to remove vbox from the equation. And probably add the following to the installer exclude list:
Code: Select all
- /lib/live/config
- /lib/live/overlayfs
- /lib/live/rootfs


And probably need to do that before Jessie is stable, since there are distros that are based on Sid.
User avatar
fsmithred
 
Posts: 2101
Joined: Wed Mar 09, 2011 9:13 pm

Re: overlayfs

Postby meandean » Thu Nov 01, 2012 12:43 pm

Yea I think I need to just stick to the refracta tools. Trying to mix debian live, refracta stuff, and my stuff is too much for my old brain.


played a bit this morning...haven't convinced myself of anything yet but I think you are on the right track fsr
User avatar
meandean
 
Posts: 392
Joined: Wed Mar 09, 2011 5:16 am

Re: overlayfs

Postby dzz » Thu Nov 01, 2012 2:12 pm

viewtopic.php?f=16&t=177

I ran installer on my snapshot and posted notes there because it's about installer specifically not overlayfs.

################

Refracta does not require Live Build as it is the Debian way of creating a snaphot (IIUC).


(to avoid any confusion for newer users) LB makes a fresh live image from debootstrap and base packages, whereas snapshot only converts an existing installation.

I can't see why just having lb installed should be a problem with snapshot. Unless...

If you actually have run lb, then make a snapshot without excluding the lb build directories you created yourself, of course a ton of stuff will get included (but don't take my word for it because I don't know lb very well)
dzz
 
Posts: 647
Joined: Wed Apr 27, 2011 11:53 am
Location: Devon, England

Re: overlayfs

Postby devils_debian » Thu Nov 01, 2012 5:57 pm

Yes, you're right dzz. That is what I did. I didn't realise until some while after. Hence my separately posted confusions..
devils_debian
 
Posts: 8
Joined: Sat Oct 20, 2012 4:27 pm

Re: overlayfs

Postby meandean » Sat Nov 10, 2012 1:00 am

Still messing around, I am trying to be a bit more sane and useful this time around. My head is halfway on straight this time so...

The image is mostly wheezy, it has the 3.5 kernel kernel from experimental and the live-boot and live-config packages from unstable though.

It does not have live-build installed. I do not recall if I initially built the image with live-build or not. But I don't guess that matters one way or another.

I use the following in the isolinux.cfg file, format was stolen from a debian live wheezy image.
Code: Select all
label live
   menu label run live
   menu default
   linux /live/vmlinuz
   initrd /live/initrd.img
   append boot=live quiet splash


The problem with the user not being configured I think is due to user error on my part. An oversight regarding excludes files. Oops, my bad. Still need to test it out to be sure but I think that was it. That will be a relief as I was really freaked out about that.

In other words, most of the problem appears to be user error and the new -lib-live thing we got figured out. So that should about do it.

It does look like -etc-fstab.d should be excluded from the install. Actually the more I think about it probably just the -etc-fstab.d-live file should be excluded.

I think that is that...for now...
User avatar
meandean
 
Posts: 392
Joined: Wed Mar 09, 2011 5:16 am

Previous

Return to Experimental

Who is online

Users browsing this forum: No registered users and 0 guests

cron
suspicion-preferred