-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
54 lines (45 loc) · 2.32 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
README file for make_dvd.pl and cfg_menu.pl.
(C) Mika Kukkonen, licensed under GPLv2.
I got the original idea for these scripts from the article
http://www.linux.com/print.pl?sid=06/03/16/1724219, which referenced
now unavailable site/script at http://www.nautopia.net
I did secure the copy of the "script" by using archived copies of
the site, and while I liked the idea much, it consisted of distros
that had little interest for me. Also it required the lot of manual
work, as the main level "script" was just a wrapper for mkisofs(1).
So I first created a Perl script (Perl being my favourite scripting
language) to convert ISOLINUX (http://syslinux.zytor.com/iso.php)
isolinux.cfg files into GRUB (http://www.gnu.org/software/grub/)
menu.lst files to help on this manual work. I named it cfg2menu.pl
After doing that, I noticed that the rest of the work was also
tedious, so I made another Perl scipt (make_dvd.pl) to do it for
me ;-)
Both scripts are far for beautiful or perfect, and especially
cfg2menu.pl will very likely break with some weird isolinux.cfg
files. See included iso.list configuration file for distributions
it have been tested with.
*** WARNING ***
Check the generated menu.lst files before burning your DVD!!
Failure to do so may well result in wasted DVD-R disc!
*** WARNING ***
Feed '-h' to make_dvd.pl to get list of command line switches.
If you just wish to experiment, there are three switches that
can be used to skip phases:
-b will skip the actual DVD-ISO creation, i.e. call
to mkisofs(1). Use this on first run, and check
the menu.lst files!
-n will make the script ignore missing CD-ISO files,
i.e. the script will not attempt to download anything.
Reasons for use should be obvious. Note that once the
CD-ISO has been downloaded, the script will detect it
and skip the specific download.
-u will skip the unpacking of CD-ISOs into DVD-root. Use
it after first run, as there is no point in re-unpacking
after the first time. Note that unpacking requires running
make_dvd.pl as root (NOTE!), and the script will detect
that and will not unpack anything if not run with root
priviledges. This is because 'mount -o loop' requires
root priviledges.
That's it for now, I will be happy to accept _useful_ patches to both
scripts; the license is GPLv2 obviously.
--MiKu (mikukkon@iki.fi)