pdaXrom … 更新中 Edit

インストール Edit

  • bzip2をインストール
    詳細省略

  • pdaXromを/dev/hda4下へ展開
    • hdd4をマウント
      bash-2.0$ su
      # mount -t ext3 -o noatime /dev/hda4 /hdd4
      # cd /hdd4
      
    • 展開 なお全ての作業は/hdd4にcdしてから行ってください。
      # bzip2 -d /hdd3/Documents/pdaXrom_CF_c3000.tar.bz2
      # tar vxpf /hdd3/Documents/pdaXrom_CF_c3000.tar
      

オリジナル環境とpdaXrom環境の共存 Edit

  • からくり
    ざう日記さんのinitを使用すれば、カーネル起動直後にルートファイルシステムの選択が可能になる。
    (本initでは、入力キーに応じてpivot_rootでルートファイルシステムの切り替えを行っている。)

  • init
    ざう日記さん所で公開されているinit.bz2を解凍、initを取り出し、以下の修正を行う。
    (/dev/hda3やhdd3となっている箇所を/dev/hda4、hdd4に変更する。)
    # diff -urp init.orig init
    --- init.orig   Fri Oct 28 04:57:59 2005
    +++ init        Fri Oct 28 05:03:21 2005
    @@ -28,7 +28,7 @@ if test -z $ARGS ; then
         echo "Root Filesystem selecter."
         echo
         echo "1. Qtopia"
    -    echo "2. /dev/hda3 (hdd3)"
    +    echo "2. /dev/hda4 (hdd4)"
         echo "3. Compact Flash"
     #    echo "4. SD card"
         echo
    @@ -37,7 +37,7 @@ if test -z $ARGS ; then
         echo -n "Select :"
         read BOOT_NO
    
    -    if [ $BOOT_NO = "2" ] ; then  # 2. /dev/hda3(hdd3) root filesystem
    +    if [ $BOOT_NO = "2" ] ; then  # 2. /dev/hda4(hdd4) root filesystem
    
            /bin/mount -t proc none /proc
            /bin/mount -t jffs2 -o ro /dev/mtdblock3 /home
    @@ -72,11 +72,11 @@ if test -z $ARGS ; then
                IDE1=`get_dev_pcmcia_slot 1`
            done
    
    -        /bin/mount -t ext3 /dev/${IDE1}3 /hdd3 # mount hdd3 on /new-root
    +        /bin/mount -t ext3 /dev/${IDE1}4 /hdd4 # mount hdd4 on /new-root
    
    -       if [ -e /hdd3/sbin/init ] ; then
    +       if [ -e /hdd4/sbin/init ] ; then
    
    -           cd /hdd3
    +           cd /hdd4
                /bin/umount /var
                /etc/rc.d/init.d/pcmcia stop >/dev/null 2>&1
                /bin/umount /home
    @@ -89,7 +89,7 @@ if test -z $ARGS ; then
    
                exec /sbin/chroot .  /sbin/init <dev/console >dev/console 2>&1
            else
    -           /bin/umount /hdd3
    +           /bin/umount /hdd4
                /etc/rc.d/init.d/pcmcia stop >/dev/null 2>&1
                /bin/umount /var
                /bin/umount /home
    #
    
  • initのコピー
    # mount -o rw,remount /
    # cd /sbin
    # mv init init.bak
    # cp 変更後のinit /sbin/
    # chmod 775 /sbin/init
    # mount -o ro,remount /
    

その他の設定 Edit

  • Keymapの不具合修正
    /hdd4/etc/X11/kb/corgi.xmodmap
    --- etc/X11/kb/corgi.xmodmap    Wed Jan 19 09:51:01 2005
    +++ corgi.xmodmap       Fri Oct 28 11:37:22 2005
    @@ -50,7 +50,7 @@ keycode 21 = m M grave grave
    
     keycode 66 = minus minus at at
     keycode 71 = slash comma less less
    -keycode 72 = period question greater greater
    +keycode 111 = period question greater greater
    
     keycode 38  = Mode_switch
    
    @@ -65,12 +65,17 @@ keycode 39  = BackSpace BackSpace Delete
     ! pdaXrom silkscreen
     keycode 118 = XF86Launch0
     keycode 119 = XF86Launch1
    -keycode 120 = XF86Launch2
    +!keycode 120 = XF86Launch2
     keycode 121 = XF86Launch3
     keycode 122 = XF86Launch4
    
     ! R-Shift
    -keycode 111 = Shift_R
    +!keycode 111 = Shift_R
    +
    +! L-Shift
    +keycode 120 = Shift_L
    +remove Shift = Shift_L
    +add Shift = Shift_L
    
     ! Menu
     keycode 37 = XF86Start
    
  • USB LAN kernel モジュール

以下ボツrc10.4版はあきらめ!! Edit

ちなみに、chrootなら動きました。


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2006-06-13 (火) 20:02:27 (6534d)