Bug 109399 - Write Images to disk in several chunks (e.g. 4GB chunks for FAT filesystems)
Summary: Write Images to disk in several chunks (e.g. 4GB chunks for FAT filesystems)
Status: RESOLVED FIXED
Alias: None
Product: k3b
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
: 101389 131141 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-07-20 22:40 UTC by Jose
Modified: 2008-06-17 18:25 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jose 2005-07-20 22:40:13 UTC
Version:            (using KDE KDE 3.4.1)
Installed from:    Debian testing/unstable Packages

Hi, I have a dual boot configuration with Windows and Linux. So, I have a NTFS Windows XP partition, a ReiserFS Linux partition and a FAT32 partition to share data. The problem is that Linux partition is not big enough to have a distribution and still, to have 5GB of free space. I have it in the FAT32 partition that has only shared data and some games (from Windows since they don't fit in the NTFS partition). 
The problem is that FAT32 partitions does not support files bigger than 4GB so all the burning applications in Windows have the option to split images bigger than 4GB so they can be holded in a FAT32 partition. At the moment, every time I have to copy a DVD I have to use Windows because k3b can't split files. It would be great for people with dual boot configuration to have such an option. I don't think I'm the only person with that problem. Most people with dual boot have a partition to share data and it's a shame we can not copy dvds in Linux due to that.
Thanks for your atention.
Regards.
Comment 1 Christoph Burger-Scheidlin 2006-09-22 16:19:19 UTC
Renamed to make purpose clearer. After reading the title I got the impression that you want to split images into multiple volumes.
Comment 2 Christoph Burger-Scheidlin 2006-11-15 19:44:35 UTC
closing this will also close bug 101389 (crash when more than 4GB are written to FAT)
Comment 3 Sebastian Trueg 2006-11-16 12:54:51 UTC
*** Bug 101389 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Burger-Scheidlin 2006-11-16 13:13:34 UTC
Not sure about the duplicate mark. Bug 101389 is about the crash, which can be prevented by checking the maximum file size and not allowing to store data there. Of course this wish is the "proper" solution.
Comment 5 Sebastian Trueg 2006-11-16 14:06:57 UTC
there is no crash in bug 101389.
Comment 6 Tiago Cruz 2006-11-16 14:29:26 UTC
Yes.... have crash when the size of file is bigger then 4 GB.

K3b die without say nothing :(

The best solution, IMHO, is detect one limited partition (like FAT) and make one slipt of image to, for example, 2 GB and after burn the disc (like windows program does).

Thanks 
Comment 7 Christoph Burger-Scheidlin 2006-11-16 14:36:33 UTC
Well, bug 101389 is marked as crash and it has "Crash" in the title...
Comment 8 Sebastian Trueg 2006-11-16 14:52:04 UTC
ok then, my bad, it is a crash. However, once I fixed this it will be gone...
Comment 9 Christoph Burger-Scheidlin 2006-11-16 15:03:40 UTC
*** Bug 131141 has been marked as a duplicate of this bug. ***
Comment 10 Sebastian Trueg 2006-11-20 15:10:26 UTC
SVN commit 606459 by trueg:

* Introducing K3bFileSplitter which splits files on file system that
  do not support bug files (hello, fat)
* Half-way to DVD copy verification.
* Use a combobox for the mixed type instead of the buttongroup to give
  it a consistent look.
* Some minor GUI improvements.

BUG: 109399


 M  +10 -0     libk3b/core/k3bglobals.cpp  
 M  +8 -0      libk3b/core/k3bglobals.h  
 M  +24 -32    libk3b/jobs/k3bdvdcopyjob.cpp  
 M  +3 -2      libk3b/jobs/k3biso9660imagewritingjob.cpp  
 M  +2 -1      libk3b/projects/datacd/k3bdataitem.cpp  
 M  +25 -12    libk3b/projects/datacd/k3bdatajob.cpp  
 M  +31 -21    libk3b/projects/datacd/k3bisoimager.cpp  
 M  +2 -6      libk3b/projects/datadvd/k3bdvdjob.cpp  
 M  +3 -2      libk3b/tools/Makefile.am  
 A             libk3b/tools/k3bactivepipe.cpp   [License: GPL (v2+)]
 A             libk3b/tools/k3bactivepipe.h   [License: GPL (v2+)]
 M  +20 -131   libk3b/tools/k3bchecksumpipe.cpp  
 M  +15 -38    libk3b/tools/k3bchecksumpipe.h  
 A             libk3b/tools/k3bfilesplitter.cpp   [License: GPL (v2+)]
 A             libk3b/tools/k3bfilesplitter.h   [License: GPL (v2+)]
 M  +14 -2     libk3b/tools/k3bintmapcombobox.cpp  
 M  +2 -0      libk3b/tools/k3bintmapcombobox.h  
 M  +7 -3      libk3b/tools/k3blistview.cpp  
 M  +2 -0      libk3b/tools/k3bmd5job.h  
 M  +1 -1      src/k3b.desktop  
 M  +2 -2      src/misc/k3bisoimagewritingdialog.cpp  
 M  +1 -9      src/projects/base_k3bdataimagesettings.ui  
 M  +0 -8      src/projects/base_k3bdatavolumedescwidget.ui  
 M  +50 -84    src/projects/k3bmixedburndialog.cpp  
 M  +2 -3      src/projects/k3bmixedburndialog.h  
Comment 11 Tiago Cruz 2006-11-20 22:29:35 UTC
Hello Sebastian, very thanks, great work!
I've tested here and works very well, the md5summer as the same after burned!

If I can, please, I yet have some two doubt's around this question:

1-) Whats means "use-the-force-luke" on the command line used to burn DVD? :) I can't find any documentation around this parameter...
growisofs -Z /dev/scd0 /dev/fd/0 -use-the-force-luke=notray -use-the-force-luke=tty -use-the-force-luke=tracksize:2267648 -dvd-compat -speed=2

