Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (6) </ 1 2 [3] 4 5 6 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: How to edit image KNOPPIX< Next Oldest | Next Newest >
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Oct. 12 2006,13:35 QUOTE

Quote
which is ERASED upon boot up for God knows what reason

I don't know where this information comes from.  The knoppix.sh script doesn't exist in DSL to begin with...it is an optional script that the user can add to the boot process if desired.  It cannot be erased if added to the ISO because ISO is read-only, regardless of how it's mounted.

As far as I know, the only Knoppix initialization script is /etc/init.d/knoppix-autoconfig, which takes care of hardware detection and then runs knoppix.sh if it's found.  The knoppix-autoconfig script can also not be erased, for the same reason.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Oct. 12 2006,14:19 QUOTE

I still cannot see how just using that 'UltraISO' program will allow you to remaster the dsl image (in /KNOPPIX/KNOPPIX)...
Back to top
Profile PM 
hrwusesdsl Offline





Group: Members
Posts: 37
Joined: Nov. 2005
Posted: Oct. 13 2006,23:51 QUOTE

APOLOGIES!    INCOMPLETE ADVICE!

Anshik, the primary Knoppix boot script is "linuxrc".  This script is packed into file "minirt24.gz."  which  is on your bootfloppy if you use a floppy, or in folder "BOOT"  on your CD or USB stick if you use ISOLINUX version of DSL.  SYSLINUX version slightly different.

"minirt24.gz"  is compressed.  On the bootfloppy, it is less than 1 MB but when it is decompressed it occupies 3-4 MB of drive space.  Thus you must first copy the ".gz" somewhere else to decompress if you are starting with a floppy.  Then   uncompress with:
gunzip   minirt24.gz

Above command will erase "minirt24.gz" and overwrite it with 3-4MB "minirt24".  Now,  "minirt24" is a ramdrive image -- ext2 filesystem.  To access the files within this image, mount the image  with
  mount -t ext2  -o loop minirt24  /t
where /t is a temporary folder created just for this mount  [["mkdir  /t"]].

After above, you will find file "linuxrc" in folder /t,  where you can edit it.  Since the ramdrive image is for a 3-4 MB drive, the folder /t must not contain more than 3-4 MB;   but there is soemthing like 500 KB of free space so you can do a ton of script editing without modifying the ramdrive parameters.  Unmounting the ramdrive then is all that is needed to leave the new contents in the image.  Than recompress the ramdrive image and you are done!

This is only for people who want to do really heavy Linux scripting.  Unnecessary for most for sure.
Back to top
Profile PM 
hrwusesdsl Offline





Group: Members
Posts: 37
Joined: Nov. 2005
Posted: Oct. 15 2006,22:16 QUOTE

Mr Hat:  Sometimes I just go off...... UltraISO utterly irrelevant in this thread!

Mr Mik:  "linuxrc" is the main boot script in most Live Linux CDs; authored by Klaus Knopper.  It is definitely in  "minirt24"   and "minirt24"  is indeed erased during boot.  At least before DSL 3 and UNIONFS.

Since I brought it up, here is more whacko irrelevancy...... You can edit ISO images with FreeDOS.  Yes, FreeDOS.  Just did it.  Program names to Google:
OMI.EXE      SHSUCDRD.EXE

One little problem with FreeDOS: I have not found a way to re-image the  ISO after editing.  It appears to me the DOS program  ISOBAR makes re-imaging possible but I have not yet verified this....
Back to top
Profile PM 
forkart Offline





Group: Members
Posts: 8
Joined: Mar. 2005
Posted: Oct. 20 2006,06:01 QUOTE

Quote (Anshik @ Oct. 03 2006,09:15)
I've install DSL on usb. I want to edit KNOPPIX image, to run my script, at the init3.
Thank you.

I use magiciso to edit knoppix iso image. it works without any problem.
http://www.magiciso.com/
Back to top
Profile PM 
27 replies since Oct. 03 2006,13:15 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (6) </ 1 2 [3] 4 5 6 >/
reply to topic new topic new poll
Quick Reply: How to edit image KNOPPIX

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code