LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Is using a flash drive as an editable hard drive, not just a boot disk possible? (https://www.linuxquestions.org/questions/linux-general-1/is-using-a-flash-drive-as-an-editable-hard-drive-not-just-a-boot-disk-possible-832937/)

silntdoogood 09-17-2010 08:50 PM

Is using a flash drive as an editable hard drive, not just a boot disk possible?
 
I recently acquired (another) older laptop in need of a hard drive. Lower capacity IDE laptop drives are getting hard to come by from reliable sellers. I'd like to rewire a USB port, and run it into the hard drive slot, running the system off a flash drive rather than a hard drive. I'm running in to the problem I can't find any way to set it up. The system does not support any BIOS options for messing with USB drives. Why it CAN boot off one is beyond be, it's not in the temp boot menu, but when I leave it in, it boots off USB by default. I tried loading Ubuntu, and I have tried copying the files off of a setup hard drive to the flash drive, but I have yet to be successful.

Is it even possible to run a linux off a flash drive so I can keep a desktop environment, rather than having it reset to the default ISO state every time I reboot?

SalmonEater 09-17-2010 09:02 PM

Just leave it plugged in when partitioning (i.e. with gparted) and it will "think" it is a hard drive, if this is what you want to do.

Also, you may wish to look at http://ultilex.linux-bg.org/ for some ideas.

silntdoogood 09-17-2010 09:30 PM

Quote:

Originally Posted by SalmonEater (Post 4101195)
Also, you may wish to look at http://ultilex.linux-bg.org/ for some ideas.

ULTILEX looks like exactly what I was digging for, and if it's not, I'm still going to spend a few hours messing with it.
Thanks!

Edit:
Is there something I am missing to get it to keep files and changes? Do I have to set up an online Slax drive to do so? If so, it's going to be kind of counter productive running this as I have no wifi on this old system and a functioning but broken Ethernet port. I do like the look of this distro though...

hughetorrance 09-18-2010 07:56 AM

You can use Plop to manage unsupported USB ... and you can use unetbootin found on the Parted magic live CD to install on your USB drive a persistent distro,i.e. thats a Linux operating system that keeps the changes you make. !Puppy linux is persistent as is many others including Dreamlinux.

SalmonEater 09-18-2010 08:46 AM

hughetorrance's suggestions are good. Simplest thing is to use Puppy and save to the USB flashdrive you've partitioned (i.e. one to copy OS directories to, another for your storage of files)

Aquarius_Girl 09-18-2010 08:58 AM

Quote:

Originally Posted by SalmonEater (Post 4101195)
Just leave it plugged in when partitioning (i.e. with gparted) and it will "think" it is a hard drive, if this is what you want to do.

Does this mean I'll be able to boot from it and at the same time treat it as a harddisk, each time I plug it in [after following your method of gparted] ?

SalmonEater 09-18-2010 09:02 AM

No, it doesn't. That is why the caveat ". . . if this is what you want to do."

TobiSGD 09-18-2010 09:14 AM

There a adapters available from IDE to CF-cards, maybe this is a better way to do it.

michaelk 09-18-2010 09:23 AM

What is the make/ model of your laptop?
There are live versions that run from a flash drive that can save data. http://www.pendrivelinux.com/
You can install a regular distribution to a flash drive if desired. The life of the drive may be reduced and it may run a bit slower.

Quote:

I'd like to rewire a USB port, and run it into the hard drive slot, running the system off a flash drive rather than a hard drive.
No, but you could replace your existing drive with a solid state drive. A bit more expensive then a USB flash drive but it is already rewired for you.

Aquarius_Girl 09-18-2010 01:13 PM

Quote:

Originally Posted by michaelk (Post 4101739)
The life of the drive may be reduced

That statement is frightening ! Now I think it is better for me to purchase a portable harddisk rather than a USB stick. By the way, how is USB life related to making it bootable ?

michaelk 09-18-2010 01:42 PM

They are not related but flash drives have a limited number or erase/write cycles and under normal use can last for many many years. However, journaling and swap if used will affect a flash drives life.

Aquarius_Girl 09-18-2010 02:00 PM

Michael,

Many thanks to you for the informative reply !

SalmonEater 09-18-2010 04:53 PM

09/17/10 @ 09:30 PM #3
silntdoogood said,

" . . . I have no wifi on this old system and a functioning but broken Ethernet port. I do like the look of this distro though..."

For USB to ethernet converter, see
http://www.monoprice.com/products/sub...03&cp_id=10311

Flash drives are cheap -- http://www.newegg.com/Product/Produc...82E16820183269

Ultilex is one thing, stick with it for now --
Best wishes!

silntdoogood 09-18-2010 09:54 PM

Quote:

Originally Posted by SalmonEater (Post 4101695)
...use Puppy and save to the USB flashdrive you've partitioned (i.e. one to copy OS directories to, another for your storage of files)

I want to avoid partitioning the drive for storage & OS because I will continually be file hunting and messing with settings. Some stuff I want on my desktop, some I want off form the default ISO.

silntdoogood 09-18-2010 09:56 PM

Quote:

Originally Posted by TobiSGD (Post 4101725)
There a adapters available from IDE to CF-cards, maybe this is a better way to do it.

It probably is, i was just looking at doing it this way because I have all these parts on hand right now, and I wouldn't have to put any money into the project to get it 'working'. I know it could be better, but I'm just looking for tolerable functionality.


All times are GMT -5. The time now is 04:16 PM.