Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I think Gentoo may be seeing my DVD as a CDROM
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
walterbyrd
n00b
n00b


Joined: 26 Apr 2017
Posts: 48

PostPosted: Sat Sep 29, 2018 9:47 pm    Post subject: I think Gentoo may be seeing my DVD as a CDROM Reply with quote

Code:

# uname -a
Linux fir 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


I have the following two DVD burners. Both have always worked. I have used them as recently as yesterday. Although I mostly just use them for CDROMs.

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

Can I check to make sure Gentoo sees these as DVD RWs?

I use both Windows and 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 error every time - described below.

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.

Supposedly this will made a bootable flash drive, but it does not seem to work:

Code:

# dd bs=4M if=image.iso of=/dev/sdb


Full instructions here:
https://www.linux.com/blog/how-burn-iso-usb-drive

The files are there but it won't boot.

Supposedly it can be tested like this, I tried it, it did not work:

Code:

# qemu-system-x86_64 -hda /dev/sdb
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5934

PostPosted: Sun Sep 30, 2018 2:14 am    Post subject: Reply with quote

try unetbootin, if that doesn't work there is also a gui app called etcher that might work.
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54220
Location: 56N 3W

PostPosted: Sun Sep 30, 2018 1:48 pm    Post subject: Reply with quote

walterbyrd,

Put your dmesg output onto a pastebin and post the link here.

The important bit is
Code:
scsi3-mmc
. Thats the driver for all optical drives.
The drive capacity is not determined until you insert a blank disk.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
walterbyrd
n00b
n00b


Joined: 26 Apr 2017
Posts: 48

PostPosted: Mon Oct 01, 2018 12:36 am    Post subject: Reply with quote

bunder wrote:
try unetbootin, if that doesn't work there is also a gui app called etcher that might work.



Cannot seem to find etcher. But unetbootin seems to be installing.

Code:

# emerge etcher

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?


Last edited by walterbyrd on Mon Oct 01, 2018 12:48 am; edited 1 time in total
Back to top
View user's profile Send private message
walterbyrd
n00b
n00b


Joined: 26 Apr 2017
Posts: 48

PostPosted: Mon Oct 01, 2018 12:46 am    Post subject: Reply with quote

NeddySeagoon wrote:
walterbyrd,

Put your dmesg output onto a pastebin and post the link here.

The important bit is
Code:
scsi3-mmc
. Thats the driver for all optical drives.
The drive capacity is not determined until you insert a blank disk.


Here is the link to my dmesg: https://pastebin.com/LrhJg4c9

Here are a few messages that include scsi3-mmc

Code:

[    1.698699] sr 0:0:0:0: [sr0] scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
[    2.287215] sr 4:0:0:0: [sr1] scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray


From the looks of it, it found at least one DVD-RW drive. But neither seem to write to a blank DVD-R. I have tried several blank DVD-Rs.

If I put in a blank DVD-R, and I get that error message about not enough tracks, is the blank DVD-R ruined?
Back to top
View user's profile Send private message
scdbackup
n00b
n00b


Joined: 19 Oct 2014
Posts: 23
Location: Germany

PostPosted: Mon Oct 01, 2018 7:08 am    Post subject: Reply with quote

Hi,

did you already try my shell command line proposal from linuxquestions.org ?
Code:

xorriso -as cdrecord -v dev=/dev/sr0 -eject /path/to/win10isoimage.iso

If it fails, please show the program's messages, as far as you
can scroll back in your terminal window

And yes, the drive "sr0" "Optiarc DVD RW AD-7280S" in your dmesg looks
indeed like a DVD writer. (It cannot be very young, as Optiarc closed
the shop a few years ago.)

Whether the image is supposed to boot from USB stick depends on the
existence of a Master Boot Record at the start of the image.
Is this image available for free (and without registration of real life
info) ? I'd like to have a look.

Else post the output of
Code:

dd if=/path/to/win10isoimage.iso bs=512 count=1 | od -t x1

If the result is
Code:

0000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
0001000

then there is no MBR, and thus no boot code and not EFI System Partition.
In this case you will have to unpack the image into a filesystem on the
USB stick. (Program "Rufus" comes to my mind for that job.)

If the last two reported bytes are "55 aa", then there is an MBR, and
probably the "dd" method should work.

Have a nice day :)

Thomas
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54220
Location: 56N 3W

PostPosted: Mon Oct 01, 2018 2:57 pm    Post subject: Reply with quote

walterbyrd,

This is a DVD drive

Code:
[    1.660473] scsi 0:0:0:0: CD-ROM            Optiarc  DVD RW AD-7280S  1.01 PQ: 0 ANSI: 5
[    1.698699] sr 0:0:0:0: [sr0] scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
[    1.698701] cdrom: Uniform CD-ROM driver Revision: 3.20
[    1.698872] sr 0:0:0:0: Attached scsi CD-ROM sr0


and so is this
Code:
[    2.267502] scsi 4:0:0:0: CD-ROM            _NEC     DVD_RW ND-2500A  1.06 PQ: 0 ANSI: 5
[    2.287215] sr 4:0:0:0: [sr1] scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
[    2.287401] sr 4:0:0:0: Attached scsi CD-ROM sr1


Not all DVD drives can write all DVD media ...

The NEC supports.
Quote:
Supported Media Types
CD-R, CD-ROM, CD-RW, DVD+R, DVD+RW, DVD-ROM

Note that DVD-R media is not listed.

The Sony says
Quote:
Supported Media Types
CD-R, CD-ROM, CD-RW, DVD+R, DVD+R DL, DVD+RW, DVD-RAM, DVD-ROM


So you have two DVD drives, neither of which can write on DVD-R media.

-- Edit --

Code:
[    1.210157] usb usb2: Manufacturer: Linux 4.18.9-calculate ehci_hcd

You should have told us that you are not a Gentoo user but as this is a hardware issue, its distro independent, I'll leave the thread here.
Even Windows can't write on DVD-R media with your hardware.

If you are very lucky, there may be a firmware update for one or both drives to add DVD-R compatibility.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
scdbackup
n00b
n00b


Joined: 19 Oct 2014
Posts: 23
Location: Germany

PostPosted: Mon Oct 01, 2018 4:03 pm    Post subject: Reply with quote

Hi,

The presentation on the page about the Sony is inconsistent and a lack
of DVD-R support would be very unusual for a drive in the Optiarc era
of 2006 to 2013.
No DVD-R burning on a SATA-attached DVD burner would be an anachronism.
The linked page says "Write Speed 24x (DVD±R)" and
"Rewrite Speed 6x (DVD-RW)". The NEC page says "Write Speed 8x (DVD±R)"
and "Rewrite Speed 4x (DVD±RW)". Both pages say "disk-at-once", which is
a write type of DVD-R, DVD-R DL, and unformatted DVD-RW only.

The Source of information for the "scsi3-mmc" lines in the kernel log
is the SCSI/MMC mode page 2A, which has bits to indicate read and write
capabilities for DVD-RAM and DVD-R. This page is so old that it knows
no other DVD or BD types. It was deprecated in 2004 when MMC-4 came out.

My modest workstation's collection:
Code:

sr0: scsi3-mmc drive: 40x/40x writer dvd-ram cd/rw xa/form2 cdda tray
sr1: scsi3-mmc drive: 48x/12x writer dvd-ram cd/rw xa/form2 cdda tray
sr2: scsi3-mmc drive: 40x/40x writer dvd-ram cd/rw xa/form2 cdda tray
sr3: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
sr4: scsi3-mmc drive: 0x/48x writer dvd-ram cd/rw xa/form2 cdda tray

All five drives can write all commercially available DVD types.

One can determine the promised device types iof a drive by a run of
Code:

xorriso -outdev /dev/sr0 -list_profiles

which for my sr0 says
Code:

Drive type   : vendor 'HL-DT-ST' product 'BDDVDRW GGC-H20L' revision '1.03'
Profile      : 0x0040 (BD-ROM)
Profile      : 0x0050 (HD-DVD-ROM)
Profile      : 0x0012 (DVD-RAM)
Profile      : 0x0011 (DVD-R sequential recording)
Profile      : 0x0015 (DVD-R/DL sequential recording)
Profile      : 0x0016 (DVD-R/DL layer jump recording)
Profile      : 0x0014 (DVD-RW sequential recording)
Profile      : 0x0013 (DVD-RW restricted overwrite)
Profile      : 0x001A (DVD+RW)
Profile      : 0x001B (DVD+R)
Profile      : 0x002B (DVD+R/DL)
Profile      : 0x0010 (DVD-ROM)
Profile      : 0x0009 (CD-R)
Profile      : 0x000A (CD-RW)
Profile      : 0x0008 (CD-ROM)
Profile      : 0x0002 (Removable disk)

