Adding myDSL files to the iso


Forum: myDSL Extensions (deprecated)
Topic: Adding myDSL files to the iso
started by: 404

Posted by 404 on Sep. 07 2004,03:47
How to I add the packages to the iso? I tried editing the iso by when I boot the loader fails (since the size has changed). Do I burn the cd then add the pkgs later? Do I make a dir on the iso itself? I'm a bit stumped...
Posted by roberts on Sep. 07 2004,06:22
One simple way to make your custom myDSL cdrom is to do what I do. I have only a single cdrom in my machine. It is a cdwriter. So I place my DSL cdrom in and boot with this:
boot: dsl 2 toram

Then at the system prompt I type
# mkmydsl

Then follow the on screen system prompts.
You will need a hard drive with mountable partition and two directories large enough to hold the DSL image and all the extensions that you want.
For example lets say you have a partition hdc4.

1. mount /mnt/hdc4
2. cd /mnt/hdc4
3. mkdir master
4. mkdir iso
5. copy the extensions that you want to use EVERYTIME into the master directory
6. mkdir master/optional
7. copy the extensions that you want as optional into the master/optional directory
8. mkmydsl

At the first prompt enter /mnt/hdc4/iso
At the second prompt enter /mnt/hdc4/master

This is an all dsl way to make a custom myDSL cdrom.

Posted by baladret on Sep. 07 2004,08:59
I have made this process and mkmydsl script has generated an .iso file in the iso directory that I have asigned but,...
when I boot with the new cd, this boot, sacan the usb drives....I think that the cd detect all my partitions and then.....ERROR not detect the knoppix file and i can't continue.
(dsl 0.8)

(sorry my poor english)

Baladret

Posted by baladret on Sep. 07 2004,10:11
1.Can i made the same without the mkmydsl script??

2.What mean the boot-0.8.0.img in < http://ibiblio.org/pub/Linux/distributions/damnsmall/current/?? >

3.What can I do with this file??

4.Why dsl0.8 run perfetly but mydsl.iso made wiht mkmydsl don`t work???

Thanks

Posted by roberts on Sep. 07 2004,14:44
Sorry, I posted this backwards.
Quote
At the first prompt enter /mnt/hdc4/iso
At the second prompt enter /mnt/hdc4/master
But the prompts do clearly state
The first prompt geing:
Enter the directory to hold image and modules (EXAMPLE: /mnt/master):
The second prompt:
Enter the directory to hold the new iso (EXAMPLE: /mnt/iso/)

Posted by roberts on Sep. 07 2004,14:49
Quote
What mean the boot-0.8.0.img in < http://ibiblio.org/pub....8.0.img >

That boot floppy is to support older hardware. If you use that boot floppy to boot DSL, then you will need that floppy to boot the custom mydsl cd.

Posted by baladret on Sep. 08 2004,06:58
Thanks, roberts.

I boot perfectly with the "dsl0.8 base cd", but when I boot with mydsl (itīs generated with mkmydsl) then the cd detect the partitions but not the Knoppix file and the boot is stoped after trying USB ports.

Then I ask... Its possible that the ERROR  because the partition where "mydsl cd" had been compilate is fat32 (not ext2)???

Posted by 404 on Sep. 09 2004,02:01
Thanks for the info guys! That was fast =]
Posted by mikshaw on Sep. 09 2004,03:54
Quote (baladret @ Sep. 08 2004,02:58)
Thanks, roberts.

I boot perfectly with the "dsl0.8 base cd", but when I boot with mydsl (itīs generated with mkmydsl) then the cd detect the partitions but not the Knoppix file and the boot is stoped after trying USB ports.

Then I ask... Its possible that the ERROR  because the partition where "mydsl cd" had been compilate is fat32 (not ext2)???

I don't think that should matter, since the ISO is built with iso9660 file system, and not an OS-specific file system.
Posted by ypx on Sep. 09 2004,22:10
i have to report the same problem as baladret.
i tried a remaster with the mkmydsl script putting both master and iso dir on my windows me partition.
while copying files to the master dir the script reported numerous errors about being unable to maintain ownership :( .
but it kept going on and i went to boot option choosing. i answered dsl lang=fr.
then it was time to add extension files wich i did. i also modified isolinux.cfg to use my own .kbd file instead of german.kbd (thinking about it, maybe i've found the answer, as i didn't took care  to suppress exceeding # at the end of the file to keep its size constant )
the script then generated the iso, which i burned.
trying to boot from the newly burnt cd, everything went fine until cheatcode (were i found that my changes in isolinux.cfg had taken effect :) , as my azerty keyboard was allready recognised)
then it seemed to search for the knoppix file everywhere but on the cd, and fail to find it. :(
this is where i'm stuck

Posted by roberts on Sep. 09 2004,22:23
1. First of all, if you are using windows, then I cannot help you. I don't use windows, windows filesystems are not robust as Linux. If you see permission errors then that should give you a clue.

2. boot time options do not start with dsl these are appended to the exisiting system ones, so therefore use something like:

toram dma restore=hda10 mydsl=hda5

3. You do not need to edit isolinux.cfg, that is the whole point of the prompt.

I guess it won't help Windows users. You have to have at least one Linux partition with two directories to hold the image, iso, and extensions.

Posted by ypx on Sep. 10 2004,07:37
the goal of my isolinux.cfg editing was to have a french keyboard from start so that i could use henk1955 wonderfull S02dsl-config extension to make my dsl more versatile and to sort extensions...
i think i'll have to stick to < clacker's method >, as many other windows users out there

Posted by HACAO on Sep. 13 2004,02:36
Hi !

I use mkmydsl for generated the ISO file with Robert's guide. But ISO file not generated in ISO folder (generated MASTER Only )
My hard disk partition : hdb6 (ext3)

DSL is very good Live OS !

Thanks,

Posted by tecker on Sep. 13 2004,03:46
The way i make my costom DSL disks is using ISO buster in windows and poping open the cd and extracting the contents. Then i use a cdburning software, add all of the dsl extensions that i want and use the boot floppy to create the Bootable CD.

Now that has worked for me but, is there any advantages to using the myDSL script other then the ISOBUSTER/CDBURN w/Floppy method?

Posted by roberts on Sep. 13 2004,04:55
The advantages are:
1. It does not require Windows.
2. It allows a simple way to have your boot time options on the cd without editing system files, e.g., toram dma restore=hda10

Posted by HACAO on Sep. 14 2004,02:45
Thanks Robert !

But i have not hard disk for restone & i don't like using floppy disk for booting with myDSL CD (working very good!).
I would like using 1 CD myDSL only as base DSL CD 0.8.1.

No way help me ?

Thanks !

Hacao

Posted by Delta-9 on Sep. 18 2004,15:38
First, I haven't used the mkmydsl script yet, as I find multi-session simpler and quicker until I get the system perfected.  But, it sounds like I'll have to eventually, as multi-session wastes space with multiple lead-in/lead-out sequences and slows down reading to some extent.

If I understand the situation correctly, it sounds like directly editing the source .iso is history and will no longer be possible.  This is most unfortunate as it will require re-educating users who clearly already know how to add files to an .iso image.

As someone who must use M$ products more than half the time (I have this nasty addiction to income :D), I believe this issue will only occur if the source partition (containing the .dsl files and, I assume, the original .iso) is not a native Linux filesystem.  I think the target partition (holding the newly generated iso) could be any writable filesystem since the permissions would be set within the .iso image and should not be effected by the partition containing it.  Someone correct my logic if I've gone astray.

Since I am completely ignorant of what the mkmydsl script actually does, this is probably a stupid question, but ...  

If so, can the CD itself (assuming it contains the desired .dsl files ) be used as the source thereby avoiding the whole issue?

Posted by ke4nt1 on Sep. 18 2004,16:54
I think your answer is yes...

I have mistakenly left a cd in my cdrom drive that had an "/optional" and a "/storage" directory on it..
My "custom" 600MB dsl cd, with extensions, mp3's, my website data, etc..

The "mkmydsl"  uses a DSL CD for the source files when making a new custom .iso
It expects to find a pristine DSL CD in /cdrom ..

But in this case, the script made a new .iso which contained both my new additions
AND the contents of the /optional and /storage directories on the source cd..

So, ADDING files to your custom DSL disk is as easy as placing them in your
master folder, and using your already custom disk as a source..

I have several custom extensions that I use on some disks..
" allthemes.tar.gz" , "myprinter.dsl" , "myfonts.dsl"
" mywebsite.tar.gz" ,   " mybookmarks.tar.gz" , etc...
That way, I can pull what I need into the root of the "master" ,
and burn a custom disk that has what I need , or don't want to add.

73
ke4nt

Posted by Delta-9 on Sep. 19 2004,22:32
Awesome.  Thanks!
Posted by hasty on Sep. 27 2004,06:33
Just for info really, but if you do find you need to remaster under MS
the key to creating a bootable CD is to do as Tecker says and reapply the boot floppy to the CD at the end of the process.
I currently use Ultraiso but have tried several others and they all produce coasters if you just edit and save. Somehow editing seems to lose the boot linkage (don't know how or care) :)

Obviously this subject of CD creation is one for the FAQ.

Posted by tecker on Oct. 03 2004,23:40
Is there any way to create the MyDSL disk without burning 2 cds? It seems like a waste (2 cdr or time blanking a cdrw). Can you launch DSL from the iso on a harddrive and a floppy?
Posted by cbagger01 on Oct. 04 2004,12:31
Ony if you break out the ISO file into normal files.

I don't think it is possible to use a bootloader that can read directly from an *.iso file.

Posted by baladret on Oct. 07 2004,12:13
tecker,

you can first   burn the downloaded iso and boot with it

boot: dsl toram

now you can blank the cd (if it`s cdrw) and run in terminal the mkmydsl script
then you burn the new generate .iso

