Linux for h4100 - installing Linux to the ipaq h4150
HP’s ipaq handhelds have been capable to “run” Linux long before ports for other platforms(e.g. Palm OS or Siemens SX1) began to emerge. However, somewhat running and running a productive Linux are two entirely different things - let’s see how the h4150 Linux port fares!
Step 1 - back up your PocketPC’s RAM
Installing Linux onto your ipaq flushes the RAM of the machine(Linux needs it to work). So, please back up all the data on your PocketPC before attempting any of the steps below! Your data WILL BE LOST!
Also, your memory card’s partition table will be modified seriously - so better use an old memory card(I used a 128MB MiniSD card) that has at least 64MB of memory free.
Step 2 - install the files
Create a folder /linux in the root folder of your memory card(NOT in the RAM or ipaq file store). Below that, create a folder /rescue. Then, put the following files into /linux/rescue(mirrored here(single zip archive) for your convinience):
custom.txt
gpe-image-v0.8.4-h4000-1.rootfs.tar.bz2
haret.exe
ramdisk-rescue-0.6.3-r361.rootfs.ext2.gz
startup.txt
zImage-2.6.16-hh7-h4000-20060920151019
After that, hardreset your ipaq h4150 to free up the RAM. Open Settings and allocate at least 50MB of program RAM.
Step 3 - run HaRET, load RamdiskRescue
Now, use File Manager to run Haret in /linux/rescue. The program will boot up Linux and will start RamdiskRescue. There, choose Install Linux and choose the source and target mediums(just choose the SD Card twice) with the 5way.
After having chosen the target medium, the ipaq should best be left alone for an hour or so, while cryptic messages like the ones in the picture below scroll over its screen. The ipaq will repartition the memory card and will unpack Linux files to the EXT2 partition it creates - this alone took an hour on our machine.
Once the copying is finished, the ipaq will announce this with a voice message and will display an image similar to the one below:
Step 4 - hardreset the unit once again
Now, hard-reset the unit once again to get back to Windows CE. You will then launch Linux from there.
Tune in soon to find out more about the first booting process of your ipaq!
Further reading:
installation howto
HaRET info
RamdiskRescue info
Related posts:
From:http://tamsppc.tamoggemon.com/2007/07/15/linux-for-h4100-installing-linux-to-the-ipaq-h4150/