All times are UTC-06:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sun Jan 15, 2012 6:56 pm 
Offline

Joined: Wed Jan 11, 2012 9:19 pm
Posts: 7
Location: Texarkana, TX
Hi!

I want to begin playing with Debian on my Smartbook, but I'm having trouble getting out of the gate. I've downloaded the armhf image, and have extracted it by doing:
Code:
xzcat armhf-2GB_blah.img.xz >armhf-2GB_blah.img
Then I attempt to dd the image to a 8 GB smart media card in one of those USB adapters:
Code:
dd if=armhf-2GB_blah.img of=/dev/diskx
This never seems to finish. I'm doing this on a Mac Lion machine, I can attempt on a Debian box if I need to. Any ideas?

Basically, all I want is to get the netinstall on the Smartbook without anything else (just the standard system utilities and add all my stuff in post-install). I consider myself a power user, but working with these embedded devices has me thinking I'm not quite as capable as I thought I was! :)

As an aside, if anyone has a basic Debian install rootfs already cooked up, I would be forever your friend!

Thanks,

Josh

_________________
Josh Lawrence


Top
   
 Post subject:
PostPosted: Sun Jan 15, 2012 8:49 pm 
Offline
Genesi

Joined: Mon Jan 30, 2006 2:28 am
Posts: 409
Location: Finland
Hi,

Not using a Mac, but did you unmount the SD card first (as far as I remember, this is needed on a Mac). Try the following:


1.) Become root:

su

2.) Plug in your SD card and then use the following command to see which /dev/diskN node it's located on:

diskutil list

3.) Unmount the disk where "N" is the number of the disk taken from the above command:

diskutil unmountDisk /dev/diskN

If the above command was successful, you will see:

Unmount of all volumes on diskN was successful

4.) Use the 'dd' command to copy the image file to the entire disk:

dd if=image.img of=/dev/diskN

Keep in mind that this process can take quite some time (sometimes even 30 minutes), depending on the speed of your SD card etc. Leave it be just in case, it should either quit itself with an error, or finish with all ok...


Johan.

_________________
Johan Dams, Genesi USA Inc.
Director, Software Engineering

Yep, I have a blog... PurpleAlienPlanet


Top
   
 Post subject:
PostPosted: Mon Jan 16, 2012 2:25 am 
Offline

Joined: Wed Oct 13, 2004 7:26 am
Posts: 348
Quote:
Hi,
4.) Use the 'dd' command to copy the image file to the entire disk:

dd if=image.img of=/dev/diskN

Keep in mind that this process can take quite some time (sometimes even 30 minutes), depending on the speed of your SD card etc. Leave it be just in case, it should either quit itself with an error, or finish with all ok...
Using bs=2048 (or up to bs=8192 if you're feeling lucky) can significantly lower the time it takes. :)


Top
   
 Post subject:
PostPosted: Wed Feb 01, 2012 7:57 pm 
Offline

Joined: Tue Jan 24, 2012 3:24 pm
Posts: 4
Location: Australia/UK
Hi - if you prefer to keep track of the SD card burning process then I can recommend 'usb-imagewriter' - a gui tool to write .img files to USB Keys.

It asks for a file, finds a likely destination, asks for confirmation, and just does it. Slowly.
But there is a progress bar and a time estimation number that is reasonably accurate on our system, ymmv!

It's in the Ubuntu Lucid repos, probably available elsewhere.

_________________
Hand-crufted code


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group