Welcome!
Important information
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.1 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Can't burn IMG file

User avatar
Sparky
Forum Regular
Forum Regular
Posts: 224
Joined: Sun Dec 23, 2018 7:07 pm

Can't burn IMG file

#1

Post by Sparky » Fri Jan 04, 2019 2:51 pm

The built in USB writer looks for only ISO, but I need to burn an image to use on my raspberry pi. Is there an alternative?
I am used to etcher, but see it is not available in the repos.
MX-18 Dell 7559 16GB RAM GTX960 256GB SSD Sandisk & 256GB SSD Samsung 860 Evo

User avatar
chrispop99
Forum Guide
Forum Guide
Posts: 2656
Joined: Tue Jan 27, 2009 3:07 pm

Re: Can't burn IMG file

#2

Post by chrispop99 » Fri Jan 04, 2019 3:07 pm

Install K3b from the Stable Repo tab of the Package Installer.

Chris
Test machines:
32-bit non-PAE - Thinkpad T41, 1.6GHz Pentium M, 1GB RAM.
32-bit PAE - DELL Latitude D610, 1.73GHz Pentium M, 2GB RAM.
64-bit - Lenovo T61, 2GHz Core 2 Duo, 2GB RAM
64-bit - Gigabyte Z77P-D3, Intel i3-3220, GeForce 8400 GS, 4GB PC3-12800.

User avatar
Sparky
Forum Regular
Forum Regular
Posts: 224
Joined: Sun Dec 23, 2018 7:07 pm

Re: Can't burn IMG file

#3

Post by Sparky » Fri Jan 04, 2019 3:13 pm

Thanks!
MX-18 Dell 7559 16GB RAM GTX960 256GB SSD Sandisk & 256GB SSD Samsung 860 Evo

User avatar
BitJam
Forum Guide
Forum Guide
Posts: 2888
Joined: Sat Aug 22, 2009 11:36 pm

Re: Can't burn IMG file

#4

Post by BitJam » Fri Jan 04, 2019 3:15 pm

The command line program dd-live-usb will write any file you want to a usb device. I suggest telling it the file you want to burn. It will find the usb device for you or give you a list if there is more than one:

Code: Select all

sudo dd-live-usb -f $IMG_FILE
Here is a sample session:

Code: Select all

$ sudo ./dd-live-usb -f LICENSE 
Password: 
===============================================================================
Starting dd-live-usb
===============================================================================
Only one target usb device was found sdd  15G UFD 3.0 Silicon-Power16G
Will use target device sdd
                 iso file LICENSE
            target device sdd

            iso file size        1 MiB
       target device size    15376 MiB
-------------------------------------------------------------------------------
Ready to make a 'dd' live-usb on device sdd
-------------------------------------------------------------------------------
                                                                                                                                                      
Shall we begin?                                                                                                                                       
  = yes                                                                                                                                               
  > no                                                                                                                                                
Press <Enter> to select the highlighted entry                                                                                                         
Use 'r' to redraw, 'q' to quit                                                                                                                        
|=================================================================================================================================================>100%
>> done
Will I cry when it's all over?
When I die will I see Heaven?

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 18301
Joined: Fri Dec 15, 2006 8:07 pm

Re: Can't burn IMG file

#5

Post by Stevo » Fri Jan 04, 2019 4:33 pm

Etcher is usually run from the Electron version in the zip you get directly from etcher.io, too.

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 3121
Joined: Wed Apr 11, 2018 5:09 pm

Re: Can't burn IMG file

#6

Post by fehlix » Fri Jan 04, 2019 4:42 pm

Sparky wrote:
Fri Jan 04, 2019 2:51 pm
The built in USB writer looks for only ISO, but I need to burn an image to use on my raspberry pi. Is there an alternative?
I am used to etcher, but see it is not available in the repos.
Simply rename this.img to this.iso and use dd-mode.
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
entropyfoe
Forum Regular
Forum Regular
Posts: 881
Joined: Thu Apr 19, 2007 11:42 am

Re: Can't burn IMG file

#7

Post by entropyfoe » Fri Jan 11, 2019 12:45 am

I have downloaded the latest Raspbian.img.

The archive manager has trouble with it it seems. It takes for ever, and when it is un-zipped, I try to open the .img with k3b, and it says the file cannot be opened.

So I tried renaming the .img to .iso, which took for ever, but still k3b could not open it.

I want to burn it to the SD card with mu USB to flash card adapter which has worked int he past with MX.

How can I unzip this so k3b can burn it?
Asus Prime 370X-Pro
AMD Ryzen 1600X (12 threads @ 3.6 GHz)
16 Gig DDR4 3200 (G Skill)
Nvidia -MSI GeForce GT 710 fanless
Samsung 960 NVMe SSD nvme0n1 P1-3=MX-18, P4=MX 18
1TB SSD sda1= Data, 2TB WD =backups
on-board ethernet & sound

