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
 

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

reply to topic new topic new poll
Topic: how to mount the usb drive read-write< Next Oldest | Next Newest >
marianoitaliano Offline





Group: Members
Posts: 4
Joined: April 2006
Posted: April 11 2006,23:26 QUOTE

Hi

Normaly I can't create folders or copy file to main folders (such as /usr , /lib , etc ).

Is there any way to mount the usb drive read-write ?

I googled one way to do that:



Quote
when you boot into DSL the keyfob is mounted read-only, and you can’t unmount it because the DSL image is on it. This is a pain if you want to write some stuff to your keyfob while in DSL. So, i’ve fixed the problem by removing the characters -o ro from one line in linuxrc, a script contained within minirt24.gz (for those interested I used the DSL 0.9.2 version). The upside is that you can write to your fob in DSL; the downside is that you have to shutdown DSL properly if you use this, whereas if you don’t you can just switch the power right off because nothing is mounted read-write. So, if you would like to be able to write to your keyfob while booted into DSL


but its old solution (DSL 0.9.2) and doesnt work with current version of dsl

Can any one tell me how to modify the minirt24.gz file to make this work or mezbz there is another way
Back to top
Profile PM 
desnotes Offline





Group: Members
Posts: 120
Joined: Dec. 2005
Posted: April 12 2006,23:35 QUOTE

Here is something I picked up regarding the editing of the minirt24.gz file:

-Copy the minirt24.gz to /opt

-Make a backup to minirt24.gz.old at /opt

-Open a Root Shell Terminal and type the following:
gunzip minirt24.gz

mount -o loop minirt24 /mnt/test

cd /mnt/test


...let me know how it worked

desNotes

-Now edit the linuxrc file (or other files as needed)

-When modifications are complete
cd /opt

umount /ramdisk/opt/minirt24

gzip -9 minirt24

-Copy the new minirt24.gz back and overwrite the old minirt24.gz
Back to top
Profile PM 
1 replies since April 11 2006,23:26 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: how to mount the usb drive read-write

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