Well, you donīt needs 2 cd if it's CD-RW   :D

Posted by the street hacker on Oct. 14 2004,09:04
i have downloaded the damnsmalllinux which is of 50Mb and in iso format. i have write that on cd using nero. while try to install this in my pc it says boot failure. i have already change booting to cdrom. now can any one tell what the problem is. and kindly give any solution.
Posted by Rapidweather on Oct. 14 2004,11:54
You might try an older version, such as 0.6.2 or 0.5.3.1 and see if that boots. (I hope you have broadband).
I found some problems with 0.8.2 not booting on all computers.
---
:D

Posted by ke4nt1 on Oct. 14 2004,14:57
the street hacker:

Also, check the following..

Did the md5sum from DSL website match your downloaded .iso file?
Does the CD boot from any other computers?
( bad media, bad burn ? )
From any other OS, do you see these directories and files on the CD?

/KNOPPIX
/boot
index.html

What was your burn speed in Nero?

73
ke4nt

Posted by cbagger01 on Oct. 14 2004,16:07
FYI,

If you look at the knoppix 3.6 cheatcodes, the developers have added a boot command for booting directly from an *.ISO file.

So eventually DSL should support this when it gets remastered to a newer version of knoppix.  Check back here in 6 months or so.

Posted by Rapidweather on Oct. 15 2004,03:19
I added a couple of small .dsl extensions (dock apps) to the root of the cd (I suppose), in the place where index.html (Are you still using windows...) and the autorun files go (if you use them) ( I get the autorun to work only occasionally, so I have done what 0.8.2 has done, and deleted them from the remaster.)
---
When I boot the CD (remastered to include the above), the extensions are loaded (apparently), and named one by one. That is impressive and gives one a confirmation by name of each .dsl picked up by the system.
---
Now, I cannot get them to appear, or boot. I can, but I have to return to the source device, sda1, where copies of the extensions are stored.
I did not have to do "mydsl=sda1" at the boot prompt, they were picked up automatically.
---
I tried the MyDSL icon on the desktop, and unless I give the drive, sda1, then that cannot find the extensions. Also, I tried the menu, which gives the same MyDSL Click and Load GUI.
---
I cannot understand why the extensions are found and named during bootup, but not in the menu at the top under MyDSL, unless I load them
via the MyDSL Click and Load GUI, by giving it the pen drive sda1 location. So, they are not loaded from the CD when I get them to work, only loaded from the pen drive.
I boot like this:
boot: dsl restore=sda1 toram
or
boot: dsl restore=hdb1 toram
---
An associated problem: If you rename a backup.tar.gz to something like
101504_backup.tar.gz, and store it on a hard drive partition, etc., then the MyDSL system will try and load that like it was an extension. I often
store MyDSL extensions and backup.tar.gz in the root of a hard drive partition, and can do this at boot:
dsl restore=hdb1 mydsl=hdb1 toram
Then I see the error, which is apparently harmless, as the dated backup.tar.gz file is not an extension.
---
Just trying to get a good grip on the mydsl system...
---
 :D

Posted by ke4nt1 on Oct. 15 2004,03:35
Leave out the "toram" in your bootup commands, and see what happens.
Also, are you using "dsl" as your username?
The mydsl menu is built around user "dsl"  or symlinked "damnsmall"

73
ke4nt

Posted by I went to bed very late on Oct. 15 2004,11:29
I tried to produce an extended live-cd but went very very late to bed yesterday.

linux starts to boot but after a while there is an error message: KNOPPIX cannot be found.

I did the following:
- F2
- dsl toram
- open bash
- sudo su
- mkmydsl
- /mnt/hda1/master
- /mnt/hda1/iso
- copied *.dsl -> /mnt/hda1/master
- burned the cd
- reboot

I xcompared the original iso with the new iso.

On the original cd the folder KNOPPIX is written in BIG LETTERS as well as the file KNOPPIX.
On the new iso the folder knoppix is written in SMALL LETTERS as well as the file knoppix.

