[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 14:53:50 -0700
Vagrant Cascadian <vagrant@debian.org> wrote:

> On Fri, May 16, 2014 at 10:45:19PM +0100, peter green wrote:
> > 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
> 
> qemu-user-static is the package name, which also ships a wrapper
> script called "qemu-debootstrap", which handles copying the
> appropriate qemu-*-static binary to the chroot and runs the --foreign
> and --second-stage parts automatically.
> 
> live well,
>   vagrant

Hi Vagrant,

ran qemu-debootstrap, and thats loaded the system files in OK
Thanks

Still need to load a kernel 

I've looked at the apt-get man page and not sure if it will do the next
bit of the process.

Do I run apt-get from qemu, and also it needs to be told the address of
the debian wheezy repo, as I have ubuntu repos loaded on this machine.

sorta apt-get install kirkwoodkernel <getfrom ftp://debianmirror/wheezy>

Its not going to run. stand alone on the pogopig, until dhcp client is
configured, and an image is in /boot , which at the moment is empty.
I'm not sure what else has to be configured before pluging the drive in
to pogoplugV2.
MAKEDEV doesn't get found when I'm chrooted .
The last attempt I didn't chroot and ran sudo MAKEDEV and the device
files were loaded, are the arch dependant or not ?

Thanks

-- 
-- 
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: