LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-29-2018, 03:39 PM   #1
walterbyrd
Member
 
Registered: Apr 2004
Posts: 693

Rep: Reputation: 46
Cannot burn ISO to DVD or thumb drive


Code:
# uname -a
Linux mysys 4.18.9-calculate #1 SMP PREEMPT Thu Sep 20 14:36:36 UTC 2018 x86_64 AMD Athlon(tm) II X4 640 Processor AuthenticAMD GNU/Linux
Microsoft offers a 90 day evaluation of Windows 10 Enterprise. I would like to give it a try.

I download the ISO. It takes up 3.6GB on my Linux drive.

I have a stack of 4.75GB DVD-Rs. They are HP 16X speed. I have tried several different DVDs. None of them work. I get the same message every time.

I have the following two DVD burners. Both have always worked. I have used them as recently as yesterday.

NEC DVD RW ND-2500A
Optiarc DVD RW AD-72805

I have tried Brasero and XFBurn, neither work. Neither will burn the image to a DVD. Neither allow burning the ISO to a flash drive.

I get this message with XFBurn: Failure: Cannot reserve track of 3577944064 bytes. I get a similar message with Basero. This does not seem to make sense. There should be enough room on a 4.75GB drive.

I know that a lot of people have problems burning the Win10 ISO. Those people seem to be always be using Windows.

I have tried using a flash drive. Neither Brasero or XFBurn will work with a flash drive. So I formatted the flash drive to NTFS, and extracted the ISO files to the drive. I read a post that claimed this would make the drive bootable, it doesn't.

The extracted files, on the flash drive, take up about 3.5GB. Again, this should fit on a DVD.

I tried using an XP box to make a bootable flash drive, that does not work either.

Is there any way to burn a bootable ISO image on a flash drive using Linux? I have heard that Ubuntu has an app for that, but I am not using Ubuntu.

Last edited by walterbyrd; 09-29-2018 at 03:41 PM.
 
Old 09-29-2018, 03:52 PM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909
If you are not using Ubuntu, what are you using?

Have you tried Etcher (etcher.io)?
 
Old 09-29-2018, 04:31 PM   #3
walterbyrd
Member
 
Registered: Apr 2004
Posts: 693

Original Poster
Rep: Reputation: 46
Again.

Code:
# uname -a
Linux mysys 4.18.9-calculate #1 SMP PREEMPT Thu Sep 20 14:36:36 UTC 2018 x86_64 AMD Athlon(tm) II X4 640 Processor AuthenticAMD GNU/Linux
Calculate Linux is based on Gentoo. It is all Gentoo under the hood.

I cannot seem to find Etcher. I am getting the message:

Code:
emerge: there are no ebuilds to satisfy "etcher".

emerge: searching for similar names...
emerge: Maybe you meant any of these: dev-haskell/either, www-client/fetch, x11-terms/eterm?
I wonder if Gentoo is seeing my DVD drives as CDROM drives? How could I find out?

Last edited by walterbyrd; 09-29-2018 at 04:34 PM.
 
Old 09-29-2018, 04:41 PM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909
The Etcher website has an appimage version - can you use that?

If not, there are other versions listed here: https://github.com/resin-io/etcher#d...nulinux-x86x64
 
Old 09-29-2018, 05:18 PM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,951

Rep: Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147
Create a Bootable Windows 10 USB in Linux With Ubuntu/Debian GUI
github
woeusbgui GUI app


http://www.webupd8.org/2016/06/make-...b-install.html

maybe??

Last edited by BW-userx; 09-29-2018 at 05:22 PM.
 
Old 09-29-2018, 05:36 PM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,065

Rep: Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939
I used the method explained at the link below to create a bootable windows usb which bootedd and I used it to install windows. Skip the part on installing Grub to the device if you already have Grub2 with your Linux OS.

http://onetransistor.blogspot.ch/201...om-ubuntu.html
 
Old 09-29-2018, 05:52 PM   #7
zeebra
Member
 
