LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-17-2013, 08:49 PM   #1
a.jain
LQ Newbie
 
Registered: Jun 2013
Posts: 1

Rep: Reputation: Disabled
Do I have to write this SD Card image in Linux, or can I use Windows instead?


I am trying to follow this tutorial (PLEASE VIEW)) to install an Android image on a .tar.gz file and write it to a microSD card for use on the (BeagleBone Black) microcomputer. However, I have had some difficulty, and am wondering if I could download the file on Windows, use 7-zip to convert it to a .img, and then write it onto the microSD card for use on the BeagleBone Black, thereby avoiding using Linux and use Windows instead?
 
Old 06-17-2013, 10:00 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

the instructions don't seem to provide any information on how to do this on a non Linux host:
http://processors.wiki.ti.com/index....t_Requirements

If you want to work out how to do something on windows, you may have more luck asking on a windows forum or at the places suggested at: http://processors.wiki.ti.com/index....roduct_Updates

Evo2
 
Old 06-17-2013, 11:20 PM   #3
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 470

Rep: Reputation: Disabled
Those instructions are really straight forward. Just about any distro will do. You could probably perform all of those operations off of a live CD. If it's possible in windows it would be needlessly complicated.
 
Old 06-18-2013, 04:45 AM   #4
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,166

Rep: Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751
You could try http://sourceforge.net/projects/win32diskimager/ which I've had success with in the past for writing images to SD cards.
 
Old 06-18-2013, 03:34 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,374

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
They make a dd for windows and maybe the old rawritewin would work too.

Start with this script for clues as to how to install.

./mkmmc-android.sh
 
Old 06-18-2013, 04:24 PM   #6
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian Jessie / sid
Posts: 1,471

Rep: Reputation: 444Reputation: 444Reputation: 444Reputation: 444Reputation: 444
my guess is the difficulty you were having is to do with this line

Code:
sudo ./mkmmc-android.sh /dev/sd<device>
<device> needs to be a letter

how to find that letter?
plug in the sdcard or usb adapter and type
Code:
dmesg
a big long list of stuff will be printed

as an example, here is what you are looking for

Code:
[1191065.429703] sd 30:0:0:0: Attached scsi generic sg7 type 0
[1191065.435102] sd 30:0:0:0: [sdg] 31326208 512-byte logical blocks: (16.0 GB/14.9 GiB)
[1191065.435917] sd 30:0:0:0: [sdg] Write Protect is off
[1191065.435921] sd 30:0:0:0: [sdg] Mode Sense: 43 00 00 00
[1191065.436667] sd 30:0:0:0: [sdg] No Caching mode page present
[1191065.436671] sd 30:0:0:0: [sdg] Assuming drive cache: write through
[1191065.440416] sd 30:0:0:0: [sdg] No Caching mode page present
[1191065.440420] sd 30:0:0:0: [sdg] Assuming drive cache: write through
[1191065.440927]  sdg: sdg1
[1191065.443792] sd 30:0:0:0: [sdg] No Caching mode page present
[1191065.443796] sd 30:0:0:0: [sdg] Assuming drive cache: write through
[1191065.443799] sd 30:0:0:0: [sdg] Attached SCSI removable disk
it will be at the bottom of the output ( assuming you typed dmesg shortly after inserting the device. )

so you would want to do
Code:
sudo ./mkmmc-android.sh /dev/sdg
be very careful not to get things mixed up, double check lines like
Code:
[1191065.435102] sd 30:0:0:0: [sdg] 31326208 512-byte logical blocks: (16.0 GB/14.9 GiB)
make sense for the device you inserted


Other potential problems include your Desktop trying to be smart and mounting the disk when inserted

Close any file managers that pop open ( or all of them )
and do

Code:
sudo umount /dev/sdg
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Read Write access to a iso9660 filesystem..mount a .iso image as read write ceazar123 Linux - Newbie 16 09-01-2010 10:07 AM
Read Write access to a iso9660 filesystem..mount a .iso image as read write ceazar123 Linux - General 2 08-26-2010 04:32 PM
Linux trying to over-write Windows? ChrisRDBA Linux - General 4 08-27-2009 11:23 PM
How to read/write, install micros. windows system on a HD image created with bximage? frenchn00b Linux - General 1 06-01-2008 03:44 PM
Will windows write over Linux? Rundi Linux - General 13 10-02-2003 06:37 PM


All times are GMT -5. The time now is 10:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration