Author Topic: Bootable Thumbdrive?  (Read 494 times)

Offline LePaul

  • Platinum Member
  • ******
  • Posts: 7988
Bootable Thumbdrive?
« on: February 26, 2008, 08:16:01 PM »
I'm seeing 8 to 16gb thumb drives these days.  I bought a 4gb a few days ago and its excellent, USB 2.0.

I was pondering using one for the robot project, if it could be done?  I've gone through a few zillion Google hits tonight and just can't seem to find a recent article that shows how to do it.

A thumb drive, with no moving parts and its speed, would be a superb replacement for a hard drive in the robot.  The power savings alone make it rather intriguing.

Anyone tried this?  Running Windows XP from a flash drive?

Offline Airscrew

  • Platinum Member
  • ******
  • Posts: 4808
Bootable Thumbdrive?
« Reply #1 on: February 26, 2008, 08:27:18 PM »
I dont know about xp, but maybe DOS or Win 3.1.   It just a drive, similar to an MP3 player, and they have little mini operating systems on them.

Offline rpm

  • Plutonium Member
  • *******
  • Posts: 15661
Bootable Thumbdrive?
« Reply #2 on: February 26, 2008, 08:57:38 PM »
I don't see why it would'nt work.
My mind is a raging torrent, flooded with rivulets of thought cascading into a waterfall of creative alternatives.
Stay thirsty my friends.

Offline OOZ662

  • Platinum Member
  • ******
  • Posts: 7019
Bootable Thumbdrive?
« Reply #3 on: February 26, 2008, 10:27:21 PM »
The larger thumb drives could hold a stripped down XP. I install XP Home on a 15gb partition on this computer; it takes up around 8.

Just remember that thumb drives have a different read/write system than a hard drive, which is pretty inefficient speed wise. However, many people make their own "clean-boot" Linux drives that they plug into public computers and boot from. They have basic software including office programs, Firefox, ect. This not only lets you save your work and work in familiar programs with familiar space, but it keeps the owners of the machine from watching your every move (like they do at my school). If the boot order is incorrect on the machine (or it's older than the idea of bootable flash drives) you might not be able to pull that off, though.
A Rook who first flew 09/26/03 at the age of 13, has been a GL in 10+ Scenarios, and was two-time Points and First Annual 68KO Cup winner of the AH Extreme Air Racing League.

Offline Yknurd

  • Silver Member
  • ****
  • Posts: 1248
      • Satan Is Cool...Tell Your Friends
Bootable Thumbdrive?
« Reply #4 on: February 27, 2008, 06:44:13 AM »
There have been Linux bootable thumbdrives for a while now.

[edit]Also, there are several Linux distributions with LiveCDs.

Pop in the LiveCD, boot the computer and the Linux installation runs off the CD.

A normal looking desktop comes up and it auto-detects your hardware, including network cards and wifi.

Nothing is installed onto the computer unless you double click on the Install icon on the desktop.  Great way to test drive a new distribution.

Only cost to you is the time to download (for free) and the CD (or maybe DVD) to burn.
« Last Edit: February 27, 2008, 06:54:17 AM by Yknurd »
Drunky | SubGenius
Fat Drunk Bastards
B.A.A.H. - Black Association of Aces High

Offline Trell

  • Nickel Member
  • ***
  • Posts: 693
Bootable Thumbdrive?
« Reply #5 on: February 27, 2008, 07:42:17 AM »
You are going to have issues getting xp to boot from a usb drive of any kind.
If you do some google searching there are some instructions on how to do it.

If you search for bartpe,  i believe they will have instructions for you.

Offline Chairboy

  • Probation
  • Plutonium Member
  • *******
  • Posts: 8221
      • hallert.net
Bootable Thumbdrive?
« Reply #6 on: February 27, 2008, 08:12:55 AM »
BartPE doesn't create an XP bootable drive, of course, it makes a WinPE bootable volume that uses components of XP (or whatever OS you have installed) to make a very pared down bootable OS.

Windows PE is probably your best bet as long as your droid OS doesn't have any wacky dependencies on files that aren't installed.  Like, it doesn't use IE, right?  There are lots of guides on how to use BartPE or PEBuilder, here's one you may have seen:

http://articles.techrepublic.com.com/5100-6346-5928902.html
"When fascism comes to America it will be wrapped in the flag and carrying a cross." - Sinclair Lewis

Offline sluggish

  • Persona Non Grata
  • Gold Member
  • *****
  • Posts: 2474
Bootable Thumbdrive?
« Reply #7 on: February 27, 2008, 08:18:25 AM »
Would it be possible to use a hacked PDA for the CPU of your robot?

Offline Chairboy

  • Probation
  • Plutonium Member
  • *******
  • Posts: 8221
      • hallert.net
Bootable Thumbdrive?
« Reply #8 on: February 27, 2008, 08:27:20 AM »
I'm guessing LePaul is planning on using some Windows software to run.  A Windows Mobile PDA can't do that yet.  There are some sub-micro PCs that are about as big that can, and he's probably heading in that direction.  I'd guess that either an old laptop or something based around a nano-itx motherboard would be the best bet.  Laptop is nice because you don't have to deal with power and stuff, just configure it to stay on when the lid is shut and have it control everything through USB.
"When fascism comes to America it will be wrapped in the flag and carrying a cross." - Sinclair Lewis

Offline LePaul

  • Platinum Member
  • ******
  • Posts: 7988
Bootable Thumbdrive?
« Reply #9 on: February 27, 2008, 09:39:13 AM »
As he pointed out ^^

Not enough peripheral connects.  I need 2-3 USB and one serial.

Linux would require a complete re-write of the DLLs for the servo controllers.

With USB flash drives getting bigger, I really think this is attainable.  Just how to get there  :)  Its effectively a less expensive solid-state disk

