mkisofs
Hello.
I have a question about mkisofs. I have several files in different directories I'd like to get on cd. I decided to create two directories, say ONE and TWO, and put symbolic links into them. I'd like to get a cd with this two dir into it; the cd main dir should contain ONE and TWO, and they should contain the right files. How can I do it? Thanks, Guldo |
I'd reccomend skipping the command line tools for cd burning/image creating and just hopping into k3b or your favorite gui burn app. Should make things a lot easier.
|
mkisofs -graft-points -rJT -V "Music" -o iso ONE=./ONE TWO=./TWO
assuming you are working in the parent directory of ONE & TWO. this will give a rockridge, joilet & trans-tabled' iso called "Music". man mkisofs man! |
Another feature to look at is -multi session for puting multiple images on a cd.
You create the first iso image as normal. I like to be in the directory to be imaged so I can use the period ( . ) instead of typing out the path. For example..... cd /home/dir1 mkisofs -R -J -V "Vol1" -o /home/myfiles1.iso . Now you burn that to the cd .... cdrecord -v speed=4 dev=0,0,0 -eject -multi -data /home/myfiles1.iso For the remaining images, you need a different method.... Code:
cd /home/dir2 |
Thank you all very much.
I know about multi (thanks anyway), and I was after -graft-points. I found it previously in the man page, but I didn't understand how was I supposed to use it... That "ONE=./ONE TWO=./TWO" thing looks really like the solution I need. Thanks a lot, guys :) Guldo |
cdrecord write error
Ok with mkisofs, but now cdrecord does not work anymore.
I tried both CDR and CDRW, with several CDs and ISOs. I get errors like the following. What's going on? It used to work fine... I have the latest cdrecord available for debian sid, on linux 2.6.5 (no scsi emulation) Thanks. Quote:
|
I even tried and put ide-scsi emulation back, with no luck.
What's wrong with me? :( |
have you tried just "cdrecord -vv dev=0,0,0 -dummy iso" to let it sort the rest out automtically? I did notice that (in the messages you posted) that the media recommended 4x write speed :~#
ps. I say dev=0,0,0 'cos that's how i'm used to using it. I made a link from /dev/sg0 pointing to /dev/hdb to fool cdrecord. It works for me!! |
That's fine.
It works. Thanks. :) EDIT: there was a buffer underrun problem, too... looks like I overloaded my system with processes... :p |
new one
A new (for me) issue about mkisofs:
how can I write multisession cds? I used to do it on linux 2.4.x, but now on 2.6.x, without scsi emul, I cannot... I first write a track using cdrecord with the 'multi' option, then try to create an image via mkisofs; I get this error: Code:
$ mkisofs -l -r -v -jcharset iso8859-15 -C $(cdrecord -msinfo dev=/dev/hdb) -M /dev/hdb -o prova.iso /backup/*.tar.bz2 mkisofs 2.01a34-unofficial-iconv (i686-pc-linux-gnu) Cdrecord-Clone 2.01a34 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jorg Schilling What's wrong? Thanks :) |
Sorry to quote myself but....
try doing "ln -s /dev/hdb /dev/sg0" then use dev=0,0,0 and see if it makes any difference. you can carry it over a reboot by adding "ln -s /dev/hdb /dev/sg0" to your /etc/rc.d/rc.local if it works. Quote:
edit: oops debian has different init scripts but you get my meaning, slack 10 has a dynamic /dev system so it looses /dev stuff on reboot. |
Quote:
your kernel. Or, in other words, mine doesn't lose anything. Cheers, Tink |
Heh, I am using the generic kernel (being lazy) but I had the 2.6.7 kernel compiled and running on 9.1 for a while without devfs - it was easier that way, I just havent found the time recently for an indepth "make config".
I quite like the generic kernel at the moment though, all seems ok, I have a fast enough computer not to notice any lack of performance. ps, whats the weather like over there tink? I have an unckle in remuera auckland who has been a bit down of late, he needs a bit of sunshine at the mo! |
done
Thank you, it's over, fixed as Tuttle suggested. I put the link making command in the init for runlevel2, and it works.
Thank you all. :) |
ah good, glad it did the trick :~]
|
All times are GMT -5. The time now is 07:46 AM. |