User avatar
entropyfoe
Forum Regular
Forum Regular
Posts: 881
Joined: Thu Apr 19, 2007 11:42 am

Re: Can't burn IMG file

#8

Post by entropyfoe » Sat Jan 19, 2019 9:38 pm

Any ideas what to try to open this iso for a burn?
See above post.

If I have to go try to figure this out in windows it will kill me.
Asus Prime 370X-Pro
AMD Ryzen 1600X (12 threads @ 3.6 GHz)
16 Gig DDR4 3200 (G Skill)
Nvidia -MSI GeForce GT 710 fanless
Samsung 960 NVMe SSD nvme0n1 P1-3=MX-18, P4=MX 18
1TB SSD sda1= Data, 2TB WD =backups
on-board ethernet & sound

User avatar
KoO
Forum Regular
Forum Regular
Posts: 458
Joined: Fri Feb 10, 2017 1:21 am

Re: Can't burn IMG file

#9

Post by KoO » Sat Jan 19, 2019 10:19 pm

entropyfoe wrote:
Sat Jan 19, 2019 9:38 pm
If I have to go try to figure this out in windows it will kill me.
No you should Survive the encounter .

Try Rufus in windows never used it for Rasbian before but should work..

Thanks for this Bitjam will try.
BitJam wrote:
Fri Jan 04, 2019 3:15 pm
sudo dd-live-usb -f $IMG_FILE
AntiX 17.3 (4.20.12) i3 ,MX18 (4.19.13),windows8.1 , Intel Xeon E3-1241 v3 , 16gb HyperX , EVO 860 500 GB , EVO 860 500 GB , GTX 970 :linuxlove:
Lenovo T430 AntiX17.3 (4.20) i3 ,MX18 (4.19.13),windows8.1 , i5 +4000 , 8gb , EVO 860 500 GB , 1TB HGST

User avatar
BitJam
Forum Guide
Forum Guide
Posts: 2888
Joined: Sat Aug 22, 2009 11:36 pm

Re: Can't burn IMG file

#10

Post by BitJam » Sat Jan 19, 2019 10:21 pm

entropyfoe wrote:
Fri Jan 11, 2019 12:45 am
The archive manager has trouble with it it seems. It takes for ever,
The file is HUGE. This is normal.
and when it is un-zipped, I try to open the .img with k3b, and it says the file cannot be opened.
Can you show us the output of "ls -lh $file" where $file is the name of the file you unzipped? Also the output of "file -b $file" may be useful.
So I tried renaming the .img to .iso, which took for ever, but still k3b could not open it.
This is wrong. Renaming should be very fast. Maybe you copied it instead.
I want to burn it to the SD card with mu USB to flash card adapter which has worked int he past with MX.

How can I unzip this so k3b can burn it?
I don't know. If the "ls -lh" of the file looks reasonable, I suggest you try using dd-live-usb as I demonstrated above. I tried it out for you. I timed the unzip and it took over a minute. See the sample session below.

The next step is to run "sudo dd-live-usb --from 2018-11-13-raspbian-stretch-full.img"
Pick your sdcard from the list of devices and then tell it to go ahead. If the sdcard does not show up then you can use --force=usb but this will also allow you to overwrite your hard drive and you do not want to do that. Choose wisely.


Here is a sample session:

Code: Select all

$ ls -lh 2018-11-13-raspbian-stretch-full.zip     
-rw-r--r-- 1 joeuser joeuser 1.9G Jan 10 22:34 2018-11-13-raspbian-stretch-full.zip

$ file -b 2018-11-13-raspbian-stretch-full.zip 
Zip archive data, at least v4.5 to extract
                                                                                                  
$ unzip -l 2018-11-13-raspbian-stretch-full.zip 
Archive:  2018-11-13-raspbian-stretch-full.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
5297405952  11-13-2018 07:24   2018-11-13-raspbian-stretch-full.img
---------                     -------
5297405952                     1 file
                                                                                                  
$ time unzip 2018-11-13-raspbian-stretch-full.zip 
Archive:  2018-11-13-raspbian-stretch-full.zip
  inflating: 2018-11-13-raspbian-stretch-full.img  
unzip 2018-11-13-raspbian-stretch-full.zip  42.96s user 6.00s system 63% cpu 1:16.71 total
                                                                                                  
$ ls -lh 2018-11-13-raspbian-stretch-full.img 
-rw-r--r-- 1  joeuser joeuser 5.0G Nov 13 07:24 2018-11-13-raspbian-stretch-full.img

$ file -b 2018-11-13-raspbian-stretch-full.img 
DOS/MBR boot sector; partition 1 etc etc etc [\code]
Will I cry when it's all over?
When I die will I see Heaven?

Post Reply

Return to “Software / Configuration”