Jump to content

Burning large data files


Urza9814
 Share

Recommended Posts

I've got a 4GB file that I need to back up on a DVD. I tried burning it with k3b, but it says the file is too big. I was thinking maybe I could split it with ark, but it won't load in the file (well, it sat there for about an hour and didn't do anything) and I couldn't find any way to split an archive anyways. What's the fastest, easiest way to be able to burn this?

Link to comment
Share on other sites

Make sure that you burn it as an UDF file as not an ISO file, as ISO only supports some 900 MB maximum. You can alternatively split the file (see "man split"; e.g. split -b 1073741824 <filename.dat> for creating 4 files that are 1 GB big) and burn it in pieces or e.g. use some terminal commands. For the following procedure you will need some free disk-space (~3-4 GB). I will do it without much explanation of every command (use man for finding out more about the commands, as I am too lazy to explain everything this time in detail).

Launch:

 

dd bs=4k if=/dev/zero of=diskimg.udf count=num

 

then type

 

dd bs=2k count=1000 > diskimg.udf

 

now run

 

mkudffs diskimg.udf

 

for creating the filesystem. Take care of the parameter --media-type. Now you will have to mount of the diskimg.udf file with a loop and copy your files into it. Once this is done, unmount it again.

 

Finally, burn the diskimg.udf file to dvd.

 

I know, a bit problematic and hard to understand, so use UDF mode in K3B first.

Link to comment
Share on other sites

I already tried setting it to UDF with no luck...but...it appears I don't have mkudffs installed. Might be helpful :)

 

...but sadly...it won't install. Won't even configure.

[root@Arochone udftools-1.0.0b3]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

I looked at config.log a bit...it's quite big, but these errors jumped out pretty quick:

configure:2536: gcc  -c -g -O2  conftest.c >&5
configure:2493:19: error: stdio.h: No such file or directory
configure:2494:23: error: sys/types.h: No such file or directory
configure:2495:22: error: sys/stat.h: No such file or directory
configure:2498: error: syntax error before '*' token
configure:2498: warning: 'struct stat' declared inside parameter list
configure:2498: warning: its scope is only this definition or declaration, which is pr
obably not what you want
configure:2498: warning: data definition has no type or storage class
configure:2517: error: syntax error before 'FILE'
configure:2517: warning: 'struct stat' declared inside parameter list
configure:2517: error: 'pairnames' declared as function returning a function
configure:2517: error: syntax error before 'int'
configure:2539: $? = 1

Edited by Urza9814
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...