is it possible to debootstrap an ARM system in x86 host

I hope to create a new ARM system in x86 host by using debootstrap then copy it into usb drive.
I will use this usb drive to boot an ARM device without an OS on it.

ps. I know this is related with if ARM device can boot from usb drive. But I hope the first step can be achieved first.

You need an ARM emulator/simulator so that the ARM system (and installer) can be booted up in an x86 host.  QEMU is a good choice for that.

TOP

原帖由 quintus 於 2009-9-2 05:26 發表
You need an ARM emulator/simulator so that the ARM system (and installer) can be booted up in an x86 host.  QEMU is a good choice for that.

thanks for your help.

I know I need a emulator or a physical ARM device for booting an completed ARM os.

But I need first to make this ARM os ready just in debian/ubunut x86 system through debootstrap. I am not sure if this is possible or not just using an running x86 system and internet and debootstrap.

Now users can install another debian-derived system at a different partition or even directory just in a running  debian/ubunut x86 system by using debootstrap. But in this situation, both host and target system are x86. I don't know if same thing can happen when host is x86 and target system is ARM.

TOP

deboostrap can bootstrap non-native architecture, but if you want to make an ARM version, why don't start on an ARM machine? Debian does have ARM version installation already.

TOP

原帖由 lazyfai 於 2009-9-2 07:19 發表
deboostrap can bootstrap non-native architecture, but if you want to make an ARM version, why don't start on an ARM machine? Debian does have ARM version installation already.


Debian's ARM version need to burn cd but if often want to try different version, most of these cd only be used once.
So I hope to find a different way without cd.

I read about Debian installation on this web page http://www.debian.org/distrib/netinst.
Another no cd way to install debian ARM system is through Network boot by using PXE. So I still think if debootstrap can be used on an x86 system to make  an ARM system ready is most flexible and environment-friendly way.

TOP

回覆 5# 的帖子

Even you can 'cross-bootstrap', you will still need a real ARM platform or an emulator to do the second stage of debootstrap.

TOP

I believe what you want is cross-compile linux kernel and build a rootfs for an ARM platform in x86 environment, am I right?
Don't know what your ARM platform is but cross compiling is very very very troublesome. You can find more support if your chip is samsung one. You can refer to the following two link for more info:
http://linux.onarm.com/index.php/Main_Page
http://www.pokylinux.org/doc/poky-handbook.html

TOP

Ubuntu on ARM
http://www.sharp.co.jp/netwalker/

[ 本帖最後由 netter 於 2009-9-2 12:38 編輯 ]

TOP

TOP

原帖由 quintus 於 2009-9-2 11:06 發表
Even you can 'cross-bootstrap', you will still need a real ARM platform or an emulator to do the second stage of debootstrap.

although this is not what I want, you indeed confirm it is impossible to make an ARM system ready just by using a running x86 system + internet + debootstrap.

I don't like the result, but  this is the limitation.

TOP