Date: Fri, 11 Sep 2009 17:16:02 -1000 From: Al Plant <noc@hdk5.net> To: Adam Vande More <amvandemore@gmail.com>, Chris Hill <chris@monochrome.org>, Manolis Kiagias <sonicy@otenet.gr>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: DVD-R recording .iso SOLVED Message-ID: <4AAB1272.7030809@hdk5.net>
next in thread | raw e-mail | index | archive | help
Aloha, On Wed, 9 Sep 2009, Al Plant wrote: > Chris Hill wrote: >> On Wed, 9 Sep 2009, Al Plant wrote: >> >>> Aloha, >>> >>> on FreeBSD 8 Current >>> >>> I have installed growisofs. I want to burn a DVD R of /path/7.2-RELEASE-p1-i386-disc1.iso . >>> >>> #growisofs -dvd-compat -Z /dev/cd0=/path/7.2-RELEASE-p1-i386-disc1.iso . >>> >>> Got this from FreeBSD handbook. Get no such file or directory error. Whats wrong with the syntax? >> >> Caveats about anything I say: 1) I'm using 7.2, and b) I'm using +R media. >> >> Nothing is wrong with the syntax, although your command above says the ISO file is in a directory called /path. Does the directory exist? Is the ISO in that directory? Permissions OK on everything? Does /dev/cd0 point to your burner? And as Adam said, make sure you have atapicam loaded. >> >> I'm also assuming that dot at the end of your line is a period at the end of your sentence, and not part of the command you issued. >> >>> Is this the correct way to copy an .iso onto a DVD-R for installs? >> >> It burns the ISO to the disk as a premastered disk, which is what you want in this situation. If you wanted to just copy the ISO as a file, you'd replace the = sign with a space. >> >>> Or can I just use burncd like somebody on the BSD forum said they did? >> >> I have no idea what somebody on the BSD forum said :^) >> >> HTH. Hang loose. >> >> -- >> Chris Hill chris@monochrome.org >> ** [ Busy Expunging <|> ] >> > Aloha, > > The directory path is /usr/home/alp/FreeBSD_7 that is ok. > > The = could be what is not proper in the Handbook. *Actually the = is correct, and you do need it for what you're doing. I *just went through this over the weekend. The = looked wrong, so I tried *doing without. What I ended up with was a data DVD with an ISO file on *it - not what I wanted! I would guess the command you need is *growisofs -dvd-compat -Z */dev/cd0=/usr/home/alp/FreeBSD_7/7.2-RELEASE-p1-i386-disc1.iso *(Probably wrapped in the email, but it needs to be all one line.) It's *simplest if you do this as root, or via su or sudo, which I think *you've been doing. > I'll put apticam_load="YES" in the /boot/loader.conf /Thats not in the Handbook either. *I noticed that omission too. *Putting that line in /boot/loader.conf makes the module load on the *next boot, but doesn't load it right now. You can see if it's already *loaded by issuing a kldstat command. If you see atapicam.ko in *response, you're good. If not, do a *kldload atapicam.ko *..as root or equivalent, to load the module immediately without a *reboot. Just for completeness, you may want to also * ls /dev | grep ^cd *..to make sure you have a cd0 device, after loading the module. It *might be some number other than 0, depending on your hardware, in which *case change the growisofs command accordingly. > Thanks for the help. *It's one of the few questions around here that I know the answer to, so *I'm glad to! Makes me feel useful or something. -- *Chris Hill chris@monochrome.org ** [ Busy Expunging <|> ] ############ Aloha, Here's how it worked. From sysutils/dvd+rw-tools I installed the DVD port # growisofs I used the following from all the suggestions and it worked with Manolis DVD p1 7.2 1st> I put hw.ata.atapi_dma="1" in the /boot/loader.conf 2nd> put apticam_load="YES" in the /boot/loader.conf (That 2nd 18.7.2 instruction is not clear in the Handbook section and should be added.) Then> I ran # growisofs -dvd-compat -Z dev/cd0=/usr/home/alp/FreeBSD_7/7.2-RELEASE-p1-i386-disc1.iso (all on one line) Then> I was able to use cd0 as a DVD burner and make the DVD-R I tested the DVD on a spare box and it installed just fine. I suggest that the authors of the section 18.7/2 add the sample command line for atapicam as they did for dma="1" to eliminate the confusion. Thanks to all who helped ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AAB1272.7030809>