(Actually these are not media types but media roles. "DVD-R" means
"The drive can operate a DVD-R in its role as writable medium".
The role name of readable DVD is "DVD-ROM".)

Have a nice day :)

Thomas
Back to top
View user's profile Send private message
walterbyrd
n00b
n00b


Joined: 26 Apr 2017
Posts: 48

PostPosted: Mon Oct 01, 2018 8:45 pm    Post subject: Reply with quote

scdbackup wrote:
Hi,

did you already try my shell command line proposal from linuxquestions.org ?
Code:

xorriso -as cdrecord -v dev=/dev/sr0 -eject /path/to/win10isoimage.iso

If it fails, please show the program's messages, as far as you
can scroll back in your terminal window

And yes, the drive "sr0" "Optiarc DVD RW AD-7280S" in your dmesg looks
indeed like a DVD writer. (It cannot be very young, as Optiarc closed
the shop a few years ago.)

Whether the image is supposed to boot from USB stick depends on the
existence of a Master Boot Record at the start of the image.
Is this image available for free (and without registration of real life
info) ? I'd like to have a look.

Else post the output of
Code:

dd if=/path/to/win10isoimage.iso bs=512 count=1 | od -t x1

If the result is
Code:

0000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
0001000

then there is no MBR, and thus no boot code and not EFI System Partition.
In this case you will have to unpack the image into a filesystem on the
USB stick. (Program "Rufus" comes to my mind for that job.)

If the last two reported bytes are "55 aa", then there is an MBR, and
probably the "dd" method should work.

Have a nice day :)

Thomas


xorriso is not on my system. I cannot install it with emerge.


Code:

# dd if=winimage.iso bs=512 count=1 | od -t x1
1+0 records in
1+0 records out
512 bytes copied, 0.000126957 s, 4.0 MB/s
0000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
0001000


I unpacked the ISO file with 7z, formatted the flash drive with an NTFS file system, and copied the files onto a flash drive. I could see the MBR file, but it would not boot my laptop.

The problem may be with my laptop - an older HP G62. I went into the bios and changed the BIOS to boot from USB first. But I still have to hit the <esc> key while booting, or it will boot from the HDD. When I hit the escape key and choose boot options the only choices I have are HDD or internal DVD.

When I have the flash drive plugged in, it will start flashing when I turn on the power.
Back to top
View user's profile Send private message
scdbackup
n00b
n00b


Joined: 19 Oct 2014
Posts: 23
Location: Germany

PostPosted: Mon Oct 01, 2018 9:19 pm    Post subject: Reply with quote

Hi,

> xorriso is not on my system. I cannot install it with emerge.

Google ... well, there is "libisoburn", of which xorriso is the command
line interpreter. Try whether this installs a xorriso binary, probably
/usr/bin/xorriso.
Google also proposes me to run
Code:
equery b /usr/bin/xorriso

to find the package.

(Else, you could build GNU xorriso from source. But let's first see what
Gentoo can do for you.)

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

The image showed all zeros in its first 512 bytes. So it is not a bootable
hard disk image (like e.g. gentoo-livedvd-amd64-multilib-20160704.iso is).

The MBR program of a freshly formatted USB stick will at best look for a
partition with boot flag and try to run its Volume Boot Record as program.
That program would then start the appropriate programs from the NTFS
in the partition. This chain of booting needs expert preparations.
As said: Rufus comes to my mind.

Have a nice day :)

Thomas
Back to top
View user's profile Send private message
walterbyrd
n00b
n00b


Joined: 26 Apr 2017
Posts: 48

PostPosted: Mon Oct 01, 2018 10:42 pm    Post subject: Reply with quote

> The image showed all zeros in its first 512 bytes. So it is not a bootable
> hard disk image (like e.g. gentoo-livedvd-amd64-multilib-20160704.iso is).

But it did boot.

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 today, after writing the video file, it worked.
Back to top
View user's profile Send private message
scdbackup
n00b
n00b


Joined: 19 Oct 2014
Posts: 23
Location: Germany

PostPosted: Tue Oct 02, 2018 5:51 am    Post subject: Reply with quote

Hi,

it is a little miracle that DVD burning suddenly worked. (Sometimes it
needs just a few bystanders who have clear ideas what should work.)

The fact that it boots from DVD without having an MBR is no miracle.
BIOS and EFI boot optical media via the El Torito boot record.
(It sits at DVD block 17, bytes 34816 to 36863.)

Have a nice day :)

Thomas
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum