Burn dvd

Status
Not open for further replies.

Stenull

Dabbler
Joined
Aug 22, 2011
Messages
45
Hi!
On my nas i have an old dvd burner, and sometimes i want to burn a iso or so.
I see that in freebsd there is mkisofs, and i found out that mkisofs is in cdrtools pkg.
Is it just to install cdrtools and start burning or is there something else i need to think about?

would something like
Code:
pkg_add -v -r cdrtools

work?
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Possibly. Haven't tried the package system.

But what you *can* do, pretty much for sure, is:

cd /mnt/yourdatastore
ftp ftp.freebsd.org
cd /pub/FreeBSD/releases/amd64/8.2-RELEASE/packages/All
get cdrtools-3.00_1.tbz
quit
tar zxf cdrtools-3.00_1.tbz bin/mkisofs

because mkisofs is a static executable, and doesn't seem to have any dependencies. I haven't tried that either but I can't think of any reason it *wouldn't* work. Make sure to match amd64 or i386, etc. I would think that most of the rest of what you need is still included in FreeNAS. But, again, I haven't tried any of this, you may have to experiment a bit.
 

Stenull

Dabbler
Joined
Aug 22, 2011
Messages
45
Thanx for input jgreco, i will experiment :)
Is there a way to rollback if it seems to fuck up something when using pkg_add?
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Using my technique would avoid any pkg_add complications, which is one of several advantages. The baggage added by pkg_add is mostly not-useful and not-relevant to FreeNAS, but if you try it and it goes south, you can always save your config, reload FreeNAS, and upload your config again.
 

Stenull

Dabbler
Joined
Aug 22, 2011
Messages
45
ok so i did some experimenting and followed your lead,
First hickup was to log in to ftp server, i found
user = anonymous
password = PASS
to work. Then just following your example worked splendid.
So after more reading it seems that mkisofs is not for burning and i should use cdrecord instead.
After some tying i found out that it couldn't burn dvds larger than 4gb so i had to grab growisofs instead and ist a part of dvd+rw-tools.
so i found a nice command
Code:
bin/growisofs* -dvd-compat -Z /dev/cd0=/mnt/path/to/Youriso.iso

and it works... but i was burning a small iso into a dual layer dvd so growisofs complained and aborted operation :( so now im of to buy som cd's ....

Thats my input, hope it helps someone..
 

Stenull

Dabbler
Joined
Aug 22, 2011
Messages
45
Update,
so i manage to burn freenas 8.0.3 iso to a cd from my freenas.
Code:
bin/cdrecord* dev=2,0,0 /mnt/Tank1/Media/FreeNAS-8.0.3-RC3-x64.iso

My burner was on device 2,0,0. To find out the device number use command
Code:
cdrecord -scanbus
 
Status
Not open for further replies.
Top