I was not able to change the small letters to big letters, even not when changing write permissions in emelfm. (I tried cp and mv, e.g. "mv knoppix KNOPPIX")

I used DSL rc 0.8.0 and 0.7.3.

What's the matter?

Posted by Rapidweather on Oct. 15 2004,11:47
Normally, I boot up like this:
boot: dsl restore=hdb1 toram
So, I suppose I am using the user "dsl".
I'm going to do more tests on this tonight, I did get the two .dsl extensions detected and shown in yellow when I booted up. I just can't find where they are in the filesystem, other than in the original location on the backup devices, either hdb1 or sda1. I am not sure if I have them in the
root of the CD, however. When I mount /cdrom, and then "cd" to it, and "ls", all I get is the KNOPPIX folder, and then when I "cd" to that and "ls", I get "KNOPPIX"  (itself). I'm going to reboot into Windows 98, and look at this CD in Windows Explorer. I'm thinking the extensions will appear alongside of "index.html", and are not inside of the /KNOPPIX folder. That might be the wrong place to put them, but I
do note that the Damn Small system detects them upon bootup and names them. I'll get back in here with more, tonight.
---
(Lets hope the toram bootup isn't causing any problems)
---
:D

Posted by roberts on Oct. 15 2004,20:37
Rapidweather,

I suspect that you are confusing several things. Many changes since your experience with 0.5.3.1 or 0.6.x.

First your backup probably is overwriting the deskop icons and menu items that were made during bootup. The backup is the last to be loaded.

If you to use "toram" option then only those extensions in the root directory will be loaded.  Those in the optional directory will not.

Why, because the toram option means that the cdrom is now unmounted so that it can be removed, so you can play music cds or whatever.

So, if you so desire to load an extension that you have placed in the optional directory, you must simply follow the SOP,. i.e., mount the cdrom, it will be then be mounted in the usual /mnt./cdrom.

Therefore you have your choice of using the cli such as mydsl-load /mnt/cdrom/extension_name.xxx

Or using elemfm to  navigate to /mnt/cdrom, select the extension and click the mydsl button.

Make senese when you think about it.

Posted by Rapidweather on Oct. 16 2004,02:01
I wonder if I should make an /optional directory in a remaster, and place any
.dsl files there.
My filetool.lst is this:
opt/ppp
opt/bootlocal.sh
opt/powerdown.sh
home/dsl/filetool.lst
home/dsl/.fluxbox
home/dsl/.xtdesktop
home/dsl/.xserverrc
home/dsl/download
home/dsl/upload
home/dsl/Mail
home/dsl/.sylpheed
home/dsl/.phoenix
home/dsl/.opera
home/dsl/.xmms
etc/wvdial.conf
---
So, my backup.tar.gz can overwrite .xtdesktop. Since I placed Firefox 0.8 (needed for 586) and Opera 6.03 (personal favorite) in the remaster, I did make desktop icons for them, and have used the larger
Opera icon, to match the one for Firefox.
---
Additionally, the backup can overwrite the menu, and the MyDSL entry will vanish upon application of the backup as you have mentioned.
So I need to test that, and boot without a backup, redo my Wvdial and Sylpheed, and then make a new backup.tar.gz.
---
I'm going to continue to work with this, and take all of your suggestions,
(as gospel), and see if I can get it working right. There are some complications because of my remastering of the original, but they are not
the problem here, as much as my backup.tar.gz.
---
I would like to be able to do what some others have done, and have a big bunch of extensions ready to load on the CD, as well as my usual
remastered setup.
---
 :D

Posted by cbagger01 on Oct. 16 2004,06:27
Rapidweather,

You cannot make an "/optional" directory inside the DSL filesystem and have it work.

The correct place for the mydsl files and the optional directory is inside the CDROM ISO image and NOT inside the compressed cloop filesystem.

In other words, if you viewed a myDSL CDROM from a MSWindows computer, it would look like this:

D:\
boot\
KNOPPIX\
lost+found\
optional\
index.html
opera6.1.2.tar.gz

and your optional directory might look like this:

D:\optional\
abiword.dsl
rox.dsl

So creating an "/optional" directory inside your compressed linux filesystem (IE: KNOPPIX/KNOPPIX) will not work because the files are supposed to be located directly on the CDROM itself.

Hope this helps.

Posted by PowR_TocH on Dec. 30 2004,18:26
Sure it helps I did a trial with snake.dsl file(on cd-rw) and it works out perfectly THX man!
Posted by Hacao on Dec. 31 2004,03:20
I using MagicIso (demo <300M) to add /optional with files i need ! DSL 0.91

Working very good !

So easy !

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.