[SOLVED] Can Linux with K3B do what Windows with Nero already does?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Not an answer to the question, but found a solution to blank your DVD+RW on http://fy.chalmers.se/~appro/linux/DVD+RW/ (please read the complete article, not only the part that I extracted).
Quote:
Formatting the DVD+RW media. Virgin DVD+RW media needs to be initally formatted prior usage. Once again, only virgin DVD+RW media needs to be formatted. As of version 5.10 growisofs detects blanks and applies initial formatting procedure automatically. Otherwise same effect can be achieved by passing the device name, e.g. /dev/scd0, as an argument to dvd+rw-format. To make formatting process reasonably fast, less than 1 minute, the media gets formatted only partially, as you can notice by observing a progress indicator displayed by dvd+rw-format. The final indicator value varies from firmware to firmware, values as low as 1.6% were observed. But it does not mean that you can only write that little. The unit keeps formatting transparently, as you add more data. Oh! Do keep in mind that DVD capacity of 4.7GB are salesman's GB, i.e. 10003 and not 10243.
It was observed that excessive reformats can render media unusable already after 10-20 reformats. It appears to be a firmware deficiency, not some common media defect [at least it was perfectly possible to salvage the media in a unit of different brand], but I don't recommend [enforced] reformat in either case. Note that DVD+RW re-formatting procedure does not substitute for blanking. If you want to nullify the media, e.g. for privacy reasons, do it explicitly with 'growisofs -Z /dev/scdN=/dev/zero'. Otherwise just write over previous recording as it simply wasn't there, no re-formatting is required.
DVD+R media does not require any formatting procedure applied and is ready to use out-of-the-box. Apparently, a reminder that 1st generation units (Ricoh MP5120A and derivatives) are not capable of burning DVD+R is needed.
It's my understanding that K3B uses 'growisofs'. You can check that by running a 'ps' and pipe the result through 'grep' while burning.
Comment:
I doubt that the full format of Nero writes 0's and 1's. Optical media use temperature to change the reflective state of the medium. By using a certain temperature (laser power), you make it reflective and by using another temperature, you make it less reflective.
When I try dvd+rw-format this is what happens in konsole:
guest1978@1[~]$ dvd+rw-format -blank=full /dev/dvd
* DVD±RW/-RAM format utility by <appro@fy.chalmers.se>, version 4.10.
:-( mounted media doesn't appear to be DVD±RW or DVD-RAM
guest1978@1[~]$
I don't know why it states "doesn't appear to be DVD. . ."
It is a DVD+RW in perfect working condition. It does the same thing if I put a different DVD+RW too. I am stumped.
Wim. . .I tried what you said and posted my results below. Also, I looked at the weblink you gave me (which has the specific growisofs command you gave me) and tried to read it but got totally lost. I looked a bit on google for something similar, but got lost again. This stuff is really confusing. Could I be doing something wrong? Or perhaps I need to update my software?
Your thoughts? Thanks!
guest1978@1[~]$ growisofs -Z /dev/scdN=/dev/zero
:-( "/dev/scdN=/dev/zero": unexpected errno:No such file or directory
guest1978@1[~]$
speck, I tried your "test" run first, then your "real" one second, and then replaced scd1 with /dev/dvd for my third attempt.
The output is below. I must be doing something wrong. . .or perhaps I need to update my software?
guest1978@1[~]$ growisofs -dry-run -Z /dev/dvd=/dev/zero
:-( /dev/dvd: media is not recognized as recordable DVD: 8
guest1978@1[~]$ growisofs -Z /dev/scd1=/dev/zero
:-( "/dev/scd1=/dev/zero": unexpected errno:No such file or directory
guest1978@1[~]$ growisofs -Z /dev/dvd=/dev/zero
:-( /dev/dvd: media is not recognized as recordable DVD: 8
guest1978@1[~]$
BTW. . .what do you mean by "where 1 represents my dvd"
I forgot to add: For all readers, not just posters
I forgot to add: Answers to help me out are welcome from all readers, not just those whom I happen to be chatting with at the moment.
I am really puzzled that something so simple (blank my DVD+RW) could be so difficult. Probably it will end up being something super easy that was overlooked.
Note that I do not want to reformat the RW. I want to "blank" it.
What I ultimately want to do is to be able to back up my private data to DVD+RW, then blank the entire RW, then once again use the RW to back up my data. This is what I do in Nero in Windows using the "complete erase" option. Blanking the entire disc, instead of just overwriting, ensures that no trace is left behind.
Any thoughts? I've been periodically researching this, jumping from suggested weblink to suggested weblink, but nothing has worked thus far. Some of the stuff is too technical for me to understand, but I still want to learn some of the basics.
You will never be able to totally remove the data from the disks without extreme measures. Just like you have to go through extreme measures to totaly remove data from a HD. If someone wants to know what was on the disk bad enough they can pull most of it back out.
I think the problem you are having with speck's method is that you are not identifying your dvd mount point correctly. In my system (FC5) it is in /media/diskname. Where diskname varies depending on what it was called the last time it was written ( a lot of mine say k3b data project). It sometimes also shows up as /dev/dvdwriter.
I think the problem you are having with speck's method is that you are not identifying your dvd mount point correctly. In my system (FC5) it is in /media/diskname. Where diskname varies depending on what it was called the last time it was written ( a lot of mine say k3b data project). It sometimes also shows up as /dev/dvdwriter.
Hope this helps
Lazlow
Could you give me an example of the command prompt you use then, so I can compare / contrast?
guest1978@1[~]$ dvd+rw-format -blank=full /dev/dvd
* DVD±RW/-RAM format utility by <appro@fy.chalmers.se>, version 4.10.
:-( mounted media doesn't appear to be DVD±RW or DVD-RAM
guest1978@1[~]$
I don't know why it states "doesn't appear to be DVD. . ."
I agree with lazlow. I don't think you're specifying the correct device.
I do not blank rw media for the reasons I stated above. I use K3b to rewrite all my disks. I suspect that you are not finding the correct path to the device. You will have to look at your specific machine to see where your actual mount point is. Rkelson has given you a few suggestions and I gave you a few more. Put a dvd in that you can recognize the contents of, mount it and look around for the correct mount point.
rkelsen....my dvd burner is hdd (my dvd reader is hdc). . .so I tried hdd. Below is the output. If it makes any difference, I labeled the dvd burner as "dvdburner" so I tried that too.
guest1978@1[~]$ dvd+rw-format -blank=full /dev/hdd
* DVD±RW/-RAM format utility by <appro@fy.chalmers.se>, version 4.10.
* 4.7GB DVD+RW media detected.
- illegal command-line option for this media.
- you have the option to re-run dvd+rw-format with:
-lead-out to elicit lead-out relocation for better
DVD-ROM compatibility, data is not affected;
-force to enforce new format (not recommended)
and wipe the data.
guest1978@1[~]$ dvd+rw-format -blank=full /dev/dvdburner
* DVD±RW/-RAM format utility by <appro@fy.chalmers.se>, version 4.10.
:-( unable to open("/dev/dvdburner"): No such file or directory
guest1978@1[~]$
Maybe this is a dumb question but....do I need to have my dvd burner "mounted" while I am running this command? Or be root?
guest1978@1[~]$ dvd+rw-format -blank=full /dev/hdd
* DVD±RW/-RAM format utility by <appro@fy.chalmers.se>, version 4.10.
* 4.7GB DVD+RW media detected.
- illegal command-line option for this media.
- you have the option to re-run dvd+rw-format with:
-lead-out to elicit lead-out relocation for better
DVD-ROM compatibility, data is not affected;
-force to enforce new format (not recommended)
and wipe the data.
That's a better result than before. At least we know which device it is. Try this:
growisofs -Z /dev/hdd=/dev/zero
The disc should NOT be mounted.
It should work from your normal user account. (i.e. not root).
Afterwards, I burned data on the DVD and was able to read it.
Then, as a secondary test, I followed your suggestion again (in other words, I blanked it a 2nd time). The 2nd test output was the exact same as what I posted above (the 1st test output).
It appears to have worked. I do have one question though.
Notice at the end of the pasted message it stops at 99.9% then states "invalid arguement" and "write failed" etc.
What does all of that mean? It seemed to work (both times) so I don't know why it would give messages like "invalid arguement" etc.
4697128960/4700372992 (99.9%) @2.4x, remaining 0:00
:-[ WRITE@LBA=230540h failed with SK=5h/ASC=21h/ACQ=02h]: Invalid argument
builtin_dd: 2295104*2KB out @ average 2.4x1385KBps
:-( write failed: Invalid argument
...
Notice at the end of the pasted message it stops at 99.9% then states "invalid arguement" and "write failed" etc.
What does all of that mean? It seemed to work (both times) so I don't know why it would give messages like "invalid arguement" etc.
I dunno. That's a tough one. Try the same exercise logged in as root and see if you get the same errors. If you don't, then you have a permissions problem.
If you do, but it appears to have worked, then I wouldn't worry about it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.