Registered: Dec 2011
Distribution: Mageia, Slackware
Posts: 854
Blog Entries: 10

Rep: Reputation: 211Reputation: 211Reputation: 211
k3b rarely let me down when i wanted to burn CD's/DVD's.. And if it ever did there was an issue with the CD's, not with k3b or the optical drive or something like that.

Some optical disks are simply poor quality, or broken by something like long time storage or sitting in direct sunlight or something similar. I've even had new disks which just did not work in the burning room that I used, but worked in another one. Some disks and optical rooms just do not get along.

I would suggest you try k3b to burn the iso image, and if you have any issues I would suggest buying a new DVD-R or even DVD-RW to try with it.
 
Old 09-29-2018, 11:14 PM   #8
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 2,687
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
Quote:
Originally Posted by walterbyrd View Post
Microsoft offers a 90 day evaluation of Windows 10 Enterprise. I would like to give it a try.

I download the ISO. It takes up 3.6GB on my Linux drive.

I have a stack of 4.75GB DVD-Rs. They are HP 16X speed. I have tried several different DVDs. None of them work. I get the same message every time.
Is that stack all new, never used, blanks? The process of checking to see if blank or unused could possibly render them unwriteable, depending on the exact process of "checking".

Burning a downloaded and verified iso file to blank media is a simple process. GUI programs to do so are mere conveniences. All you actually need is dd. Converting one of those HP discs into a bootable Win10 DVD could be as simple as:
Code:
dd /path/to/win10isoimage.iso /dev/dvd
(assuming sufficient privilege, running as root, or using sudo)
 
Old 09-30-2018, 02:38 AM   #9
scdbackup
Member
 
Registered: Oct 2013
Posts: 149

Rep: Reputation: Disabled
Hi,

the error message "cannot reserve track" probably stems from libburn
(where i am developer) or from growisofs. Indeed the protest is strange.

It would be interesting to see the exact messages from a burn program on
the shell command line. Inspect the medium in /dev/sr0 by
Code:
xorriso -outdev /dev/sr0 -toc
(You have two drives. So you probably have /dev/sr0 and /dev/sr1.)

A burn run for an image file would look like this
Code:
xorriso -as cdrecord -v dev=/dev/sr0 -eject /path/to/win10isoimage.iso
The image must _not_ be put into a filesystem. Neither on DVD nor on
USB stick (if the image is prepared for booting from USB stick at all).

Copying the image to a USB stick would be done with dd:
Code:
dd bs=1M if=/path/to/win10isoimage.iso of=/dev/sde
This is somewhat dangerous, because you need to find out the base device
address of the USB stick, and must not confuse it with the device address
of your disks. /dev/sda is quite surely a hard disk or SDD. Your USB
stick will have an address in the range of sdb to sdx, depending on how
many storage devices are already attached.

Best is to first try the intended address with a read run and watch
whether the USB stick blinks (if it can blink at all):
Code:
dd bs=1M count=100 if=/dev/sde of=/dev/null
mrmazda's proposal to use "dd" with a DVD drive would work only with
overwritable media types: DVD-RAM, DVD+RW, BD-RE. The other optical
media types have to be written by a burn program.

Have a nice day

Thomas
 
1 members found this post helpful.
Old 09-30-2018, 03:15 AM   #10
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 2,687
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
Quote:
Originally Posted by scdbackup View Post
mrmazda's proposal to use "dd" with a DVD drive would work only with
overwritable media types: DVD-RAM, DVD+RW, BD-RE. The other optical
media types have to be written by a burn program.
Ever since K3B started exhausting RAM last year, dd is the only way I can remember having written to DVD-R and DVD+R discs using a Linux PC. My DVD players play the ones that are supposed to be played, and my PCs boot the ones that should be bootable.
 
Old 09-30-2018, 03:57 AM   #11
scdbackup
Member
 
Registered: Oct 2013
Posts: 149

Rep: Reputation: Disabled
Hi,

mrmazda wrote:
Quote:
dd is the only way I can remember having written to DVD-R and DVD+R
discs using a Linux PC.
That's unexpected from the view of the specs. dd operates the storage
device like a hard disk. Optical drives accept the same WRITE commands
as disks, but depending on the medium type, they expect further commands
before or after the bulk of WRITEs.

With DVD-R, dd is very unlikely to succeed, because for this medium type
the drive expects to get sent a Mode Page 05, which describes the burn job.

With DVD+R, the drive should complain about missing CLOSE TRACK commands
in the end, when it shall hand out the medium. (But the half-finished
result might be readable, indeed.)

It would be interesting to see the Table-Of-Content of such a dd-burned
medium, if you have one in reach:
Code:
xorriso -outdev /dev/sr0 -toc
or
Code:
dvd+rw-mediainfo /dev/sr0
Have a nice day

Thomas
 
Old 09-30-2018, 04:36 AM   #12
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 2,687
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
With all the discs of various types around here I'm not sure I could tell which came from where. Probably I'd have to create one or more in the manner described for the purpose of the requested examination. Most recent purchase was 100 DVD-R as my supply of DVD+R dwindled to near zero. Most writing both lately and memorable has been using erasable media with K3B.
 
Old 09-30-2018, 06:30 AM   #13
scdbackup
Member
 
Registered: Oct 2013
Posts: 149

Rep: Reputation: Disabled
Hi,

to stay on topic, i tried my own proposal for image burning:
Code:
$ xorriso -as cdrecord -v dev=/dev/sr4 -eject debian-9.3.0-amd64-netinst.iso
...
Writing to '/dev/sr4' completed successfully.
...
Media current: DVD-RW sequential recording
Media status : is written , is closed
Media summary: 1 session, 148640 data blocks,  290m data,     0 free
$
(If the image size is smaller than 1 GB, expect substantial extra time
at "0.0x" speed before seeing "completed successfully", because the
medium gets filled up to 1 GB at least.)

------------------------------------------------------------------------

Now for the dd branch of this thread:

mrmazda wrote:
Quote:
With all the discs of various types around here I'm not sure I could
tell which came from where.
Just pick a DVD+R and a DVD-R which might possibly be burned by dd.
The proposed info runs will not do harm to them, and maybe their output
will give me a clue what might have gone right against my expectations.
(Normally we search reasons why something goes wrong. Not now.)

My stock of unused DVD-R and DVD+R is small. I will try to invent a
good purpose for the case that my drives are willing to burn them under
control of dd.

DVD-R can do dummy burning. But that's requested in the mode page 05
which the sr driver underneath dd will not send. (Burn programs construct
the SCSI commands on their own and send them through sr by ioctl(SG_IO).)

But i still have a few DVD-RW. Unformatted they work much like DVD-R.
The medium i use in the first test is fast-blanked. I.e. it can do only
Write Type DAO, not Write Type "Incremental".
Code:
$ dd if=debian-9.3.0-amd64-netinst.iso of=/dev/sr4 bs=2048
dd: error writing /dev/sr4: No space left on device
2+0 records in
1+0 records out
2048 bytes (2.0 kB) copied, 7.74152 s, 0.3 kB/s
$
Ok. This might be due to fast blanking.

I then blanked the DVD-RW fully, so that it resembles an unused DVD-R
as much as possible.

