[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

info: netbooting, installing to usb stick (workaround)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I just tried to install sarge onto my STB-3036 unit via netbooting 
(dhcpd/tftpd). The only 'disks' available on this unit is 2x128 MB usb 
memory sticks.

Had to boot with "linux debian-installer/framebuffer=false".

The netboot image, however, doesn't have the usb-storage module 
included. Thus, I had to extract this module from 
kernel-image-2.4.26-1-386_2.4.26-4_i386.deb and place it on a web 
server available to the STB-3036.

Then when partman prompted me to "Partition disks", I went to a shell 
and worked my way around the problem:

mknod /dev/sda b 8 0
mknod /dev/sdb b 8 16
mkdir /lib/modules/2.4.26-1-386/kernel/drivers/usb/storage
cd /lib/modules/2.4.26-1-386/kernel/drivers/usb/storage
wget http://www-host/foo/bar/usb-storage.o
depmod -a
modprobe usb-storage
modprobe sd_mod

Went back to Alt+F1 and reloaded the partitioner. Now I could see my usb 
sticks available as sda and sdb. 

I was really nervous at the very end of the installation, since 'df -h' 
told me that 116.4 MB out of 117.1 MB (on /) was used :)
Had a separate partition for /var where 81.6 MB out of 88.5 was used.
Swap space was 32 MB (20 MB was in use).

Upon reboot I went to BIOS, only to discover that the STB-3036 in fact 
does not supporting boot from usb. Yeah, really stupid I did not check 
up on this, but I was certain that I has seen this option in BIOS.

Well, at least I hope somebody with a usb bootable unit can make use of 
this stuff (I'll add it to http://wiki.debian.net/).

B/R,
- -- 
Frederik Dannemare | mailto:frederik@dannemare.net
http://qa.debian.org/developer.php?login=Frederik+Dannemare
http://frederik.dannemare.net | http://www.linuxworlddomination.dk
Key fingerprint: BB7B 078A 0DBF 7663 180A  F84A 2D25 FAD5 9C4E B5A8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBJLBOLSX61ZxOtagRAgU2AJ9ADEaP251eK2STb9c1b0Qd7mQdfwCeMacp
PQ+GyAbEhlTcUszuT77uDY8=
=uZMI
-----END PGP SIGNATURE-----



Reply to: