Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

LXF154 Answers LXFUSB please cp causes errors

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
rbooth



Joined: Sat Sep 18, 2010 5:11 am
Posts: 8

PostPosted: Wed Feb 22, 2012 5:48 am    Post subject: LXF154 Answers LXFUSB please cp causes errors Reply with quote

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.
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8370
Location: Warrington, UK

PostPosted: Wed Feb 22, 2012 9:19 am    Post subject: Reply with quote

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)
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8370
Location: Warrington, UK

PostPosted: Wed Feb 22, 2012 11:06 am    Post subject: Reply with quote

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)
Back to top
View user's profile Send private message
rbooth



Joined: Sat Sep 18, 2010 5:11 am
Posts: 8

PostPosted: Fri Feb 24, 2012 4:47 am    Post subject: Reply with quote

/dev/dvd does exist. The copy command created a file 4.1GB in size. Then it issued the error message.
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8370
Location: Warrington, UK

PostPosted: Fri Feb 24, 2012 9:04 am    Post subject: Reply with quote

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)
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! 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
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast