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: Automated Restore from USB Drive, rstoring from USB drive< Next Oldest | Next Newest >
Rapidweather Offline

Group: Members
Posts: 375
Joined: Jan. 2004
Posted: Jan. 24 2004,16:04 QUOTE

Hello all, I am new to this board, and am working with DSL on a Toshiba 4015CDS, and use a Dell 64 MB usb drive.
Here is the procedure I now use to restore:
First, when DSL boots up, I open a terminal, and sudo su
Then I
#mount /dev/sda1 -t ext2 /mnt/usbdrive
Now I can go to the menu, and click on File Restoration > Restore.
I have Mozilla Firebird 7, and it takes a short while for all of that to
Then I go to Menu > Enhance > Icons and when the icons are on the desktop, I have one for MozillaFirebird.
I use the opened terminal that I used to mount the usbdrive (above) to connect to the internet with wvdial.
That works very well, but I wonder if anyone has a quicker or easier way to do all that.
I'm not running DSL on a Hard Drive, I
use the Live CD, as I am not permitted by the owner to partition this Drive..     :laugh:

Rapidweather Remaster of DSL:
Rapidweather Remaster of Knoppix Linux:
Back to top
Profile PM WEB 
roberts Offline

Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Jan. 24 2004,16:50 QUOTE

I am curious as to why you usb device has an ext2 partition?
The standard is vfat. If you change the partition back to vfat, then the liveCD system will work easier for you. You will be able from the first boot prompt to use:

knoppix restore        or even better if you have the memory
knoppix restore toram

If you like the icons,  uncomment the enhance line (delete the '#' )  in .xinitrc
Once that is backed up on the usb device, then you can boot into a fully restored and enhanced desktop. As for the dial-up there are some changes in the works there too.
Back to top
Profile PM WEB 

Posted: Jan. 24 2004,20:51 QUOTE

I'm going to try that. As I think this thru, I have to leave this machine running with DSL on it, and remove the stick I have, and get it formatted to vfat on another machine. Before I do that, I need to save my filetool.lst to a floppy, so I can copy it back to the newly formatted vfat memory stick. That filetool.lst has the instructions I'll need to make the first .gz backup file. The other backup plan is to copy the files to /dev/hda1, and I can get them back if need be. Currently,  my .gz file  is about 11 MB, as I have MozillaFirebird. If I reboot in  this machine, to Windows 98, I can do the format to vfat, but then I lose my DSL add-on's and configurations. I have a Windows XP box, but that probably cannot do a vfat format. XP will automatically recognize the memory stick without additional drivers, but Windows 98 can't, and needs a driver. I have that on this machine, but I gotta plan carefully,  of course.
I had heard about Knoppix Restore, and tried it, but it didn't work, apparently because of the ext2 fs.  :;):
Back to top

Posted: Jan. 24 2004,21:33 QUOTE

I couldn't get it to work. I copied my usb files to the windows partition for safekeeping while I reformatted the usb drive to vfat in Windows 98. Then, while I was booted into win98, I copied the files back to the memory stick.
Then I rebooted into DSL, and tried to mount the stick with both  of these lines:
#mount /dev/sda1 /mnt/usbdrive
that didn't work, said "it's not a valid block device"
so I tried:
#mount /dev/sda1 -t vfat /mnt/usbdrive
That didn't work either. So, in a terminal I went to /sbin, and
#mkfs /dev/sda1 (That puts an ext2 fs on the stick)
Then I copied my saved backup.tar.gz and filetool.lst from /dev/hda1,
and was then able to mount the drive and restore.
No idea why it would not work, but looking over my notes, I find that
the stick was used in a windows XP machine, and that I could not mount it
the first time around, so decided to format it to ext2 fs. That worked.
I tried anyway, the possibility to use knoppix restore at the boot prompt was
worth the effort, and no harm was done.   :laugh:
Back to top
roberts Offline

Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Jan. 25 2004,01:01 QUOTE

The system was designed to have a totally automated restore from sda1 and vfat. When you buy the device it normally sda1 and vfat. I could not automate writing to a device that is sda1 and ext2 because that would be more likely a real live scsi disk. I would have to prompt for the device and then that is another boot question that I am trying to avoid. I use my usb vfat device for a hands free restore of Mozilla, bash_profile, xsetup, monkey and its files, and all that.

My question for you, is that when you formatted it in Win98 did make a partition? Some devices can be formatted with no partition. It would then be mounted as /dev/sda  That still would not allow for total automation. You would have to make a partition and then format it. Like I said when you purchase a device they usually come pre-formatted and partitioned as sda1 and vfat.

Also, be aware that you should not use the usb device as a real hard drive. They have a limited write ability same as flash devices. Using it as a live drive will shorten its life considerably and failure will occur without warning. Then it is unuseable. This has been discussed on this board. Also there is an article about such in the Decemeber Linux Journal, "Floppies for the New Millennium" which discusses the proper use of usb devices. That is the other reason why the backup restore script is the way it is. It treats usb devices like a super big floppy.
Back to top
Profile PM WEB 
8 replies since Jan. 24 2004,16:04 < 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: Automated Restore from USB Drive

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