在x86 模擬環境下測試ARM Ubuntu

    內容表格
    1. 1. 步驟開始

    版本為 01:44, 8 Jul 2024

    到這個版本。

    返回到 版本存檔.

    查閱目前版本

    步驟開始

    建立工作目錄

    mkdir arm_ubuntu-lucid
    cd arm_ubuntu-lucid 
    

    安裝必要套件及下載 rootstock

    sudo apt-get install debootstrap fakeroot bzr
    bzr branch lp:project-rootstock
    

    TIPs

    bzr 這行指令會上網下載 rootstock 相關檔案,故須保持外網暢通。

    rootstock 可以自動建立一個 rootfs 的 tarball 檔,詳見此連結

    下載 Lucid 的 vmlinuz 檔

    wget http://ports.ubuntu.com/ubuntu-ports/dists/lucid/main/installer-armel/current/images/versatile/netboot/vmlinuz
    

    建立系統映像檔 qemu_ubuntu-lucid_arm.img

    sudo project-rootstock/rootstock --fqdn ubuntu --login ubuntu --password ubuntu --notarball --imagesize 3G

    TIPs

    系統建立映像檔時需要一些時間,請耐心等候。

    Powered by MindTouch Core