Booting, Backup, My DSL on CDRW?


Forum: Other Help Topics
Topic: Booting, Backup, My DSL on CDRW?
started by: spark-o-matic

Posted by spark-o-matic on Mar. 20 2008,23:24
Evening,
Has anyone tried putting the whole thing on a CDRW or DVDRW?
DSL Live Boot CD, MyDSL, Optional, and Backup all in one.
THANKS,
Spark-O-Matic

Posted by ^thehatsrule^ on Mar. 21 2008,00:41
I think there were some older threads on having all that stuff on 1 cd.  I think it should still be fine.  You might want to look into `mkmydsl` for example.

The media should not matter as long as the drive can read it.

Posted by spark-o-matic on Mar. 21 2008,01:39
Awesome!!!  Thanks!
I actually don't have a burner in any of my 3 DSL boxes, but could?  Would Parted or something else produce an image usable by NERO  and that nasty W.. word?  Does something in the current version of DSL support RW and/or multipart boot?  UDF format?  For repetitivly writing the backup.  I will do further research now that I know its possable.

One of the biggest problems I have run into on support forums is:
The exact problem I have.  Rater lengthy thread. The final post is by a person providing support.  The EU never bothers to post whether they just gave up, or it worked, or how it worked!

I have some very interested customers, but hesitant to give up the known for the unknown.  Or having the time to relearn everything they know.  I am trying to work up some custom demo boot cd's based on their individual needs.  My profit comes not from the software (I an not an affiliate of anyone)! Or distribution.  It is the use of my brain.  A customer recently told me 'The two most important people in my life are my mechanic and my computer guy!'  Lovin' DSL!:D  *nix has  come a long way in the last 5 years.

Posted by ^thehatsrule^ on Mar. 21 2008,05:11
You'll want ISO image (editing) software. NERO may have one.  Note that you could always boot into DSL to create one and transfer it over, even in a virtual machine.

Again, the disc media format does not matter, or are you talking about the erasing feature of rw's?  If the latter case, you can just use any program that can do that.

Multipart? Do you mean multi-session? Multisessioned tracks should work as long as the drive can read it.  DSL should pick them up after the kernel loads.  If this works for you and you decide to use it, it would avoid looking at this post's first point.

The udf.o module should be in the latest DSL releases (see 4.2.2 changelog), but I don't recall anything on its use.

I have only done something similar on older releases.  Note that you'll probably have complications if you wanted to use just the default backup tool system.

Posted by spark-o-matic on Mar. 21 2008,13:55
Thanks.  I'm going to put a cd burner in a DSL computer and see what happens.  These two threads seem to play together for what I'm trying to do.
Posted by spark-o-matic on April 06 2008,19:45
This is how its worked so far.  I checked mkmydsl and basicly shredded it.  I broke it into is parts.  It was only needed to copy KNOPPIX and the boot image once (and there was no chance of running toram with all the extensions).  Then I copied extensions to the directory in mydsl and optional.  Added whatever I wanted to the backup but excluded the backup device file. Backed up to a hard drive partition then copied the backup to the directory.  Then edited the boot cheat codes by hand.  now reboot with dsl base norestore toram, mounted the partition with this directory and my changed version of the script which from here just creates the iso and burns it.  (remembering of course to change the cd).  I did add a line that quick blanks the cd-rw before burning.  very convenient for experimenting.

mkisofs and cdrecord are surprisingly easy to use from the command line.

I used the cheat codes mydsl=scd0 restore=scd0.  which seems to be bring back any custom configurations so far.  The only thing I noticed is mydsl is now mounted read only so optionals can't put  anything there.  But thats not a problem because they can go some place else handy   And I would more then likely want to do a short script that would load the extension and any dependencies then restore configurations from a different backup and start it.  As far as backing up files (documents etc...), I noticed some time back, but didn't pay much attention at the time, tar has a progressive backup for tape drives.  Crosses my mind that that might work for multisession.  Also noticed that cdrecord has options to unclose or blank the last session.  As long as the drive can boot, and my ancient TDK burner and my Toshiba 520 CDT have no problem booting multisession.

Thanks, I'm having more fun with this than could possibly be legal.

p.s. I have run into one other thing.  Some newer computers no longer come with a restore CD or anything and are factory set in bios to boot from hard drive first.

Posted by ^thehatsrule^ on April 06 2008,20:19
Quote
I did add a line that quick blanks the cd-rw before burning.  very convenient for experimenting.
Afaik you don't need to quick blank the whole cd, as using newer tracks that have files of the same name will be seen instead.

Quote
mydsl=scd0 restore=scd0
iirc, the cd is also autosearched for those, but this may be handy if the cd isn't necessarily the first device looked at.

Quote
p.s. I have run into one other thing.  Some newer computers no longer come with a restore CD or anything and are factory set in bios to boot from hard drive first.
I'm guessing restore CD's depends on your system builder...  Having the bios boot from hdd first could be for boot speed or perhaps a security measure.

Posted by spark-o-matic on April 06 2008,20:46
Quote
Quote
mydsl=scd0 restore=scd0
iirc, the cd is also autosearched for those, but this may be handy if the cd isn't necessarily the first device looked at.
Exactly.  Otherwise it restores from hard drive.
Quote
Quote
I did add a line that quick blanks the cd-rw before burning.  very convenient for experimenting.
Afaik you don't need to quick blank the whole cd, as using newer tracks that have files of the same name will be seen instead.
I was using just what is in mkmydsl to burn the iso.  If I don't blank first the burn fails.  I will play some more with the command line options for cdrecord.

Posted by spark-o-matic on April 09 2008,08:49
I am continuing this at
< http://damnsmalllinux.org/cgi-bin....981&st= >
I think that is where this realy belongs after reading the hacking DSL page.
thanks so much everyone

Posted by ^thehatsrule^ on April 09 2008,17:40
Quote (spark-o-matic @ April 06 2008,16:46)
Quote
Quote
I did add a line that quick blanks the cd-rw before burning.  very convenient for experimenting.
Afaik you don't need to quick blank the whole cd, as using newer tracks that have files of the same name will be seen instead.
I was using just what is in mkmydsl to burn the iso.  If I don't blank first the burn fails.  I will play some more with the command line options for cdrecord.

To add new tracks is a bit different.  You wouldn't burn an entire .iso but just the tracks that contain the updated files.  This way the burn process is much faster.  I haven't done this at the command line before though.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.