LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 09-18-2006, 02:22 AM   #16
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282

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.

You can find info in the 'how it works' whitepaper on http://www.dvdrw.com
 
Old 09-18-2006, 06:50 PM   #17
MBA Whore
Member
 
Registered: May 2006
Location: Kansas City, MO
Distribution: Various: pclos, Debian, Ubuntu, etc . . .
Posts: 649

Original Poster
Rep: Reputation: 30
When I try

Quote:
Originally Posted by jayakrishnan
have u tried

dvd+rw-format

console command. It can blank ur DVD

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.

Do I have to su into root?
 
Old 09-19-2006, 12:05 AM   #18
speck
Member
 
Registered: Nov 2001
Location: US
Distribution: Slackware 14.2
Posts: 375

Rep: Reputation: 115Reputation: 115
Try a command similar to the following (also referenced a couple posts above):
Code:
growisofs -Z /dev/scd1=/dev/zero
Where "1" is your DVD device (could also use /dev/dvd if your link is set up properly).

You can test the process before actually writing to the disk:
Code:
growisofs -dry-run -Z /dev/dvd=/dev/zero
 
Old 09-22-2006, 11:04 AM   #19
MBA Whore
Member
 
Registered: May 2006
Location: Kansas City, MO
Distribution: Various: pclos, Debian, Ubuntu, etc . . .
Posts: 649

Original Poster
Rep: Reputation: 30
Wim and speck (and anyone else reading)

Wim and speck:

Thanks for your replies. I haven't yet had time to try them but I will, and I will post my results.
 
Old 09-25-2006, 06:11 PM   #20
MBA Whore
Member
 
Registered: May 2006
Location: Kansas City, MO
Distribution: Various: pclos, Debian, Ubuntu, etc . . .
Posts: 649

Original Poster
Rep: Reputation: 30
Wim. . .I tried

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[~]$
 
Old 09-25-2006, 06:19 PM   #21
MBA Whore
Member
 
Registered: May 2006
Location: Kansas City, MO
Distribution: Various: pclos, Debian, Ubuntu, etc . . .
Posts: 649

Original Poster
Rep: Reputation: 30
speck. . .I tried

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"

Any thoughts? Thanks
 
Old 09-25-2006, 06:29 PM   #22
MBA Whore
Member
 
Registered: May 2006
Location: Kansas City, MO
Distribution: Various: pclos, Debian, Ubuntu, etc . . .
Posts: 649

Original Poster
Rep: Reputation: 30
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.

Thanks again!
 
Old 09-25-2006, 06:56 PM   #23
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Mba

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.

Hope this helps

Lazlow
 
Old 09-25-2006, 07:42 PM   #24
MBA Whore
Member
 
Registered: May 2006
Location: Kansas City, MO
Distribution: Various: pclos, Debian, Ubuntu, etc . . .
Posts: 649

Original Poster
Rep: Reputation: 30
Could you give an example

Quote:
Originally Posted by lazlow
Mba

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?
 
Old 09-25-2006, 07:54 PM   #25
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,448
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Quote:
Originally Posted by MBA Whore
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.

What happens when you try one of these:

dvd+rw-format -blank=full /dev/dvdwriter

dvd+rw-format -blank=full /dev/hdc

dvd+rw-format -blank=full /dev/hdd
 
Old 09-25-2006, 08:07 PM   #26
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Mba

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.

Lazlow
 
Old 09-25-2006, 08:12 PM   #27
MBA Whore
Member
 
Registered: May 2006
Location: Kansas City, MO
Distribution: Various: pclos, Debian, Ubuntu, etc . . .
Posts: 649

Original Poster
Rep: Reputation: 30
rkelsen....this is

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?
 
Old 09-25-2006, 08:31 PM   #28
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,448
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Quote:
Originally Posted by MBA Whore
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).
 
Old 09-25-2006, 11:11 PM   #29
MBA Whore
Member
 
Registered: May 2006
Location: Kansas City, MO
Distribution: Various: pclos, Debian, Ubuntu, etc . . .
Posts: 649

Original Poster
Rep: Reputation: 30
rkelsen.....It appears to have worked. I do have one question though.

I followed your suggestion and got the following (I cut out a large part of it that was irrelevant. . .I just pasted the beginning and end):


WARNING: /dev/hdd already carries isofs!
About to execute 'builtin_dd if=/dev/zero of=/dev/hdd obs=32k seek=0'
/dev/hdd: "Current Write Speed" is 2.5x1385KBps.
3768320/4700372992 ( 0.1%) @0.5x, remaining 145:24
15335424/4700372992 ( 0.3%) @2.4x, remaining 50:55
26935296/4700372992 ( 0.6%) @2.5x, remaining 37:35
38469632/4700372992 ( 0.8%) @2.4x, remaining 34:20

4651057152/4700372992 (99.0%) @2.4x, remaining 0:14
4662558720/4700372992 (99.2%) @2.4x, remaining 0:11
4674060288/4700372992 (99.4%) @2.4x, remaining 0:07
4685660160/4700372992 (99.7%) @2.5x, remaining 0:04
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
/dev/hdd: flushing cache
/dev/hdd: stopping de-icing
/dev/hdd: writing lead-out
guest1978@1[~]$


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.

Regardless, a big THANK YOU !!!!!!!

/ and to all others who pitched in...thanks!!!!
 
Old 09-25-2006, 11:29 PM   #30
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,448
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Quote:
Originally Posted by MBA Whore
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Make bootable linux CD with Windows/Nero (NOT buirning an image) headrift Linux - Newbie 3 02-24-2006 01:33 PM
Trouble with K3B and DVD Nero works fine ShaneK Linux - Software 0 12-29-2005 12:02 PM
creating boot with windows nero... ssabljic Slackware - Installation 3 11-18-2005 09:00 AM
k3b and nero problems tux66 Slackware 10 05-20-2005 03:49 PM
Replacement for NERO use k3b? Alinuxnoob Linux - Software 2 09-12-2004 03:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration