Burn DVDs under Linux with DVDShrink on Debian Linux using WINE
|
After doing some Googling I realized most people don't have any problem just installing wine and dvdshrink. I found some nice, helpful sites that did not address any of my issues. I could get dvdshrink to open but I couldn't get it to open a dvd. If you are having this problem, I did not come up with the best solution in the world, but it works. Please use Google for any syntax questions. Here's what I did:
|
apt-get install wine winesetup
winesetup
|
|
This setup tool does not do everything but it will build us a good wine config file. Note the drives section that doesn't seem to do anything. Now run the dvdshrink installer.
|
|
wine dvdshrinksetup.exe
|
|
The installer may fail right at the end (error creating registery key. RegCreateKey 5 or something). I've had this on two different machines. Oddly enough I don't get this error when installing the 3.17 version of DVDShrink, but I do with the newest 3.2 version. Notice the error comes up when creating the uninstall info. Just run the installer and wait for the error. Don't click ok and instead kill the process. You can do this by trying: ctrl^c or ctrl^x or closing the terminal session you spawned the installer from. You can also right click close the window from within KDE and it should close it eventually. If you are really desperate, just reboot. Otherwise the failure causes the installer to roll back and delete everyhing. If you are sucessful this should now work:
|
|
wine ~/.wine/drive_c/Program\ Files/DVD\ Shrink/DVD\ Shrink\ 3.2.exe
|
|
Hurray! I saw a lot of posts saying to change the reported Windows type to winxp from win98 or win95. windows=nt40 works well for me. (vi ~/.wine/config) Happy googling. I had another problem of not being able to open any discs. So the only way I can get this to work is by using the file -> "open disc image" option in DVD Shrink which lets you file browse to an iso image of a dvd. But we haven't made an iso of our DVD yet. This is a tough step.
|
|
I hope to find a good replacement step here but I used DVDDecrypter on a Windows machine to rip the whole movie to an iso using "mode -> iso -> read". Put this file on a smb share somewhere. I was also able to get DVDDecrypter to install under wine. Most people seem to have this method work well, but it would only rip at 0.1x for me (yes, with DMA confirmed on). I have no idea, but you might have better results. The installer complained until I ran the install and later the program both as root (DVDDecrypter under Windows requires you to be an administrator also). You also have to have the dvd reader in scsi emulation mode for DVDDecrypter to work:
|
vi /etc/modules
add the line:
ide-scsi
vi /boot/grub/menu.lst
add hdd=ide-scsi to the end of your kernel string
shutdown -r now (reboot)
|
|
I have also gotten around this step another way. Note the /dev/hdd should be your dvd reader. -M means "the whole movie". This method is a two step process before we even get to DVD Shrink, but it's quick, reliable and pure Linux.
|
apt-get install dvdbackup mkisofs
dvdbackup -i /dev/hdb -M -o /mnt/md1/dvd/
|
|
This step did not make us an iso, but we can now easily make one now using:
|
|
mkisofs -dvd-video -udf -o dvd.iso /mnt/md1/dvd/DVDNAME/
|
|
Now lets get Wine to see some other drives so we can navigate to the created iso file.
|
cd ~/.wine/dosdevices/
ls -lh
|
|
You will see of bunch of drives defined that don't show up in the wine file browser. This is because most of the links are to devices as indicated by the double full colons. (d:: -> /dev/hdb) You would need to make these work in order for dvdshrink to be able to open discs natively. The ones with only one set of full colons point to file systems instead of devices.
|
unlink d::
ln -s /whereyouputtheisofile d:
ln -s /dev/hdd d::
|
|
Before this works you also have to change the config (~/.wine/config) file to agree with the changes we just made to the links under dosdevices. I highly recommend removing all the drives you don't need, BUT leave the x: -> /tmp drive because installers won't work anymore if you remove it. To create the matches in the config just copy a previous device definition and make it agree with the links in dosdevices.
|
|
You should now have the D: drive availble with the contents of "whereyouputtheisofile" showing up in file browsers under WINE. I still can't get DVDShrink to open a set of files or a disc, but you can now go to file -> open disc image and navigate to D: and open the correct iso file. The rest is just like when you were just a kid running DVDShrink under Windows. Bye bye Microsoft. In The final step on DVDShrink don't select any of the burning options and just leave it set to "create iso".
|
|
Now we just have to burn the iso:
|
|
growisofs -dvd-compat -Z /dev/hdd=final.iso
|
By Dan Ullom
dan@sudora.com
2005-06-27
|