New IT forum Follow us on Twitter
23 May 2012, 02:56:15 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: EFIKA MX now in stock!
 
   Home   SHOP Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Why not providing NewIt SD images  (Read 1839 times)
skimpax
Newbie
*
Posts: 2


« on: 01 July 2010, 09:39:39 am »

Hi,

I purchased multiboot Sheevaplug at NewIt with Debian Lenny on 8GB SD card.
I want to upgrade to Debian Squeeze.

I have trouble when trying to install it myself following procedure on http://www.cyrius.com/debian/kirkwood/sheevaplug/install.html. In fact I get download errors during deboostrap, as listed also in this thread : http://www.newit.co.uk/forum/index.php/topic,404.0.html

Note that prior everything, I have successfully upgraded my Sheevaplug with latest uboot (U-Boot 3.4.27+pingtoo binary http://www.cyrius.com/debian/kirkwood/sheevaplug/uboot-upgrade.html).

For sake of implicity, would not it be possible to make available for download all images of SD card bought at NewIt so that a simple reflash of SD card bought at NewIt with an external flasher be possible ?

BR


Logged
NewIT_Marcus
Administrator
Hero Member
*****
Posts: 960


« Reply #1 on: 01 July 2010, 05:22:19 pm »

We already do:

http://www.newit.co.uk/drive-images/
Logged
skimpax
Newbie
*
Posts: 2


« Reply #2 on: 02 July 2010, 07:43:35 am »

Great !

I will give it a try this evening.
NewIT, that's perfect, from purchasing, delivery... and support after.

BR.
Logged
peter a
Full Member
***
Posts: 162


« Reply #3 on: 11 July 2010, 10:44:49 pm »

For I could do with remake my SD image .
What do I do with the :- 0394496-NewIT-v1.2-debian-squeeze-eSATA.img file ? and what program to I use to remake the image ? , and how !!

and what the diff between the :-

ultima-?G-8017412096-NewIT-v1.x-whatever-eSATA and the ultima-?G-NewIT-v1.x-whatever-eSATA images ?
« Last Edit: 11 July 2010, 10:59:14 pm by peter a » Logged
NewIT_Marcus
Administrator
Hero Member
*****
Posts: 960


« Reply #4 on: 12 July 2010, 07:26:56 am »

Choose a file that either matches the size of your SD card, or is smaller than it. Use dd to write to the SD card.

Code:
dd if=/path/to/img-file.img of=/dev/mmcblk0

The card manufacturers keep on changing the capacity of the cards that we buy. So far ww've had to shrink the size of th card image 2 or 3 times. The (decompressed) image size is implied in the file name.
Logged
DaveH
Newbie
*
Posts: 22



« Reply #5 on: 20 July 2010, 07:56:11 pm »

Is it worth having a small image and some instructions on how to fit it to the card? I went through this the other night, where I started with an image that was too big for the card and caused rude messages at boot. Fortunately resize2fs let me shrink it (accidentally to one only just big enough instead of the 7.x GB I intended)) and I recovered things.

The technique I used with a small image (1GB-ish) image is outlined below.

I used an SD card reader in a big machine, but it would probably work OK on a plug booted to NAND. Partition 1 must be boot, partition 2 must hold the filesystem. On my machine, they came up as /dev/sde1 and /dev/sde2 but on a plug they'd probably be /dev/mmcblk0p1 and /dev/mmcblk0p2

1. copy image file onto SD card using dd command. This is nice and quick for a small image.
2. run fsck /dev/sde2 to make sure it's a clean image
3. sudo fdisk /dev/sde
4. Delete partition 2 (note that it was only about 1GB in size)
5. Create new partition 2, allow it to default to the whole of free space.
6. Write changes and quit fdisk.
7. run resize2fs /dev/sde2 (add the -p option if you want to see progress)

Now you should have a filesystem that takes up the whole card regardless of the size.

Perhaps you could consider keeping some 1-2GB-ish images on the site with a note on how to expand them as above. That way it'll be quicker to copy to the card with DD and you won't have to keep revising the size. It makes it easier if someone wants to add a swap partition too, at step 5 above create partition 2 as something that's not quite the whole disk and then create another partition to use as swap before resizing the file system upwards.

It was surprisingly quick doing an expansion as well, much faster than the shrinking exercise.
Logged
NewIT_Marcus
Administrator
Hero Member
*****
Posts: 960


« Reply #6 on: 21 July 2010, 07:33:30 am »

Writing up some readme's for the images is on my to do list.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!