bắt đầu làm nhé!!!
các Bạn download về từ link mình đã đưa.
+B1:download Ramdisk folder to C:\Linux\Ramdisk
default.txt
gnuharet.exe
rd
zImage
+B2
ownload files from SD-MMC/2.6.12 folder to C:\Linux\SD-MMC for running the 2.6.12 kernel:
default.txt
gnuharet.exe
zImage
opie-universal-R0.2.tar.bz2
+B3:Make sure that files have the correct .extension after download
default.txt
gnuharet.exe
opie-universal-R0.tar.bz2
rd (NO EXTENSION)
zImage (NO EXTENSION)
+B4:Copy files from the C:\Linux\Ramdisk folder to \My Documents\Linux on your device
Plug the power cable into the device, Put the SD card into the device (All data will be erased)
Make sure the Phone is on and connected
Go to \My Documents\Linux and hit gnuharet.exe Click Run The screen will get some funny colors and seem freezed, don't freak out its normal
Login
Login with : root
Password : rootme
***lưu ý:
You write / by holding down FN while pressing the O button
You write + by holding down SHIFT while pressing the = button
+B5:This show's how to create vfat and linux partiton on your SD/MMC card
Write and then hit enter as shown below in the white textboxes
--- fdisk /dev/mmc/blk0/disc
Clear your old partition table
----Type : o
----Create two partitions [one vfat (31MB) and one ext2 (rest) ] like this: ----Type : n
Set the primary partition (1-4)
----Type : p
set the Partition number (1-4)
----Type : 1
Set the First cylinder (1-xxxx, default 1):
----Hit enter (This will set the default value to : 1 )
Set the Last cylinder or +size or +sizeM or +sizeK (1-xxxx, default xxxx):
----Type : +31M (NOTE TO MAKE ALTERNATIVE DESCRIPTION HERE ((Blocks/SD-Size)*32=Value to be set))
+B6:Create the next partition (linux partition)
----Type : n
Set the (Second)primary partition
---- Type : p
Set the Partition number (1-4)
----Type : 2
Set the First cylinder (xx-xxxx, default xx):
----Hit enter to select the default value
Set the Last cylinder or +size or +sizeM or +sizeK (xx-xxxx, default xxxx):
----Hit enter to select the default value
Define the Fat partion for WinCe to use Command (m for help)
----Type : t
Partition number (1-4)
----Type : 1
Hex code (type L to list codes)
----Type : 6 (For Fat 16)
Command (m for help)
----Type : w
Hit enter and you will be returned to the shell
+B7:Now you have to create the filesystem on the two partitions you have made
Make filesystem for wince
-----Type : mkdosfs /dev/mmc/blk0/part1
Make filesystem for Linux
----- Type : mkfs.ext3 /dev/mmc/blk0/part2
Wait until the commandpromt returns Reboot Universal by issuing the 'reboot' command
-----Type : reboot
+B8:Now you prepare your SD/MMC card to run linux on it
When WinCe starts loading, remove the SD, and put it in your desktop, check that your desired size in MB correspond with what you set it to in fdisk
Copy all files from C:\Linux\SD-MMC to the SD-card
Put the SD back in Universal
Boot Linux again (From \My Documents\Linux\gnuharet.exe)
Prepare the first mount point:
------Type : mkdir /mnt/vfat
Prepare second mount point:
------Type : mkdir /mnt/ext3
+B9:Mount the partitions
1st partition mount
----Type : mount -t vfat /dev/mmc/blk0/part1 /mnt/vfat
2nd partition mount
----Type : mount -t ext3 /dev/mmc/blk0/part2 /mnt/ext3
+B10:YOU MIGHT GET AN ERROR [EXT2-fs warning...blablabla] nevermind this
Copy the opie-image to the linux partition ext3
-----Type : cp /mnt/vfat/opie-universal-R0.2.tar.bz2 /mnt/ext3/
Go in to the linux partition (ext3)
----- Type : cd /mnt/ext3
Decompress the image
-----Type : tar jxvpf opie-universal-R0.2.tar.bz2 (Check and verify the file name on SD, changes in file name may occure like for the 2.6.16)
Now look at that, just grab your willi and start honking
To be sure everything got written to the SD/MMC card do:
------Type : sync
Wait until it get's done and then issue the 'reboot' command again.
------Type : reboot
In Windows Mobile 5 navigate to gnuharet.exe on your SD card and execute it.
Hit : Run
And linux boot's enjoy!
MÌNH GIỮ NGUYÊN VĂN NHƯ HỨONG DẪN TRÊN HANDHELD.CÁC BẠN KO HIỂU CHỖ NÀO CỨ HỎI NHÉ....
THANKS