Offline Tac

  • Platinum Member
  • ******
  • Posts: 4085
Bootable Thumbdrive?
« Reply #10 on: February 27, 2008, 11:03:14 AM »
Why would you run a robot with Windows?


Use UBUNTU


And yes, I have my old pentium III 1ghz running out of a USB hard drive. Its really weird but the computer is significantly faster than when using a regular hard disk. I have the USB as the boot + OS + installed programs drive and the hard drive as 'hard' storage (all files not related to installed programs..aka downloaded files, saved games, documents, etc).

IMO I do not know why they havent made a computer that works 100% on USB.

Offline Chairboy

  • Probation
  • Plutonium Member
  • *******
  • Posts: 8221
      • hallert.net
Bootable Thumbdrive?
« Reply #11 on: February 27, 2008, 12:03:34 PM »
Tac, probably because there's more to building a robot than turning on a computer and saying "Klaatu, barada, nikto!"

If you're not developing the software from scratch, then you're limited to the OS that the pre-existing software runs on.  There are plenty of good robot controller programs out for Windows, he may have already picked one that does what he needs.
"When fascism comes to America it will be wrapped in the flag and carrying a cross." - Sinclair Lewis

Offline Yknurd

  • Silver Member
  • ****
  • Posts: 1248
      • Satan Is Cool...Tell Your Friends
Bootable Thumbdrive?
« Reply #12 on: February 27, 2008, 12:13:57 PM »
Quote
Originally posted by Chairboy
Tac, probably because there's more to building a robot than turning on a computer and saying "Klaatu, barada, nikto!"


HA.  I know that one.
Drunky | SubGenius
Fat Drunk Bastards
B.A.A.H. - Black Association of Aces High

Offline Chairboy

  • Probation
  • Plutonium Member
  • *******
  • Posts: 8221
      • hallert.net
Bootable Thumbdrive?
« Reply #13 on: February 27, 2008, 12:15:37 PM »
Ah yes, but do you know it from the right context?  Or are you thinking Army of Darkness?  ;)
"When fascism comes to America it will be wrapped in the flag and carrying a cross." - Sinclair Lewis

Offline Airscrew

  • Platinum Member
  • ******
  • Posts: 4808
Bootable Thumbdrive?
« Reply #14 on: February 27, 2008, 12:22:05 PM »
Quote
Originally posted by Chairboy
Tac, probably because there's more to building a robot than turning on a computer and saying "Klaatu, barada, nikto!"


maybe "Clatto, Verata, Nicto" would work?