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.
I get the error message:
[quote]Track 01: data 4522 MB
Total size: 4522 MB = 2315733 sectors
Current Secsize: 2048
Blocks total: 2295104 Blocks current: 2295104 Blocks remaining: -20629
cdrecord: Data does not fit on current disk.[/code]
I already removed some of the files so the iso gets smaller. I am now at 4522 MB and I think, there must be something wrong. The dvd should have 4.7 GB space.
Anybody know, how to fix this?
I am running Slackware 13.0, cdrecords/mkisofs version is "Cdrecord-ProDVD-ProBD-Clone 2.01.01a57 (i686-pc-linux-gnu) Copyright (C) 1995-2009 Jörg Schilling".
In my experience of making ISOs I've run into the same problem as you. What's actually on the DVD disk is around 4400MB. So it's a good idea to keep below that threshold.
omg... You're right. With only 4 gb isos it works.
It really sucks that they write 4.7 gb and you don't have really 4.7. You neither have 4.6 nor 4.5 gb...
Between the manufacturers version of GB, and the inevitable space taken up by the filesystem, you will always get less than it's advertised as. My 8GB flashdrive only has 7.5GB usable too.
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
Different types of media have different maximum capacities. DVD-ROM, DVD-RW, DVD-R, DVD+R, DVD+RW, DVD_RAM are all different. And the people who replied before me hinted at the confusion caused by the SI unit prefixes referring to bytes (kilobytes, megabytes, etc).
The literal definition of kilo is one thousand, not 1024. The SI units are based on the decimal number system (base 10), not binary or hexadecimal. One gigabyte = one billion bytes (1000*1000*1000). But one gibabyte = 1,073,741,824 bytes (1024*1024*1024).
Manufacturers of computer related items are legally allowed to rate capacities in SI units, rather than powers of 2. A gigabyte is not an integer power of 2. A gibabyte is 2^30. So, 1 gigabyte = 0.931322575 gibabytes. The
maximum-advertised-capacity-of-a-DVD * 0.931322575 = what-the-computer-says-is-the-maximum-capacity. So, a 4.7 GB DVD-+R will hold about 4.3 gibabytes of data.
-overburn
Normally single layer DVD media can accommodate up to approximately 4.700.000.000 bytes (in marketing speech 4.7GB). In other words a DVD can contain about 4.377 GiB or 4482 MiB. Same kind of arithmetics applies to Blu-ray Disc capacity of 25.000.000.000 bytes. Anyway, growisofs won't start without this option, if "overburn" condition appears to be unavoidable.
-overburn
Normally single layer DVD media can accommodate up to approximately 4.700.000.000 bytes (in marketing speech 4.7GB). In other words a DVD can contain about 4.377 GiB or 4482 MiB. Same kind of arithmetics applies to Blu-ray Disc capacity of 25.000.000.000 bytes. Anyway, growisofs won't start without this option, if "overburn" condition appears to be unavoidable.
Sure seems to be funny math to me.
You can use 'cdrecord -media-info' to find out the capacity. On DVD-R I notice it is 4707319808 bytes, and google says 4 707 319 808 bytes = 4 489.25 megabytes. It is correct because 4707319808 bytes / 1024 = 4596992 KB / 1024 = 4489.25 MB. So, the maximum is actually 4489, but so it is easier to remember I remember 4488. It's always good not to cut is so close anyway.
Oh, and I have to mention that you can't actually burn say a file of 4488 MB to a DVD, mostly because once you add it to an ISO the filesystem will take up more space and it will be too large. Try something like 4480 or so, I just burned a few files of this size, so it will work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.