[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wanted debootstrap script for wheezey or later armel



On Fri, 16 May 2014 22:45:19 +0100
peter green <plugwash@p10link.net> wrote:

> RichardBown wrote:
> > Hi
> > As this pogopig isn't playing on an install, I've mounted the USB
> > HD on ~/debarm/work
> > and trying to run 
> > sudo debootstrap --arch armel wheezey  work/
> > http://ftp.us.debian.org/debian
> >
> > E: No such script: /usr/share/debootstrap/scripts/wheezey
> >   
> As others have said you misspelt wheezy
> 
> But even if you spell it right generally to debootstrap a foreign 
> architecture you do a two stage boostrap
> 
> to do the first stage run
> 
> sudo debootstrap --arch armel wheezy --foreign work/
> http://ftp.us.debian.org/debian
> 
> To do the second stage you have two options. Either you can do the
> second stage with user mode qemu or you can do it on the device. To
> do it with qemu you would do.
> 
> apt-get install qemu-arm-static binfmt-support
> cp /usr/bin/qemu-arm-static work/usr/bin
> chroot work
> debootstrap/debootstrap --second-stage
> 
> To do it on the device I presume you boot with init=/bin/sh and then
> run "debootstrap/deboostrap --second-stage" but i've never tried it.
> 
> I guess it might be possible to avoid the two stage bootstrap by
> copying qemu to the chroot location before starting the bootstrap
> process but I haven't tried this.
> 
> 
> 
> 

Thanks Peter
a positive response :)

The second alternative is I think a non starter on a pogoplug.

However I'll try the qemu method and post the result , I'll go and get
the USB drive and try again now, will the --foreign switch stop the
process before writing to /proc ?

Thanks again

-- 
-- 
Best wishes /73
Richard Bown
Email : richard@g8jvm.com   
HTTP  :  http://www.g8jvm.com
nil carborundum a illegitemis
##################################################################################
Ham Call G8JVM . OS Linux Mint 16 x86_64 on a Dell Inspiron N5030 laptop
Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W
QRV VHF 6mtrs 200W, 4 mtrs 150W, 2mtrs 400W, 70cms 200W
Microwave 23 cms 140W, 13 cms 100W, 6 cms 0W & 3cms 5W
################################################################################## 


Reply to: