winjimmy
Group: Members
Posts: 22
Joined: Oct. 2003 |
|
Posted: Jan. 30 2006,18:05 |
|
I've been trying to do a DSL hd-install to a USB drive. Yes, a flash drive. No, I don't want the USB-pendrive or USB-zipdrive install. I don't want the CD image or compressed file to boot from my USB drive. I want a for-real ext2/3 partition on my USB drive, with a for-real DSL file structure and hierarchy. And yes, I read your (or someone else's) dire warnings about doing this over here http://damnsmalllinux.org/cgi-bin....;hl=usb . The gist of the warning isQuote | Don't do an hd-install of DSL on to a USB flash drive or thumbdrive.
Flash memory only allows a limited number of write commands before the memory will fail (10,000 writes or so).
If you install DSL to the USB drive and perform disk-intensive operations like SWAP file/ SWAP partition, or when you create LOG files or database files, many writes are peformed against the same area of your flash drive and it will fail soon.
| Know what I say to this warning? Big hairy deal. Big, fat, hairy, friggin' deal. I will have paid about $25 for this flash drive after rebates. If this drive only lasts me 6 months to 1 yr., but allows me to tote around my work and use a real Linux filesystem and directory structure during that time, I don't care. It will have been $25 well spent, if it allows me to do that. You know, I got ready access to an ftp server and various web storage schemes. I can back up all crucial data there, and if the $25 drive gives out, I'll just chuck it in the trash and get another. But, since my project should be finished within 6 months, another one prolly won't even be necessary.
So, now that you've got the point--the point being I want a real hd install on a USB flash drive and I dont care if it means the drive won't last until the year 2010--let's talk about how I can do that. I know ways of doing this--old-fashioned ways that involve installing to a real HD, then moving all the files over to the USB drive. But that's kinda convoluted. If worse comes to worst, that's what I will do, though. Cuz the install-to-hd script built into DSL ain't workin'. I can create ext2/3 filesystem, but copying over the files fails. Why? Is there some protection built into DSL that won't allow it to complete a HD install to a USB drive? Is there some bug (version 2.1b, btw) interfering? This is the first matter I gotta address. I'd rather not use the old-fashioned method, but would like for DSL's install-to-hd script to do this. Input on getting the routine to work on my USB flash drive will be appreciated.
Second matter is about booting. I plan on creating a GRUB boot floppy and using it to boot from the flash drive. I have some experience with creating this floppy and booting a system with it--though that project involved a regular IDE drive. But for now I anticipate I'm not going to have major problems with the floppy boot scheme.
So, hows about some help with getting the instal-to-hd script to work on my flash drive, eh? You know, save me havin to install to HD, reboot, copy everything over and so forth. It'd be much appreciated.
Thanks, James
|