2-) How can I burn the ISO's on my Hard Disc after? Because I have a lot of:
2007.0-powerpack-i586-disc1.iso
2007.0-powerpack-i586-disc1.iso.001
2007.0-powerpack-i586-disc1.iso.002
2007.0-powerpack-i586-disc1.iso.003
2007.0-powerpack-i586-disc1.iso.004

And when I try to burn, only the first file (.iso) has gone to my disc :(

Thanks a lot!!!
Comment 12 Sebastian Trueg 2006-11-21 11:03:05 UTC
On Monday 20 November 2006 22:29, Tiago Cruz wrote:
> 1-) Whats means "use-the-force-luke" on the command line used to burn DVD?
> :) I can't find any documentation around this parameter... growisofs -Z
> /dev/scd0 /dev/fd/0 -use-the-force-luke=notray -use-the-force-luke=tty
> -use-the-force-luke=tracksize:2267648 -dvd-compat -speed=2


it's hidden functionality only for the gods of dvd burning. ;)

> 2-) How can I burn the ISO's on my Hard Disc after? Because I have a lot
> of: 2007.0-powerpack-i586-disc1.iso
> 2007.0-powerpack-i586-disc1.iso.001
> 2007.0-powerpack-i586-disc1.iso.002
> 2007.0-powerpack-i586-disc1.iso.003
> 2007.0-powerpack-i586-disc1.iso.004
>
> And when I try to burn, only the first file (.iso) has gone to my disc :(


use the dvd iso burning tool in k3b. It handles these images. Or do a

cat 2007*|growisofs /dev/XXX=/dev/fd/0

on the commandline.
Comment 13 Tiago Cruz 2006-11-21 12:19:54 UTC
Thanks Yoda Master :)

So, I'll use the 'cat' command to do this, because the ISO burning tool of k3b only get the first iso file.

Thanks a lot!

Comment 14 Sebastian Trueg 2006-11-21 12:35:56 UTC
On Tuesday 21 November 2006 12:19, Tiago Cruz wrote:
[bugs.kde.org quoted mail]

what? really? it works here. do you have the latest svn?
Comment 15 Tiago Cruz 2006-11-21 12:48:06 UTC
So Sebastian,

Yes, I got the last SVN version yesterday and compile-it on my ubuntu dapper.

The k3bfilesplitter works very well, generating a lot of files with 1 GB each one.

But, when I use the DVD iso burning tool of k3b, I just select the 2007.0-powerpack-i586-disc1.iso and the program do the md5summer.

And the result is the md5 is only  the first ISO, and not of all files (.001,.002,.003 and .004). So, I didn't the second burning, because I was expecting other result. So, is normal this? I cant burn this image without fear? :-p

Thanks!
Comment 16 Sebastian Trueg 2006-11-21 13:08:17 UTC
On Tuesday 21 November 2006 12:48, Tiago Cruz wrote:
> And the result is the md5 is only  the first ISO, and not of all files


Ahh, I see. The md5 sum in the dialog does not use the splitter yet. but the 
burning does.

> (.001,.002,.003 and .004). So, I didn't the second burning, because I was
> expecting other result. So, is normal this? I cant burn this image without
> fear? :-p


sure, the burning uses the splitter and so does the verification.
Comment 17 Sebastian Trueg 2006-11-21 13:17:31 UTC
fixed now.
Comment 18 Tiago Cruz 2006-11-23 00:16:46 UTC
Sebastian,

Only to you know: I've compiled here and works very well, thanks! ;)