503box-Live aka Lenny & 3/4 OR Debian-Live on Gas!
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
different question:
how would i install it or put it on a stick ? i know you explained such stuff different times, at minimum once to me: so a link is fine for me.
pretty simple really
couple ways to install to usb..
1) Use Unetbootin, if you already burned to cd-r, just boot off the cd and choose Unetbootin from menu.
Guide Unetbootin to wherever the iso is, and have usb mounted
then just use Unetbootin to install to USB
2) If you already have syslinux installed to USB
simply mount iso and copy contents to usb
this is another reason I also installed "isomaster"
you can use iso master, as root, to extract the iso directly to usb too!
to install to HDD, use the remastersys installer.
did that anwser the question or no??
OK, so I'm gonna get rid of netbootcd...
it should be uploaded by tonight
different question:
how would i install it or put it on a stick ? i know you explained such stuff different times, at minimum once to me: so a link is fine for me.
pretty simple really
couple ways to install to usb..
1) Use Unetbootin, if you already burned to cd-r, just boot off the cd and choose Unetbootin from menu.
Guide Unetbootin to wherever the iso is, and have usb mounted
then just use Unetbootin to install to USB
2) If you already have syslinux installed to USB
simply mount iso and copy contents to usb
this is another reason I also installed "isomaster"
you can use iso master, as root, to extract the iso directly to usb too!
to install to HDD, use the remastersys installer.
did that anwser the question or no??
OK, so I'm gonna get rid of netbootcd...
it should be uploaded by tonight
yes, the question is answered. i will go for unetbootin, as i know it best. (while syslinux i dont know at all...well: from the hearsay :-)
about the remastersys: i booted into the CD and when fluxbox was up and running i have choosen remastersys from a drop-down menu, but nothing happened (might be i have been asked for the 77-passwd, but thats it).
about the remastersys: i booted into the CD and when fluxbox was up and running i have choosen remastersys from a drop-down menu, but nothing happened (might be i have been asked for the 77-passwd, but thats it).
so, your saying it wouldn't open?
were you in the guest fluxbox or root?
Wow
check it out....
seeking better compression of the squashfs file system
I grabbed mksquashfs with lzma support from my hag-linux setup
I then squashfs'd the filesystem remastersys made
squashfs-lzma takes like 5-8 times as long to make the filesystem vs
reg squashfs....over an hour vs maybe 15min
anyway, the remastersys iso remastersys made is like 763MB
too big, this is after adding ding, mc, and the vim stuff + more
after doing mksquashfs with lzma it comes out to
.....596MB!!!!!!!!!!!
anyway, I'm now having trouble booting the mksquashfs-lzma versions
sometimes it boots, sometimes it says it cant mount /dev/loop0 on /503box/image/filesystem.squashfs
oh well, I still got it right under 700MB
with Vim and MC
so I will upload new one now
Thanks for trying. Actually the new culprit is the 4th code block in your post #6, specifically:
Code:
sed -e 's/__LIVECDLABEL__/'"$LIVECDLABEL"'/g' /etc/remastersys/isolinux/isolinux.txt.debian \
> $WORKDIR/ISOTMP/isolinux/isolinux.txt
which I have shown folded. It might make clearer code to do it like this:
Code:
IN='/etc/remastersys/isolinux/isolinux.txt.debian'
OUT="$WORKDIR/ISOTMP/isolinux/isolinux.txt"
sed "s,__LIVECDLABEL__,$LIVECDLABEL,g" $IN > $OUT
IAC, the real problem is the interaction between this site (some other vBulletin powered fora don't have it) & Konqueror 3.x.y. I suspect it's a bad CSS, but I don't know enough "modern" HTML, i.e. including CSS, to know. I'm trying to give up complaining until I see if KDE 4 fixed the problem.
Again, thanks for acting on the suggestion.
Last edited by archtoad6; 11-05-2009 at 07:35 AM.
Reason: wrong button - wasn't finished
These are all about style & improving the readability of code. I believe that good readability makes code more maintainable, even by the original author.
Code block 3
I would have made ISOTMP something lower case -- isotmp, iso-tmp, iso_tmp, or iso.tmp; then I could make $WORKDIR/isotmp a new variable, say, $ISOTMP:
Code block 4
Here I would get very extreme w/ the use of variables. I would use some 2 letter ones & make a comment about it:
Code:
## Note the use of ultra short variables in the next few lines
## They occur so frequently & over such a short span of code,
## that their brevity should help, not hinder, comprehension.
REMASTERSYS='/etc/remastersys' ## 2-stage definition for flexibility -- REMASTERSYS could move
RI="$REMASTERSYS/isolinux"
RD="$REMASTERSYS/docs"
## ISOTMP="$WORKDIR/isotmp" ## just a reminder, already defined above
ID="$ISOTMP/docs"
II="$ISOTMP/isolinux"
IS="$ISOTMP/syslinux"
# copy isolinux folder & stuff to working area (/home/remastersys)
sed "s,__LIVECDLABEL__,$LIVECDLABEL,g" $RI/isolinux.txt.debian > $II/isolinux.txt
cp $RI/isolinux.cfg.debian $II/isolinux.cfg
cp $RI/menu.c32 $II/menu.c32
cp $RI/vesamenu.c32 $II/vesamenu.c32
cp $RI/make_iso.sh $II/make_iso.sh
cp $RI/gen_iso.sh $II/gen_iso.sh
cp $RI/plpbt $II/plpbt
cp $RI/debix.png $II/debix.png
cp $RI/reboot.c32 $II/reboot.c32
# now the syslinux folder & stuff
cp $R/syslinux/syslinux.cfg.debian $I/syslinux/syslinux.cfg
cp $R/syslinux/menu.c32 $I/syslinux/menu.c32
cp $R/syslinux/vesamenu.c32 $I/syslinux/vesamenu.c32
# now the docs folder & stuff.
# find all packages installed and output this as a text file into the iso.
dpkg --get-selections > $ID/packages.txt
# now finish up by copying boot cheats text & netbootcd stuff.
cp $RD/persistence.html $ID/persistence.html
cp $RD/parameters.txt $ID/parameters.txt
cp $RI/kexec.bzI $II/keexec.bzI
cp $RI/nbinit3.gz $II/nbinit3.gz
else
I assumed that the "else" indicated a fragment of an "if" block & indented to my taste (3 spaces), as I did above in block 3.
I probably would have made "$LIVECDLABEL" something like "$LABEL" on the theory that the whole thing is about burning a live CD, so "LIVECD" is redundant. I know the idea of short variables flies in the face of C programmers practice, but I think that it works in a bash scripting environment.
I hope I didn't mess up any of the logic in my reshaping.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.