User Feedback :: Best Image / Config for simple disk cloning?



Quote (humpty @ Nov. 15 2007,22:05)
i think he wants to know how to make a custom cd.

No kidding!  Best part is I enjoy making "material" expressions of gratitude.  It doesn't qualify me for "last of the big spenders" but the responsiveness I've seen here so far has prompted my first donation to the DSL cause.

In cases where helpful individuals won't take money for their labor on my behalf, I usually make "tribute" contributions to Doctors Without Borders.

Back to the question at hand:  I'd seen the "noscsi noideraid nosound nousb nofirewire noicons minimal nomce noapic noapm lowram" options in isolinux.cfg and figured I would need some help in the editing of that file.

http://damnsmalllinux.org/wiki/index.php/Cheat_Codes

Thanks for the cheatcode tip.

roberts:  inline in bootlocal.sh

Thanks for that.  Yes I love simple.

I want to assure you that I AM in over my head, which is why I make no secret about being happy to pay for help with stringing the pieces together.

It's been several years since I diddled with Slack and FVWM95, and as my life since seems to have revolved around making Windows (Win2k) work, I've forgotten much of what little I had memorized.  "One of these days" I'm going to make OS upgrading to 64-bit Linux a priority, but I do have this particular chore to finish first ...

I absolutely love the idea of small, simple and fast, and so the motivation behind DSL appeals to me.

Thanks again all around.

Once you have the basics of what (boot codes) and where (to place your script), it is very straight forward to make a custom CD with mkmydsl.

The next step in the process is that of makeing an extension of the custom /opt/bootlocal.sh. That is just make a tarball of it. Test this setup of boot codes and mydsl loading of the script (tarball). If it works then running mkmydsl will produce a new cd of your setup.

For getting the most out of isolinux.cfg:

Change the first line "DEFAULT dsl" to "DEFAULT lowram"
Then edit the most bottom APPEND line, the one right below "LABEL lowram"

For the codes, I'd add "idecd". It skips the scsi stack normally used and uses the ide drivers straight, resulting in a little faster transfer

Quote (roberts @ Nov. 16 2007,05:17)
Once you have the basics of what (boot codes) and where (to place your script), it is very straight forward to make a custom CD with mkmydsl.

The next step in the process is that of makeing an extension of the custom /opt/bootlocal.sh. That is just make a tarball of it. Test this setup of boot codes and mydsl loading of the script (tarball). If it works then running mkmydsl will produce a new cd of your setup.

OK, the first of a few specific questions about isolinux.cfg file.

With 16 megs, what value should I use for the ramdisk?

With this low amount of RAM, I guess I won't be using the toram option ...

So I just drop in "lowram" as the default and live happily ever after?

I assume there'd be no particular problem with deleting all but the few labels I'm interested in using (?)

---

DEFAULT linux24                      
APPEND ramdisk_size=100000 init=/etc/
TIMEOUT 300                          
                                   
PROMPT 1                            
DISPLAY boot.msg                    
F1 boot.msg                          
F2 f2                                
F3 f3                                
                                   
LABEL dsl                            
KERNEL linux24                      
APPEND ramdisk_size=100000 init=/etc/
                                   
LABEL memtest                        
KERNEL memtest                      
APPEND initrd=                      
                                   
LABEL dsl-txt                        
KERNEL linux24                      
APPEND ramdisk_size=100000 init=/etc/
                     

....

APPEND ##############################

I think the ramdisk_size value is ignored, at least DSL calculates the ramdisk size based on available memory.

Yeah, feel free to remove all the label sections you don't need. Leave dsl and lowram, though ;)

Next Page...
original here.