[debian-non-standard] debootstrap from x86 to mipsel
Tomasz Chmielewski
mangoo at wpkg.org
Fri Sep 5 20:25:52 CEST 2008
Tomasz Orłowski schrieb:
> Tomasz Chmielewski pisze:
>> I just received an answer from a Debian maintainer that it's not
>> possible to do a second stage in a foreign architecture environment.
>>
> Hi mate, sorry for late reply but I was on hols.
> Very strange answer from him. I don't get what will be a reason of
> having this option without possibility to do 2nd stage on foreign arch -
> Completely useless :)
> I really got it working. I've even documented all of commands with
> outputs, because I'm using flashed Asus box as a part of my M.S. thesis,
> so I need to have it documented :)
>
> After first step of debootstrap on x86 I've compiled my own image with
> USB and ext3 support, but what is most important, you have to use swap
> to perform 2nd stage.
> Without it, 2nd stage was failing for me with 16MB enabled (my box is
> hanging with 32MB enabled).
>
> After falshing,booting, enabling swap and mounting USB stick, I've
> simply run:
>
> chroot /mnt/usbstick/ /debootstrap/debootstrap --second-stage
But you didn't run the second stage in a foreign environment: it was
started in the native one.
--
Tomasz Chmielewski
http://wpkg.org
More information about the debian-non-standard
mailing list