Best debian to remaster into my own liveusb?
Been playing with the debian live stuff recently
debian live lxde debian live rescue debian live standard grml 2009 hag 2009 gparted live newest My aims? Debian Live fluxbox edition Hag has the most beautiful/functional fluxbox I've seen so far... Gparted live at 100mb comes with fluxbox too combining aspects of both is my objective This means probably chrooting into either/both and working out the kinks.. I could probably just unsquashfs both and rebuild too... Anyone here tried remastering live before? or any debian based distro? thanks |
this methods from the second post work for me:
http://www.debe17.com/web_pages/dean...apr08.php.html (ok: usually work :-) ) |
Very nice
I'll see if it works on grml/hag, as they are debian unstable...:) What did you do j1alu to remaster yours? which live did you use? |
Quote:
i use lh_config to create a standard-x11 system, unpack it as described in the link and add the wm`s (fluxbox and e17) and apps and all later. I`m not sure if i did it with an existing distribution yet (i dont think so, but it should work). But i sure allready did it with unstable. (if you run into trouble with live-helper im not sure if i may be of big help. as said i`m happy if i get it running. the wiki for live-helper aint bad. at how-to-section of forums.debian is a thread and theres the live-helper mailing-list; but its never easy finding info if one runs into trouble). btw: i never heard of hag, downloaded it yesterday, and it really is great. good hint. :cool: ok, good luck greetings ps: i dont think the syntax to open xnest is ok in the link, if you wanna use xnest i may give you the right way to open it. |
Yeah, Hag's pretty cool huh?
Nice fluxbox; I'm trying to make a basterdized version of Hag-0.1-20 and grml-medium-2009rc2 which is latest of both. In a way I'm cheating, cause I'm not using the build from scratch method via lh_config, etc I'm just unsquashfs'ing the grml-medium jank, chrooting in with either an already-hacked grml-medium or PMagic 4.4 on usb. and then apt-getting stuff and changing wallpapers, etc I keep getting errors permissions cause I'm trying to use a bothched together fluxbox menu, etc in home/grml; how do I change the permissions? BTW, I have been using this very incomplete how-to, from myrinix, a russian remaster of debian/sidux unstable, it's pretty cool too http://www.myrinix.com/www/index.php...d=53&Itemid=39 I'm gonna use the how-to you showed me above cause it seems to deal with permissions and stuff:) OH, can I get X while I'm chrooted??? if so, how? do I have to start the chroot from the console, no X or what happens? BTW, also, HAG won't let me auto-startx like grml does try bootcode "startx=wm-ng" or "startx=fluxbox" and it won't do it says no file somewhere? thanks |
hi,
im in the library, so a bit spare on time. i`ll check tonight or tomorrow if i may unsquash hag and let you know (but it will need a bit of time). in the link is a way to open X from within chroot with xnest, but i think it dosna work. I`ll edit this post and add the way to do it. i`ll have a look at the link you gave greetings edit: that should work, or: thats the way i do it: Quote:
Quote:
----------------- edit: mh, bad news i couldnt unpack it: Quote:
|
LOL
oh, did I forget to mention grml is squashfs-lzma? theres a bin here http://www.splitbrain.org/blog/2009-...b_without_a_cd I also found out slax 6.1.2 uses mksquashfs/unsquashfs with lzma so go get slax 6.1.2 and it's in /slax/tools folder I placed mksquashfs/unsquashfs and unsquashfs-lzma in the remaster folder and went to work:) I wannna write a script that will aotumate the process of unsquashing, adding apps, etc then resquashing it Hey check out this script for clamav livecd; it mounts/chroots and then updates clam, then resquash's everything and you end up with a updated iso cool or what? it runs off usb good too:) http://www.feedingthemachine.com/200...te-script.html http://www.volatileminds.net/projects/clamav/ we should hack at this together? you notice in hag the volume control on the flux toolbar and the "devices" menu in menu? I gotta get that stuff |
ah: squashfs-lzma
(never heard that before, but i understand now). Though i gotta slax-cd around, could you tell me a fast and easy way to install hag? (as the squashfs-lzma-tools seem to be on it too). else i`ll try to adapt the how-to install on usb. i had a short look at the clamav-script, though i dont know bash-scripting (just started of with python, but still beginner). The steps of the script seems very similar to the how-to i know. im tired now and will try later, the easiest way for me would be installing hag (or slax) in virtualbox, move the hag.iso over there and unsquash(-lzma) it from there. as i understand it worked for you? that would be cool. greetings |
OK
fast and easy grml/hag on either fat32/syslinux usb or ext2/3 grub usb You got hag iso; so just xtract or mount/copy that baby to a folder open a term and become root Quote:
go into that folder and move it's contents to usb.... If using a grub ext2 or ext3 usb, it's already got a menu.lst in /boot/grub but missing stage1, etc so, copy grub files from your system usually Quote:
if using fat32 syslinux change isolinux folder name to syslinux, there is a syslinux.cfg in /boot/isolinux here's my syslinux.cfg Code:
# use this to control the bootup via a serial port PERSISTENCE make 2 partitions on usb, one for booting and one for persistence sdb1 fat32 bootable syslinux installed labeled "GRML" sdb2 ext2 labeled "live-rw" or sdb1 ext2 or ext3 bootable with grub labeled GRML sdb2 ext2 labeled "live-rw" Not persistent GRML/Hag by default have eth0, etc disabled at boot, whats worse, even with persistent, when you shutdown it erases the file in /etc/resolv.conf/run/interface/* so that at boot, no net!!? discussed here: http://www.linuxquestions.org/questi...48#post3636648 you gotta edit stuff in /etc/network /etc/resolv.conf and /etc/dhcpd3 plus more it's hard:) Here's part of my current flux menu Code:
[begin] (Fluxbox) {} <> LOL does that work for usb or no? |
you can see the continuing effort here
http://multidistro.com/fluxboxp/fluxboxp.html Getin ready to go in deep, and start fresh and get it up to about 300mb I just added isomaster and set rox to open text files with sudo gedit and open iso's with sudo isomaster radical does that "free" output mean I'm only using 80mb? ram |
Quote:
well: i ran into some issues: a) after chrooting into the unpacked iso i had no net connection, so i couldnt install further apps or update/upgrade (gotta check the link you gave above and try it again) b) im doing it from hag-live cd (in the mounted hd-partition). i dunno with which command to pack it again (as i guess its gotta be a squahfs-lzma again ?) c) xnest did work fine might be doing it from slax is the better option. i`ll install it later, thanks for the how-to, but with fast and easy i had a shorter way in mind: say typing "install" when it boots and thats it :-) how did you do it finally? |
How did I do which?
netconnection? LOL you gotta edit copy your existing resolv.conf into /etc/resolv.conf and edit /etc/network and /etc/dhcp3 here's /etc/network/interfaces Quote:
Quote:
here's my /etc/resolv.conf/run/interfaces it puts a file there for me named eth0 and it says Quote:
then do "grml-network" or just try apt-get update also I just used mksquashfs form slax /tools folder Quote:
|
before chrooting into the unpacked iso i cp /etc/hosts and /etc/resolv.conf over to the filesystem, but that didnt work. gotta look into that a bit deeper.
(ok, i also used the usual command mksquashfs, but from within hag. its running now, so i`ll check later if it worked) no, my question was how did you configure the unpacked fs (if not with xnest) |
OH
i didn't configure it..? I just did apt-get update/install/upgrade from terminal you gotta edit stuff in /etc/default/dhcp-server /etc/default/ifplugd here's my dhcp-server Quote:
Quote:
Quote:
What I don't understand is how grml deletes my resolv.conf/run/interfaces/eth0 file at reboot, even in persistent? I'm using grml-medium-2009rc2 testing version, I believe Hag is based on 2008 or early 2009 grml? |
OH
hey, when you did xnest and got a X window were you already running X or running from command line? |
All times are GMT -5. The time now is 07:30 AM. |