This gives dd and the Linux sr driver a chance for Write Type "Incremental".
Code:
$ dd if=debian-9.3.0-amd64-netinst.iso of=/dev/sr4 bs=2048
dd: error writing /dev/sr4: No space left on device
2+0 records in
1+0 records out
2048 bytes (2.0 kB) copied, 0.00129396 s, 1.6 MB/s
At this occasion the device (in a USB box) got disconnected and
re-connected by the Linux kernel.
Code:
Sep 30 13:00:42 ... kernel: [...] usb 1-1.3: USB disconnect, device number 7
Sep 30 13:00:44 ... kernel: [...] usb 1-1.3: new high-speed USB device number 8 using ehci-pci
...
Sep 30 13:00:45 ... kernel: [...] sr4: scsi3-mmc drive: 47x/94x writer dvd-ram cd/rw xa/form2 cdda tray
Sep 30 13:00:45 ... kernel: [...] sr 11:0:0:0: Attached scsi generic sg6 type 5
The medium is then recognized by xorriso and dvd+rw-mediainfo as used up:
Code:
  Media status : is written , is closed
  ...
  Media summary: 1 session, 2298496 data blocks, 4489m data,     0 free
Code:
READ DISC INFORMATION:
 Disc status:           complete
 Number of Sessions:    1
 State of Last Session: complete
 Number of Tracks:      1
...
READ CAPACITY:          2298496*2048=4707319808
Indeed it is possible to read data from that DVD-RW. But that cannot be
the whole image data, because dd had really no time to write them.
Reading stalls after about 207 MB with "Input/output error".

The first 2048 bytes look like the start bytes of a Debian netinst ISO,
but the other readable bytes are all 0.

The kernel log shows a few SCSI error messages like
"L-EC uncorrectable error" and "Timeout on logical unit".


Have a nice day

Thomas

Last edited by scdbackup; 09-30-2018 at 06:33 AM. Reason: Copy+pasted from messages wrong dd run, now corrected
 
Old 09-30-2018, 12:13 PM   #14
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 3,016

Rep: Reputation: 836Reputation: 836Reputation: 836Reputation: 836Reputation: 836Reputation: 836Reputation: 836
Quote:
Is there any way to burn a bootable ISO image on a flash drive using Linux?
Burn .iso to optical disk
Code:
growisofs -dvd-compat -speed=8 -use-the-force-luke=tty -Z /dev/sr0=/path/file.iso
Make .iso of optical disk
Code:
dd if=/dev/sr0 of=image.iso bs=2048

cat /dev/sr0 > image.iso

dd if=/dev/sr0 bs=2048 count=$(isosize -d 2048 /dev/sr0) conv=notrunc,noerror > dvdimg.iso
Make .iso from multiple directories
Code:
genisoimage -o output.iso -J -r -pad -graft-points fred/=/path/files wilma/=/path/files barney/=/path/files
Burn DVD from files
Code:
growisofs -use-the-force-luke=tty -Z /dev/sr0 -J -r -speed=8 -dvd-compat -pad -graft-points /path/file1.avi /path/file2.avi
 
Old 10-02-2018, 02:51 PM   #15
walterbyrd
Member
 
Registered: Apr 2004
Posts: 693

Original Poster
Rep: Reputation: 46
Seems to be working, but I cannot explain why.

I decided to try and write a 4GB video file to the DVD. I used xfburn, and it worked.

After that, I tried, yet again, to burn the Windows image. To my surprise, it worked. I put the DVD into my laptop, and it booted. I am trying to install now.

Thanks for all the help. I am sorry to have taken your time.

I promise: I tried over and over, with both drives, and with both Brasero and xfburn, with several different DVD-Rs. I kept getting the same error message. Then yesterday, after writing the video file, it worked.
 
  


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
Which program to burn ISO to a USB Thumb Drive mike acker Linux - Newbie 2 06-07-2014 07:57 PM
ISO -> Thumb Drive Newb4Life Linux - Newbie 19 06-12-2010 04:27 PM
Boot iso from a thumb drive climberpete Linux - Newbie 4 04-03-2009 03:34 PM
Can I burn Fedora-8-i386-dvd.iso to CD's? I do not have a DVD burner Learn41 Linux - Newbie 5 02-18-2008 06:46 PM
How to burn the downloaded Fedora 3 DVD ISO onto DVD yaabaa Linux - Newbie 10 03-14-2005 05:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:22 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
Open Source Consulting | Domain Registration