LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 09-26-2007, 04:46 AM   #1
edubidu
Member
 
Registered: Mar 2007
Location: Switzerland
Distribution: Ubuntu
Posts: 32

Rep: Reputation: 15
Question K3b burn files bigger than 2gb howto


Somebody knows how to burn files bigger than 2gb with k3b?
I read in a forum that udf could do that, but the only option I found is under a new DVD project - Properties under the Filesystem Tab "Generate UDF structures".

This doesn't help, unfortunately.

The files I try to burn are virtual machine-Files bigger than 5gb...

Please note thad I do NOT want to SPLIT the file...

Someone has an idea?
Maybe another burning tool could manage this?

Last edited by edubidu; 09-26-2007 at 04:56 AM.
 
Old 09-26-2007, 11:30 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,743

Rep: Reputation: 299Reputation: 299Reputation: 299
First, use a tool such as mkisofs to make an .iso of the file(s)/directory(s) you want.

Then use k3b to burn the .iso to dvd. You could also use growisofs to burn the dvd from the command line.

Mkisofs makes the .iso, but it also compresses the file(s). For example, a Linux liveDVD with 4.7 gb will expand to 7 gb or more when installed.
 
Old 09-26-2007, 12:26 PM   #3
edubidu
Member
 
Registered: Mar 2007
Location: Switzerland
Distribution: Ubuntu
Posts: 32

Original Poster
Rep: Reputation: 15
Hi, thank you for this quick response!
the thing is I'd like to read the file directly from dvd to work with it. When I change it into an iso, would this be possible? I mean, if the file is a xxx.vhd and I make an ISO, would I be able to read then the file as a xxx.vhd on the dvd?
 
Old 09-26-2007, 12:45 PM   #4
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 70
Quote:
Originally Posted by bigrigdriver View Post
First, use a tool such as mkisofs to make an .iso of the file(s)/directory(s) you want.

Then use k3b to burn the .iso to dvd. You could also use growisofs to burn the dvd from the command line.
Unfortunately this may not work with files as big as 5 gigabytes. For one thing, it requires a very recent mkisofs (one with multiple extents per file). Additionally, you may not be able to read the resultant CD correctly in linux. See this thread for more information.

Your best bet is to use udftools from the command line (or get K3B to use udftools as a backend).
 
Old 09-27-2007, 04:54 AM   #5
edubidu
Member
 
Registered: Mar 2007
Location: Switzerland
Distribution: Ubuntu
Posts: 32

Original Poster
Rep: Reputation: 15
Hello, thanks! I installed udftools and read the user manual from http://www.linuxfromscratch.org/blfs.../udftools.html
but seems I am to bad to use it...

so I did cdrwtool -d /dev/cdrom -q
using device /dev/cdrom
set_options
#/home/loc/download # mkudffs

how do I burn now my file??
 
Old 09-27-2007, 01:41 PM   #6
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 70
Quote:
Originally Posted by edubidu View Post
Hello, thanks! I installed udftools and read the user manual from http://www.linuxfromscratch.org/blfs.../udftools.html
but seems I am to bad to use it...
That link is not a manual. It is installation instructions for building from scratch.

The easiest way of making disks with a UDF filesystem through packet writing, for which many tutorials exist. Alternatively (if you want make an image first and burn it later), you can do something similar to “fake” packet writing. By this, I mean writing to a file on a loopback-mounted UDF filesystem. This can subsequently be unmounted to give you an image file, suitable for burning as a track with cdrecord.

For example (this Works For Me™), if you make a 5 gigabyte file called random.txt and a 6 gigabyte image file:
Code:
$ head --bytes=5120 /dev/urandom > random.txt
$ head --bytes=6144 /dev/zero    > image.udf
$ mkudffs --utf8 image.udf
$ mkdir udf
$ sudo mount -t udf -o loop,noatime,rw image.udf udf
$ sudo cp random.txt udf
$ sudo umount udf
Now you have a udf image (image.udf) which you created without even touching a cd drive. This image can subsequently be transferred to a computer with a burner, and be burned like so:
Code:
cdrecord -dao -dev=/dev/hdc image.udf
 
Old 09-28-2007, 02:20 AM   #7
edubidu
Member
 
Registered: Mar 2007
Location: Switzerland
Distribution: Ubuntu
Posts: 32

Original Poster
Rep: Reputation: 15
wow! let me try this...
 
  


Reply

Tags
burn, burning, file, files, gb, k3b


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Can't burn CDs in K3b using CUE files (EAC-created) MheAd Linux - Software 5 09-16-2007 06:42 PM
Can't get K3B to Burn These Files to DVD! MoMule Linux - Software 2 10-06-2006 10:12 AM
k3b wont burn que/bin files treborblack Linux - Software 11 08-28-2004 11:58 PM
Unable to burn jpeg files to a VCD using K3b camorri Linux - Software 2 08-19-2004 06:19 PM
How to burn the ISO files with K3B? AnthraxCN Linux - Software 11 05-19-2004 08:16 PM


All times are GMT -5. The time now is 09:46 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration