Difference between revisions of "Custom OS"

From Hack Sphere Labs Wiki
Jump to: navigation, search
(Notes)
Line 4: Line 4:
 
=Notes=
 
=Notes=
  
 +
<pre>
 
<babble> but have you seen remastersys?  
 
<babble> but have you seen remastersys?  
 
<babble> or there's a fork of it, called re-linux that's also under active development  
 
<babble> or there's a fork of it, called re-linux that's also under active development  
Line 45: Line 46:
 
<babble> I haven't looked all the way through the build script  
 
<babble> I haven't looked all the way through the build script  
 
<webdawg_> hmm
 
<webdawg_> hmm
 +
<babble> or just make your normal user (it won't overwrite your home folder) and just let it crash
 +
<babble> in that case, it's a trivial crash at the end, configuring .gconf
 +
<babble> which it can't do, if there's a home folder named /home/youruser in place
 +
<babble> but it doesn't matter, since the gconf database is yours already anyway, from the install
 +
</pre>

Revision as of 09:58, 1 November 2011

Notes

<babble> but have you seen remastersys? 
<babble> or there's a fork of it, called re-linux that's also under active development 
<webdawg_> Hmm.
<webdawg_> googling.
<webdawg_> That is very interesting.
<babble> it makes a 'livecd' (or live usb drive, or whatever) out of your installed debian (or ubuntu) system 
<webdawg_> That would make making your own custom distro real easy.
<babble> and THAT will do all the stuff the regular debian and ubuntu installer(s) do, including grub setup and user config 
<babble> it's how I back up my system 
<babble> I back up to a live bootable system every couple of weeks, so if I really bugger something, I can nuke my system and reinstall it 
<webdawg_> Can you boot live from the cd and use it like it was your own?
<babble> it's no different than booting a debian or ubuntu livecd :) 
<webdawg_> It can make a distributable copy you can share with friends.  This will not have any of your personal user data in it.
<babble> it just as all of your apps installed. 
<webdawg_> hmm.  I wonder if I can have it include my data.
<webdawg_> Im sure I can
<webdawg_> nice.
<babble> yes, it's distributable, no it won't have your home directory by default 
<webdawg_> ahhhh
<babble> there's a backup option in the script that optionally includes your home if you want 
<babble> or actually, it's a subset of /home/user with essential config files. 
<babble> or if you go the 'roll your own distro' option, it makes a generic livecd user with no personal info 
<babble> (I back up my home separately with rsync; this just saves me time and hassle reinstalling all of my apps) 
<babble> if you want to use it, let me give you a couple of workarounds. 
<webdawg_> Allright.
<webdawg_> Thanks.
<babble> if you make a live iso with it, include dists and pool from an existing debian live cd. 
<babble> the scripts in both remastersys and re-linux *don't* by default and Ubiquity will hang on install without them. 
<webdawg_> hmm
<babble> as long as everything in your system is newer, it won't actually install anything out of them, but the installer will hang looking for extras to install through apt without SOMETHING to scan 
<babble> and it will leave the resulting system unconfigured and unbootable if it crashes there. 
<babble> the script generates an ISOTMP folder that it uses to build the iso image; put dists and pool from your live installer in there, and regenerate the ISO and it'll install successfully 
<webdawg_> nice.
<babble> now the OTHER bit: 
<babble> if you're installing in place with an existing user folder in /home, it will again crash at the END of the install 
<babble> trying to configure /home/user
<babble> you can get around THAT by making a dummy user in the installer, then making your regular user again once you get to a desktop 
<babble> the regular Ubuntu installer does this gracefully (I've ALSO nuked my system and installed clean, with my home folder in place, using the regular Ubuntu installer) 
<babble> I'm not SURE what remastersys is doing differently, yet 
<babble> I haven't looked all the way through the build script 
<webdawg_> hmm
<babble> or just make your normal user (it won't overwrite your home folder) and just let it crash 
<babble> in that case, it's a trivial crash at the end, configuring .gconf
<babble> which it can't do, if there's a home folder named /home/youruser in place
<babble> but it doesn't matter, since the gconf database is yours already anyway, from the install