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

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

reply to topic new topic new poll
Topic: Lamer friendly DSL, modularity  of MyDSL and DSL unified< Next Oldest | Next Newest >
doobit Offline





Group: Members
Posts: 912
Joined: July 2005
Posted: Mar. 13 2006,15:52 QUOTE

I missed which type of pendrive install you did. Anyway, I've been finding, with the 2.3rc1 version that writing to /cdrom can be a little tricky. Because Of the way I want DSL to boot up (persistant apps) I've been saving them to the top directory and then adding the mydsl=sda1 cheatcode when I boot up. That way they load automatically. Robert explained that the toram chat code changes everything because you want sda1 to be unmounted after everything is loaded to ram. Then when you shutdown, the pendrive is remounted using the backup script before shutting down. The reason for that is to minimize writing to the pendrive. However, if you put mydsl=sda1 in the boot options, then sda1 is mounted at bootup to look for the mydsl apps and load them. It doesn't appear that it is then unmounted. That leaves it open for user dsl to save files to the top directory. I don't know how advisable this is because I corrupted a file system or two in the past by doing this. Anyway, I've been doing this with the 2.3RC1 pendrive HDD install on my mini-itx system and so far no problems.

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





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

Looks like there is still confusion with pendrive and toram. It actually works the same as a mydsl.iso created liveCD.

First anytime extensions are store on the base directory of a boot device they will be autoloaded. Having mydsl=sda1 is not necessary.

This is true whether using toram or not.

Using toram does not save from excessive writing on the pendrive. Whether you use toram or not, the ramdisk is used for writing. There is no writing occuring back into the compressed image on the pendrive.

Then what is the difference? Using toram, if you have the memory, will give somewhat faster performance, as it reads from ramdisk not pendrive. Also it sllows one to remove the pendrive and stick in another one. Just like it does with the liveCD.

The only effect toram has on extension  loading, is the use of the /optional directory. Since using toram unmounts the pendrive, you cannot click on the optional directory to load optional extensions, unless the pendrive is mounted.

The other area that is different is when not using toram, the pendrive is mounted at /cdrom so you can easily copy extensions there. If you use to toram, it is not mounted. So then you must mount the pendrive and copy extension to its mountpoint, typically /mnt/sda1
Back to top
Profile PM WEB 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Mar. 13 2006,21:00 QUOTE

Although I can't say this from experience, it's my assumption that another issue with using auto-loaded extensions and toram is when one or more extensions is uci.  This type is mounted rather than installed, so the partition containing the extension cannot be umounted until the extension itself is umounted.

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





Group: Members
Posts: 912
Joined: July 2005
Posted: Mar. 13 2006,21:05 QUOTE

OK, I think I get it. I have enough memory for toram, and I specified it in the boot options when I installed to the pendrive, so I need to mount /mnt/sda1 to copy newly downloaded extentions to the base directory. I have found it necessary to have mydsl=sda1 to make them autoload however. Maybe I corrupted something again, or as I just noticed Mikshaw's post, sda1 remains mounted after the boot because the extentions in the base directory are .uci extentions.

Is it possible to change boot options and make them persistant after the install?


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





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

mikshaw, you are right. Once a UCI is used the device is mounted and therefore cannot be unmounted.

doobit, I have see a post that stated the toram option is ignored when entered via the frugal install script. It has only been tested at the boot prompt. It can be verified if a mount display /dev/shm is mounted on /cdrom
Back to top
Profile PM WEB 
17 replies since Mar. 09 2006,15:38 < Next Oldest | Next Newest >

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

Pages: (4) </ 1 2 [3] 4 >/
reply to topic new topic new poll
Quick Reply: Lamer friendly DSL

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