LXF154 Answers LXFUSB please cp causes errors

The place to post if you need help or advice

Moderators: ChrisThornett, LXF moderators

LXF154 Answers LXFUSB please cp causes errors

Postby rbooth » Wed Feb 22, 2012 5:48 am

In LXF 154, Feb 2012, in the Answers section, Page 199, in answer to the question titled LXFUSB please, one response was to issue the command "cp /dev/dvd filename". I have tried this command on four of your coverdisks (155, 154, and both 153) and get the following:

rbooth@houston:~/Temp$ cp /dev/dvd LinuxFormatCoverDisk.iso
cp: reading `/dev/dvd': Input/output error
rbooth@houston:~/Temp$ sudo cp /dev/dvd LinuxFormatCoverDisk.iso
[sudo] password for rbooth:
cp: reading `/dev/dvd': Input/output error

Note that I tried both as normal and super user.

I am using Ubuntu 10.10, since newer versions are, um, undesirable.
rbooth
 
Posts: 8
Joined: Sat Sep 18, 2010 4:11 am

Postby nelz » Wed Feb 22, 2012 9:19 am

Does /dev/dvd exist? Most distros are set up to create a symlink from the real device, usually /dev/sr0, to /dev/dvd. Look at the output from mount or df to see the actual device and use that instead of /dev/dvd.
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
nelz
Site admin
 
Posts: 8577
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

Postby nelz » Wed Feb 22, 2012 11:06 am

BTW don't use this on DVDs 154 or 155 (or 156), use the dvd2usb script from the DVD instead.
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
nelz
Site admin
 
Posts: 8577
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

Postby rbooth » Fri Feb 24, 2012 4:47 am

/dev/dvd does exist. The copy command created a file 4.1GB in size. Then it issued the error message.
rbooth
 
Posts: 8
Joined: Sat Sep 18, 2010 4:11 am

Postby nelz » Fri Feb 24, 2012 9:04 am

Ah, you didn't mention that before. Did you try to use the image file it created?

Also, from DVD154 onwards, this is no longer necessary.
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
nelz
Site admin
 
Posts: 8577
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK


Return to Help!

Who is online

Users browsing this forum: No registered users and 1 guest