I’m trying to install debian on an HP t5000 thin client, using a USB drive as an expanded storage device for the base system. Here’s what I’ve got so far:

32MB ATA Flash memory mounted as /

175MB USB Flash as /home/

175MB USB Flash as /usr/

175MB USB Flash as /var/

Hopefully that setup will fix the problems I’ve been having with sda versus sdb upon reboot. This time I’ll keep the installer USB plugged in, and I’ll change the BIOS to boot off the internal flash memory first. Then I’ll do something with the installer USB drive at some point.

Nope, the 32MB was not big enough.

Will this work:

deb2flash

Now I’m trying to just go off of a USB drive, but having some issues… casper is reporting “Unable to find a medium containing a live file system.”

Trying this instead:

How to install Debian Etch on USB Flash memory stick</a>

My disk is /dev/sda/ yours might not be!

shred -n 1 -z -v /dev/sda

parted /dev/sda "mklabel msdos mkpartfs primary ext2 0 21 mkpartfs primary ext2 21 -0 set 1 boot on"

mkdir /mnt/buildroot

mount /dev/sda2 /mnt/buildroot

mkdir /mnt/buildroot/boot

mount /dev/sda1 /mnt/buildroot/boot

debootstrap --arch i386 etch /mnt/buildroot

chroot /mnt/buildroot /bin/su -..some steps missing here...

grub-install --recheck --root-directory=/mnt/buildroot /dev/sda

Crud, that didn’t work.

Hmmm.

Giving the 32MB / USB flash duo a try again. This time just using the 32MB as a /boot/ mount. Again I’ll have to tell the bios to try booting off it first, or at least put a blank usb flash drive in the installer’s place.

Sweet! Finally got it to work. The via_rhine modules doesn’t seem to work well at all… so I plugged in a linksys usb ethernet connector and it worked much better.

I keep getting these errors on startup:

usb 3-4: control timeout on ep0in

No idea…

Then the USB Flash drive got corrupted, so I’m now using an external USB 2.5 inch hard drive. Working fine, only uses 14 watts, all things considered. :-)

¥