| View previous topic :: View next topic |
| Author |
Message |
SeeYou
Joined: Wed Apr 25, 2012 3:32 pm Posts: 4 Location: North Dorset
|
Posted: Wed Apr 25, 2012 4:19 pm Post subject: DVD2USB problems |
|
|
I go through the suggested script as root (su).
The USB is mounted so that it will show up on the list :
USB /dev/sdd
File Image File
So I select the USB
On the next screen 'Do you want to proceed', If I unmount (using 'safely remove') the USB at this point, then on the next screen 'This operation wil overwrite /dev/sdd .... this is your last chance', when I select Yes
It says it is creating a bootable USB... may take some time.
After 2/3 minutes it fails with the following message :
dd: writing `/dev/sdd': No space left on device
126705+0 records in
126704+0 records out
518979584 bytes (519 MB) copied, 52.0171 s, 10.0 MB/s
dvd2usb: Error copying from DVD to USB stick
It did this with a brand new 8GB stick, so as it said 'out of space', I also tried with a 16GB stick with the same result - there is no data on the USB
Using the same proceedure but not unmounting it between screens 1 & 2, but following the screen that says "The drive at /dev/sdd must be unmounted. Then on selecting OK (post unmounting the USB) it simply returns to the root prompt of the terminal.
If I don't 'unmount' the USB at all then on selecting OK on the third screen, it returns to the prompt. I can of course umount /dev/sdd at the prompt, but I am out of the script..
Can you help/advise please?
I am running Fedora 13. |
|
| Back to top |
|
 |
Ben
Joined: Wed Feb 01, 2012 11:42 am Posts: 25
|
Posted: Wed Apr 25, 2012 5:42 pm Post subject: |
|
|
Hi,
The unmounting should be done before you run the script. So, from the terminal I run:
sudo umount /dev/sdb1
sudo ./dvd2usb.sh
(obviously you will need to change sdb1 to your USB device)
It should then display the device in the list in the script. When you use one of the graphical tools, it does some extra stuff as well as the umount which stops it working (and also stops it appearing in the list).
Let me know how you get on with this.
Ben |
|
| Back to top |
|
 |
SeeYou
Joined: Wed Apr 25, 2012 3:32 pm Posts: 4 Location: North Dorset
|
Posted: Wed Apr 25, 2012 6:08 pm Post subject: dvd2usb problems |
|
|
Thanks Ben.
I have tried that one - but the script only lists 'File'. I.e. no entry for any devices.
See You |
|
| Back to top |
|
 |
SeeYou
Joined: Wed Apr 25, 2012 3:32 pm Posts: 4 Location: North Dorset
|
Posted: Wed Apr 25, 2012 6:16 pm Post subject: dvd2usb problems |
|
|
Sorry Ben - that wasn't stricktly true. If I 'safely removed' before running the script it just shows File.
So I tried as you suggested
(as root) did umount and got this :
# umount /dev/sdd
umount: /dev/sdd: not mounted
Ran the script and of course it listed the device but then said at the last screen "The device at /dev/sdd is mounted. Unmount it or safely remove!
See You |
|
| Back to top |
|
 |
Ben
Joined: Wed Feb 01, 2012 11:42 am Posts: 25
|
Posted: Wed Apr 25, 2012 6:23 pm Post subject: |
|
|
Hi,
You'll need to include the partition number as well when you do the unmount, so probably:
sudo umount /dev/sdd1
(unplug and replug it before this if you've run safely remove)
I haven't actually tried it on a USB drive with multiple partitions, but I assume you'd have to umount each of them manually.
Let me know how it goes.
Ben |
|
| Back to top |
|
 |
nelz Moderator

Joined: Mon Apr 04, 2005 12:52 pm Posts: 8002 Location: Warrington, UK
|
Posted: Wed Apr 25, 2012 9:18 pm Post subject: |
|
|
If any partitions on the device are mounted, the script will refuse to proceed. Since the script is run as root, it would be possible to have it do any necessary unmounting if you felt like scratching that itch  _________________ Unix is user-friendly. It's just very selective about who it's friends are. |
|
| Back to top |
|
 |
SeeYou
Joined: Wed Apr 25, 2012 3:32 pm Posts: 4 Location: North Dorset
|
Posted: Thu Apr 26, 2012 1:30 pm Post subject: dvd2usb problems |
|
|
Many thanks - have got a successful result! It was closing the partition did it.
Charles (See You) |
|
| Back to top |
|
 |
| View previous topic :: View next topic |
|