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!

Installer option: "Do not format"

Refracta Development, Scripts, etc.

Re: Installer option: "Do not format"

Postby dzz » Sun Nov 03, 2013 3:09 pm

Thanks for the updated debs.

The "debug" full logging option (snapshot and installer) is especially useful working with Sid, however I see it's in the scripts but not mentioned in the conf files..
dzz
 
Posts: 647
Joined: Wed Apr 27, 2011 11:53 am
Location: Devon, England

Re: Installer option: "Do not format"

Postby fsmithred » Sun Nov 03, 2013 4:28 pm

Well, technically, it's not a config option, so it won't make it into the conf file, but point taken, it needs to be documented in the readme file. The readme hasn't been updated in a long time, and without even looking, I can tell you that several things need to be added. When all the loose ends are tied up, I'll release bright and shiny 9.1.0 versions of snapshot and installer.

Other thing I need to do is rewrite refracta2usb. I'm planning on removing the encryption hack, since it won't be needed for jessie/sid, and after coaching someone through using it over the phone, I want to rearrange some stuff. For one thing, right now, every step requires identifying the usb drive you want to use. That should only have to happen once. I also want to add an option to add and edit persistence.conf.

Couple of questions/requests to you, dzz:
- I think you mentioned that you wrote a hook to delete 70-persistent-net.rules. I'd like to add that.
- Might also want to add the hood for writable rootfs.
- Is there any reason why I can't remove the need for running a terminal with the script?

Now that I've typed all of that, I realize that we should probably start a new thread.
User avatar
fsmithred
 
Posts: 2101
Joined: Wed Mar 09, 2011 9:13 pm

Re: Installer option: "Do not format"

Postby dzz » Sun Nov 03, 2013 5:29 pm

Couple of questions/requests to you, dzz:
- I think you mentioned that you wrote a hook to delete 70-persistent-net.rules. I'd like to add that.

70-persistent-net.rules cause havoc when you boot a full-persistence live image in a different machine
post2885.html?hilit=70%20persistent%20net.rules#p2885

- Might also want to add the hood for writable rootfs
.
Assuming you mean hook, and "writable rootfs" means the live-media partition (usb) is writable, this still works in wheezy and current sid: http://exegnulinux.net/refracta/experim ... trd.tar.gz It merely generates an alternative initrd.custom.img (does not modify the actual system's live-boot code)

For some years, whenever someone asks official debian-live for this it gets ignored or pushed to the bottom of the "wishlist" department. There is no good reason why it must be RO with no exceptions.

- Is there any reason why I can't remove the need for running a terminal with the script?

Was (only) my preference, when I first did live-usb installers, to use xterm. I also used "pv" to show a progress bar for longer operations like copying a large iso. Shows what's going on better than a pulsating dialog.
dzz
 
Posts: 647
Joined: Wed Apr 27, 2011 11:53 am
Location: Devon, England

Re: Installer option: "Do not format"

Postby fsmithred » Mon Nov 04, 2013 4:16 pm

Yeah, I meant hook and writable live media partition. I got the tarball but haven't looked at it yet. Thanks.

Not sure the hook is needed anymore. My sid does not have 70-persistent-net.rules, but it does have the 75-persistent-net-generator.rules file. I don't know if that's because it's installed in vbox or if it's something else. I need to start keeping a list of things that are different or missing in sid.
User avatar
fsmithred
 
Posts: 2101
Joined: Wed Mar 09, 2011 9:13 pm

Re: Installer option: "Do not format"

Postby dzz » Mon Nov 04, 2013 10:25 pm

My sid does not have 70-persistent-net.rules

Mine do, seems no different from wheezy, however they are "real" installs not vm's. That was my workaround. Else every time you boot a different machine eth0 becomes eth1 then eth2... then you have to reconfigure networking manually. I never bothered with a live-config script because it only needs doing one time in a full-persist setup.

With my usb installers I tried including features like that (and editing persistence.conf).. then what was originally a fairly simple bash script got a lot larger, more complex and more work to maintain..

Anyway, there it is (patch-live-initrd) as a stand-alone script complete with "readme" file. It simply generates an alternative initrd to (optionally) boot from, with a couple of files patched in the initrd only.

Reasons I started doing usb installers: I don't like the dd method, chopping small drives into partitions, unutbootin. I do like the option to multiboot and that the device be usable on all platforms, for which we must live with the horrible FAT filesystem.
I realize that we should probably start a new thread.

Yes, somewhat OT from Installer option: "Do not format" !
dzz
 
Posts: 647
Joined: Wed Apr 27, 2011 11:53 am
Location: Devon, England

Previous

Return to Discuss

Who is online

Users browsing this forum: No registered users and 0 guests

cron
suspicion-preferred