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: (2) </ [1] 2 >/

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

reply to topic new topic new poll
Topic: Customizing pendrive boot system, adding a MyDSL app to the boot pendrive< Next Oldest | Next Newest >
JohnH Offline





Group: Members
Posts: 46
Joined: Mar. 2006
Posted: Mar. 10 2006,17:11 QUOTE

Booting with "dsl toram"  DSL 2.3 RC1 from a pendrive  (using USB bootfloppy)
Hardware:
Gateway E-3200 440BX chipset, Pheonix BIOS 4 ver 6
PII-450, 512Mb ram
128Mb Apacer handy Steno 1.1 Pendrive

                                                                                                                                                                                                                                                   The system boots with a failure to change to cdrom2 warning


I always have to reload Audacity though for every reboot. Sometimes I will not have internet and want to customize my pendrive so audacity is already loaded at boot.

Here is what i try to do:

1. left click MyDsl > multimedia > audacity1.2.2 > download
2. audacity icon appears onto desktop
3. right click Emelfm > Emelfm super user
4. navigate in left pane to /ramdisk/tmp
5. navigate in right pane to /mnt/sda1
6. click Mkdir button
7. type /opt in dialog windo click ok
8./mnt/ sda1//opt directory appears in right pane
(no other files show in /mnt/sda1 though)
9. doublw click on new /opt directory to open it
10. Highlight audacity.tz file in left pane (/ramdisk/tmp directory)
11. click copy
12. right pane shows audacity copied into /mnt/sda1/opt directory
13. close Emelfm and reboot
14 after boot up the new directory and copied audacity file does not appear.
Back to top
Profile PM 
doobit Offline





Group: Members
Posts: 912
Joined: July 2005
Posted: Mar. 10 2006,17:28 QUOTE

The /opt directory in the pendrive is compiled in the knoppix image, and therefore is not permanent. The persistant /home and /opt are for a Frugal install to a CF disk or hard drive with a bootloader, like grub or lilo.
You have different options with the pendrive install. One is to create a new directory called /optional (not opt) under the top directory in the pendrive. This is a good place to put all of your regular dsl extentions that you want to save and open seperately using the mydsl button.
The other option is to copy to the /cdrom folder. This folder is writable and is the place that DSL will look for myDSL extentions if you specify mydsl=???? in the boot options to load any extentions that are in there automatically at boot. Make sure you have enough RAM to hold them if you decide to do that.
Also, you may add the full path to an application in your .filetool.lst and /opt/bootlocal.sh scripts to have them start at bootup. Audacity needs to run as root to work properly anyway, so put it in the /opt/bootlocal.sh script.


--------------
"Help stop internet piracy...use Linux!"
Back to top
Profile PM WEB MSN 
JohnH Offline





Group: Members
Posts: 46
Joined: Mar. 2006
Posted: Mar. 10 2006,20:05 QUOTE

Quote (doobit @ Mar. 10 2006,12:28)
...
You have different options with the pendrive install. One is to create a new directory called /optional (not opt) under the top directory in the pendrive. This is a good place to put all of your regular dsl extentions that you want to save and open seperately using the mydsl button. ....

OK I'll try that. How will I get the /optional directory onto the pendrive?
How do I make the system look there when I click MyDSL instead of looking on the internet site?
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Mar. 10 2006,20:20 QUOTE

The toram option confuses things.
In a normal boot from pendrive, you can copy extensions to the writeable /cdrom as it, the pendrive (sda1), is mounted as /cdrom and is writebale as root. Extensions copied this way will auto load at boot time.
You can, as root, also make an optional directory,e.g., /cdrom/optional and a menu will be made for these optionally available extensions, i.e., not autoloaded but on the mydsl menu.

Using toram option, the pendrive is no longer mounted as /cdrom. You would have to manually mount /mnt/sda1 to be able to write to the pendrive. Which is now /mnt/sda1 and NOT /cdrom. It does not make much sense to make an optional directory on the pendrive for auto menu creation if the pendrive is booted toram as the pendrive becomes unmounted. You can still have the autoloaded extensions via a copy to /mnt/sda1

This interplay caused by using toram works the same as a mydsl.iso with /optional and booted to toram.


Edited by roberts on Mar. 10 2006,20:22
Back to top
Profile PM WEB 
doobit Offline





Group: Members
Posts: 912
Joined: July 2005
Posted: Mar. 10 2006,21:23 QUOTE

These options are set up when you install. I still need to try one with the new script for toram. I was going to do that last night but I didn't get a chance. I'll try again tonight.

--------------
"Help stop internet piracy...use Linux!"
Back to top
Profile PM WEB MSN 
6 replies since Mar. 10 2006,17:11 < Next Oldest | Next Newest >

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

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Customizing pendrive boot system

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