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 save data , if i boot from USB< Next Oldest | Next Newest >
Sajith Offline





Group: Members
Posts: 3
Joined: Dec. 2005
Posted: Dec. 31 2005,12:57 QUOTE

Hello DSL friends,

I am new to DSL and Linux. I have insalled DSL 2.0 in my 128 MB pen drive successfuly. It works perfect. I want to use DSL to learn Shell scripting. Now i have a question, if i create a file ( say shell scripting file ) where will it save ? Will it save to the bootable USB drive ?

Also, i have noted that , if i down load any file from internet, it goes to/RAMDISK/DSL . where is this located ? in side USB (sda1) ?
Or, will these files be lost when i restart the PC ?

Please note that i do not have ANY HDD in my system, i am completly depend on USB drive and an external HDD.

Thank you,
Sajith
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Dec. 31 2005,19:06 QUOTE

The answers really depends on how DSL was installed to the pendrive.
Hopefully it was with one of the DSL provided scripts.
That way we have a known starting point.

If it is a USB-ZIP then typically you would have an sda1 and sda2,
if it is a USB-HDD then typically one single sda1

Now for saving stuff, there are really two areas:

Large static applications, i.e., myDSL extensons.
These are typically downloaded to /tmp,
If you wish to keep some or all you should copy them over to
to the pendrive, as user root, or use emelm as super user
to /sda2 for USB_ZIP or /cdrom for USB-HDD  
You can optionally make a directory called /optional and
copy less used extensions there.
A menu will be created but they won't all load into ram.

The second type is the personal files in /home
Such as the shell scripts that you mentioned.
They are included in the system backup
As well as some of the shared files in /opt.
The process to have complete control on which files are to be included
are controlled by a list file called .filetool.lst and excluded by a file called .xfiletool.lst.
The backup device is shown by using the control panel and using the Backup/Restore button.

We wouldn't want to the use backup and restore process to save large static mydsl extensions as it would be too slow and would be constantly re-writing, when nothing changes. Also would not be good for flash type devices like pendrive. So we write once and ready many for the extenions.

Read Getting Started for more details.

HTH
Back to top
Profile PM WEB 
1 replies since Dec. 31 2005,12:57 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: How to save data , if i boot from USB

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