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

Re: Netboot wheezy on Sheevaplug installs squeeze



On Fri, Apr 08, 2011 at 10:08:41AM +0100, Graham Keeling wrote:
> On Thu, Apr 07, 2011 at 06:58:21PM -0400, Joey Hess wrote:
> > Graham Keeling wrote:
> > > Hello,
> > > I'm not sure if this is the right place to talk about this, but here goes:
> > > 
> > > I downloaded the uImage and uInitrd from this location:
> > > 
> > > ftp://ftp.debian.org/debian/dists/wheezy/main/installer-armel/current/images/kirkwood/netboot/marvell/sheevaplug/
> > > 
> > > But it actually ends up installing squeeze, not wheezy.
> > > 
> > > 
> > > How should I go about getting this fixed?
> > 
> > The installer images on ftp.debian.org are only updated for Debian
> > stable releases; that is the same as the squeeze installer currently.
> > 
> > Use a daily build from http://www.debian.org/devel/debian-installer/
> 
> Thanks for this.
> However, I now have some possibly dumb questions.
> 
> On the Sheevaplug, I am used to downloading a uImage and a uInitrd (these
> are the only files available in the FTP directory above), putting them on a
> USB stick, booting the plug and running commands like this on the u-Boot
> command line:
> 
> usb start
> ext2load usb 0:1 0x00800000 /uImage
> ext2load usb 0:1 0x01100000 /uInitrd
> setenv bootargs console=ttyS0,115200n8 base-installer/initramfs-tools/driver-policy=most
> bootm 0x00800000 0x01100000
> 
> The only installers that I can find in the daily build directories are iso
> images. I do not know how to use these on the plug.
> 
> Is there a way of converting an iso image to a uImage/uInitrd?

My initial thought was that these bits would be inside the iso image somewhere
and that I would just need to mount the image on my PC and copy them out.

But I've tried mounting it, and there doesn't appear to be the stuff
in it that I would expect:

invader:~# mount -o loop /home/graham/debian-testing-armel-businesscard.iso /mnt
invader:~# ls -la /mnt/
total 290
dr-xr-xr-x  9 root root   2048 2011-04-08 05:07 .
drwxr-xr-x 26 root root   4096 2011-03-09 10:30 ..
dr-xr-xr-x  2 root root   2048 2011-04-08 05:07 css
lr-xr-xr-x  1 root root      1 2011-04-08 05:07 debian -> .
dr-xr-xr-x  2 root root   2048 2011-04-08 05:07 .disk
dr-xr-xr-x  3 root root   2048 2011-04-08 05:07 dists
dr-xr-xr-x  4 root root   4096 2011-04-08 05:07 doc
dr-xr-xr-x  2 root root   2048 2011-04-08 05:07 install
-r--r--r--  1 root root  36377 2011-04-08 05:07 md5sum.txt
dr-xr-xr-x  2 root root   4096 2011-04-08 05:07 pics
dr-xr-xr-x  3 root root   2048 2011-04-08 05:07 pool
-r--r--r--  1 root root   8614 2011-04-08 05:07 README.html
-r--r--r--  1 root root 143446 2011-04-01 20:55 README.mirrors.html
-r--r--r--  1 root root  77247 2011-04-01 20:55 README.mirrors.txt
-r--r--r--  1 root root   5245 2011-04-08 05:07 README.txt

The install directory contains nothing.


Compare it to the daily i386 image:

invader:/mnt# mount -o loop /home/graham/debian-testing-i386-businesscard.iso /mnt
invader:~# ls -l /mnt/
total 702
-r--r--r-- 1 root root     27 2011-04-08 05:09 autorun.inf
dr-xr-xr-x 1 root root   2048 2011-04-08 05:09 css
lr-xr-xr-x 1 root root      1 2011-04-08 05:09 debian -> .
dr-xr-xr-x 1 root root   2048 2011-04-08 05:09 dists
dr-xr-xr-x 1 root root   2048 2011-04-08 05:09 doc
-r--r--r-- 1 root root 110070 2011-04-07 22:54 g2ldr
-r--r--r-- 1 root root   8192 2011-04-07 22:54 g2ldr.mbr
dr-xr-xr-x 1 root root   2048 2011-04-08 05:09 install
dr-xr-xr-x 1 root root   2048 2011-04-08 05:09 install.386
dr-xr-xr-x 1 root root   4096 2011-04-08 05:09 isolinux
-r--r--r-- 1 root root  22369 2011-04-08 05:09 md5sum.txt
dr-xr-xr-x 1 root root   2048 2011-04-08 05:09 pics
dr-xr-xr-x 1 root root   2048 2011-04-08 05:09 pool
-r--r--r-- 1 root root   8949 2011-04-08 05:09 README.html
-r--r--r-- 1 root root 143446 2011-04-01 20:55 README.mirrors.html
-r--r--r-- 1 root root  77247 2011-04-01 20:55 README.mirrors.txt
-r--r--r-- 1 root root    407 2011-04-08 05:09 README.source
-r--r--r-- 1 root root   5533 2011-04-08 05:09 README.txt
-r--r--r-- 1 root root 319525 2011-04-07 22:54 setup.exe
dr-xr-xr-x 1 root root   2048 2011-04-08 05:09 tools
-r--r--r-- 1 root root    237 2011-04-08 05:09 win32-loader.ini

The install.386 directory contains this:
invader:~# ls -l /mnt/install.386/
total 6438
dr-xr-xr-x 1 root root    2048 2011-04-08 05:09 gtk
-r--r--r-- 1 root root 4234931 2011-04-08 05:09 initrd.gz
-r--r--r-- 1 root root      45 2011-04-08 05:09 install.bat
-r--r--r-- 2 root root 2354496 2011-04-08 05:09 vmlinuz


Reply to: