LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 11-03-2009, 04:42 AM   #16
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,060

Original Poster
Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330

Quote:
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

Last edited by linus72; 11-04-2009 at 12:07 PM.
 
Old 11-03-2009, 10:38 AM   #17
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 231Reputation: 231Reputation: 231
Please don't use "[code]" for "[quote]" -- it's impossible to read in Konqueror 3.5.8, thanks.
 
Old 11-03-2009, 11:36 AM   #18
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
Quote:
Originally Posted by linus72 View Post
Code:
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).

greetings

Last edited by j1alu; 11-03-2009 at 11:39 AM.
 
Old 11-03-2009, 02:55 PM   #19
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,060

Original Poster
Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
hmmm...

Quote:
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?

it all works fine for me....?

did you get it on USB??
persistent?
 
Old 11-03-2009, 06:04 PM   #20
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,060

Original Poster
Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
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!!!!!!!!!!!

I can now add alot more stuff!

like probably 200-300MB more apps!

what should I add??

I could add openoffice full?
no?

what??///
LOL
 
Old 11-04-2009, 06:36 AM   #21
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by archtoad6 View Post
Please don't use "[code]" for "[quote]" -- it's impossible to read in Konqueror 3.5.8, thanks.
linus72,

Until you fix post #16, this entire thread will remain almost unreadable for me due to massive horizontal scrolling.
 
Old 11-04-2009, 07:05 AM   #22
manwithaplan
Member
 
Registered: Nov 2008
Location: ~/
Distribution: Arch || Sidux
Posts: 393

Rep: Reputation: 45
Quote:
Originally Posted by archtoad6 View Post
Please don't use
Until you fix post #16, this entire thread will remain almost unreadable for me due to massive horizontal scrolling.
Why dont you use Iceweasel ... or another browser.

Last edited by manwithaplan; 11-04-2009 at 07:06 AM.
 
Old 11-04-2009, 12:09 PM   #23
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,060

Original Poster
Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
oh sorry Archtoad...

I cant fix j1alu's if it now does that?

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
 
Old 11-05-2009, 01:08 AM   #24
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,502

Rep: Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883
If you installed packages during the process, the deb files are also on the drive.
Try to use
Code:
apt-get clean
to delete them.
Should save you some space
 
Old 11-05-2009, 07:27 AM   #25
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by linus72 View Post
oh sorry Archtoad...

I cant fix j1alu's if it now does that?
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
 
Old 11-05-2009, 08:46 AM   #26
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 231Reputation: 231Reputation: 231
Some other suggestions for the code in post #6

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:
ISOTMP="$WORKDIR/isotmp"
if [ "$CDBOOTTYPE" = "ISOLINUX" ]; then
   rm   -rf $ISOTMP/boot
   mkdir -p $ISOTMP/isolinux
   mkdir -p $ISOTMP/docs
   mkdir -p $ISOTMP/syslinux
else
   rm   -rf $ISOTMP/isolinux
   mkdir -p $ISOTMP/docs
   mkdir -p $ISOTMP/boot/grub
fi

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.

Last edited by archtoad6; 11-05-2009 at 08:49 AM.
 
Old 11-06-2009, 04:10 AM   #27
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,060

Original Poster
Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
Well guys
I got the new rc2 ready for download

Added MidnightCommander, lots of Vim stuff and Xnest.
Got rid of Ding and HPIJS or something.

I also changed themes/icons and tried to clean it up.

heres the download link, md5sum & info inside download rc2.zip
http://multidistro.com/deb/rc2.zip

tell me what you think?

Also, thinking I should make a Mini-503box?
maybe ~300MB LiveCD?

Archtoad, I will be using different approaches to the remastersys script
and will check out your suggesstions
thanks!

Last edited by linus72; 11-06-2009 at 04:11 AM.
 
Old 11-06-2009, 04:29 PM   #28
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,060

Original Poster
Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
Alright Gang

Did anyone check out the rc2 above?

Opinions on making a mini version?
If I took out all the priniting stuff
and others it could be less than 300MB?
 
Old 11-06-2009, 07:20 PM   #29
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
Quote:
Originally Posted by linus72 View Post
Alright Gang

Did anyone check out the rc2 above?

Opinions on making a mini version?
If I took out all the priniting stuff
and others it could be less than 300MB?
sorry linus72,
im spare on time, so i aint checking that much atm.

if you ask me bout the small-version:
Yes.Yes.Yes.

why? most of the (debian-based)-small-live-distros seem to tend to grow. and (what about dsl: is it still getting supported at all?)
greetings
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Xen Live Migration Of An LVM-Based Virtual Machine With iSCSI On Debian Lenny LXer Syndicated Linux News 0 04-30-2009 04:12 PM
Debian 5.0 (aka Lenny) released! jens Debian 16 02-15-2009 11:05 PM
LXer: Debian Lenny with Blu-Ray Images and Live CD LXer Syndicated Linux News 0 10-22-2008 04:50 AM
not HD installer on debian-lenny on live? abd_bela Debian 2 08-31-2008 08:01 AM
Is Debian 'lenny' aka 'testing' suitable for production environment? Akhran Debian 12 06-19-2007 02:35 PM


All times are GMT -5. The time now is 07:18 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration