As explained no DVD will be available soon. Some people still would like to have a DVD instead of a CD. I have written a script that does this for you. It is very basic at this moment. Known issues with the script. 1) The calculation of the script is not correct 2) Root password is needed for the mounting 3) Only tested with 10.0Beta2 If this script is accepted, or a script that does the same but is much better written, it could go under the /tools directory. If create_package_descr would be in a tgz file, that could be there as well and then people who do NOT have SUSE (and therefore no create_package_descr) can still make a DVD. The file can be downloaded from http://houghi.org/script/makeSUSEdvd I would love to hear comments on this. I know I am a bad coder and some things will be better done in a different way. I just do not know that way. So please test http://houghi.org/script/makeSUSEdvd and get it working even better. houghi -- Finagle's Creed: Science is true. Don't be misled by facts.
houghi wrote:
I have written a script that does this for you. It is very basic at this moment. Known issues with the script.
1) The calculation of the script is not correct 2) Root password is needed for the mounting 3) Only tested with 10.0Beta2
I've attached a script that worked for me for the 9.3 CDs. Not written by me, though! :) I'm not liable, YMMV, and all that. (I seem to remember sending this already to the list. My outbox I recently emptied. Please forgive if dup. Houghi, maybe you should upload this script to the openSUSE wiki? -- Shriramana Sharma http://samvit.org (o- Penguin #395953 //\ running on ancient Indian wisdom V_/_ and modern computing efficiency #!/bin/bash # Uncomment this section if you have physical cds and want to convert them to # ISOs first. You need to have the ISOs, named as in this script, for this # script to work predictably. #------------------------------------------------------------------------------ #echo Please insert disk 1 of 5 and hit any key to continue. #read key #dd if=/dev/cdrom of=SUSE-9.3-Prof-i386-CD1.iso #echo Please insert disk 2 of 5 and hit any key to continue. #read key #dd if=/dev/cdrom of=SUSE-9.3-Prof-i386-CD2.iso #echo Please insert disk 3 of 5 and hit any key to continue. #read key #dd if=/dev/cdrom of=SUSE-9.3-Prof-i386-CD3.iso #echo Please insert disk 4 of 5 and hit any key to continue. #read key #dd if=/dev/cdrom of=SUSE-9.3-Prof-i386-CD4.iso #echo Please insert disk 5 of 5 and hit any key to continue. #read key #dd if=/dev/cdrom of=SUSE-9.3-Prof-i386-CD5.iso #------------------------------------------------------------------------------ #Mount the CDs in loopback mode: mkdir CD1 CD2 CD3 CD4 CD5 mount SUSE-9.3-Prof-i386-CD1.iso CD1 -o loop mount SUSE-9.3-Prof-i386-CD2.iso CD2 -o loop mount SUSE-9.3-Prof-i386-CD3.iso CD3 -o loop mount SUSE-9.3-Prof-i386-CD4.iso CD4 -o loop mount SUSE-9.3-Prof-i386-CD5.iso CD5 -o loop # Create a basic structure to overwrite files we need to modify for the CD (the checksums and boot files). cp -a CD1/boot . mkdir i586 i686 noarch # Create the NEW MD5SUMS as one file in order to allow SuSE to validate (thus install) all of the files from every CD and not just CD #1 # For the i586 directory: cat CD1/suse/i586/MD5SUMS CD2/suse/i586/MD5SUMS CD3/suse/i586/MD5SUMS CD4/suse/i586/MD5SUMS CD5/suse/i586/MD5SUMS > i586/MD5SUMS # For the i686 directory: cat CD1/suse/i686/MD5SUMS CD2/suse/i686/MD5SUMS > i686/MD5SUMS # For the noarch directory: cat CD1/suse/noarch/MD5SUMS CD2/suse/noarch/MD5SUMS CD3/suse/noarch/MD5SUMS CD4/suse/noarch/MD5SUMS CD5/suse/noarch/MD5SUMS > noarch/MD5SUMS # Now, create the ISO: mkisofs -o SuSE_9.3.iso -b boot/loader/isolinux.bin -c boot/loader/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -l -P SuSE -r -T -V SuSE_9.3 -x CD1/boot -x CD1/suse/i586/MD5SUMS -x CD1/suse/noarch/MD5SUMS -x CD1/suse/i686/MD5SUMS -x CD2/suse/i686/MD5SUMS -x CD2/suse/i586/MD5SUMS -x CD2/suse/noarch/MD5SUMS -x CD3/suse/i586/MD5SUMS -x CD3/suse/noarch/MD5SUMS -x CD4/suse/i586/MD5SUMS -x CD4/suse/noarch/MD5SUMS -x CD5/suse/i586/MD5SUMS -x CD5/suse/noarch/MD5SUMS -graft-points CD1 boot/=boot suse/i586/MD5SUMS=i586/MD5SUMS suse/noarch/MD5SUMS=noarch/MD5SUMS suse/i686/MD5SUMS=i686/MD5SUMS suse/=CD2/suse suse/=CD3/suse suse/=CD4/suse suse/=CD5/suse media.2/=CD2/media.2 media.3/=CD3/media.3 media.4/=CD4/media.4 media.5/=CD5/media.5 # Now just burn the ISO to a DVD (hint: use 'growisofs' or your favorite GUI-frontend to 'growisofs'). Optionally, you can mount this ISO like you did #above to verify it will work correctly, or if you don't want to actually burn it. Just call: #mkdir DVD #mount SuSE_9.3.iso DVD -o loop # Enjoy!
On Mon, Aug 22, 2005 at 05:01:26PM +0530, Shriramana Sharma wrote:
I've attached a script that worked for me for the 9.3 CDs. Not written by me, though! :) I'm not liable, YMMV, and all that. <snip> #!/bin/bash
# Uncomment this section if you have physical cds and want to convert them to # ISOs first.
I might add this in a next version. for now I just go ahead with the iso files. The rest of the script I do almost the same.
# Create the NEW MD5SUMS as one file in order to allow SuSE to validate (thus install) all of the files from every CD and not just CD #1
This could be a good idea. Anybody knows if this is correct? If it is, I will see how I can put it in the script. <snip>
# Now just burn the ISO to a DVD (hint: use 'growisofs' or your favorite GUI-frontend to 'growisofs'). Optionally, you can mount this ISO like you did #above to verify it will work correctly, or if you don't want to actually burn it. Just call:
I am not going to put in the burning in my script, because there will be too many ways people are using. Let them decide how they want to burn it
#mkdir DVD #mount SuSE_9.3.iso DVD -o loop
I might add the mounting as an option. Not really urgent, I think. houghi -- If I don't see you in the future, I'll see you in the pasture.
On Mon, Aug 22, 2005 at 07:27:27PM +0200, saga@citromail.hu wrote:
2005. augusztus 22. 19.19 dátummal houghi ezt írta:
Hi!
This could be a good idea. Anybody knows if this is correct? If it is, I will see how I can put it in the script.
tagmedia filename.iso
With that I would need again another program (checkmedia) installed. I just to make a dvd.iso, not install everything I have. Also 9.1 does not have tagmedia as a program. I am just interested if the method of cat is correct, or if there could be problems with verification. houghi -- Don't change the reason, just change the excuses! -- Joe Cointment
create_package_descr is in autoyast2-utils and can be installed through YAST. Can you ad that to the script? On Monday 22 August 2005 03:47 am, houghi wrote:
As explained no DVD will be available soon. Some people still would like to have a DVD instead of a CD.
I have written a script that does this for you. It is very basic at this moment. Known issues with the script.
1) The calculation of the script is not correct 2) Root password is needed for the mounting 3) Only tested with 10.0Beta2
If this script is accepted, or a script that does the same but is much better written, it could go under the /tools directory. If create_package_descr would be in a tgz file, that could be there as well and then people who do NOT have SUSE (and therefore no create_package_descr) can still make a DVD.
The file can be downloaded from http://houghi.org/script/makeSUSEdvd
I would love to hear comments on this. I know I am a bad coder and some things will be better done in a different way. I just do not know that way.
So please test http://houghi.org/script/makeSUSEdvd and get it working even better.
houghi
On Mon, Aug 22, 2005 at 10:46:59AM -0400, Donald Ade wrote:
create_package_descr is in autoyast2-utils and can be installed through YAST. Can you ad that to the script?
Not everybody who is going to install will have SUSE or Yast. So if I would add that, I would first have to detect if the person has YAST. An easier method would be to rewrite create_package_descr, rename it and then put it in as a whole. Unfortunatly I do no nothing about perl scripting. Another method would be to have create_package_descr and makeSUSEdvd in one tgz package and then everybody can make use of create_package_descr. Or just make it available online seperatly. I will look what I can do with the instalation of said programs. `yast -i mkisofs` and `yast -i autoyast2-utils` should not be too hard to run. I use sudo anyway to mount the iso's. Is there an other way to do this as a normal user, without the need of changing any files, like /etc/sudoers. Thanks for testing anyway. houghi -- Just when you thought you were winning the rat race, along comes a faster rat!!!
El Lunes, 22 de Agosto de 2005 19:09, houghi escribió:
On Mon, Aug 22, 2005 at 10:46:59AM -0400, Donald Ade wrote:
create_package_descr is in autoyast2-utils and can be installed through YAST. Can you ad that to the script?
Not everybody who is going to install will have SUSE or Yast. So if I would add that, I would first have to detect if the person has YAST. An easier method would be to rewrite create_package_descr, rename it and then put it in as a whole. Unfortunatly I do no nothing about perl scripting.
Another method would be to have create_package_descr and makeSUSEdvd in one tgz package and then everybody can make use of create_package_descr.
And don't forget /bin/rpm. Would create_package_descr work without it? I guess not. If someone using, let's say Kubuntu, wants to give Suse a try he won't have rpm available for create_package_descr. So it would likely need to be included in the tarball. Perhaps setting the $PATH to the place where you extract the tarball would help to make it work properly. -- Víctor Fernández Martínez Gabinete de prensa de PoLinux [www.polinux.upv.es]. Usuario de Linux registrado #312284 en http://counter.li.org.
On Mon, Aug 22, 2005 at 11:57:27PM +0200, Víctor Fernández Martínez wrote:
And don't forget /bin/rpm. Would create_package_descr work without it? I guess not.
I will include it with the next version. Are there any other programs I would need to check?
If someone using, let's say Kubuntu, wants to give Suse a try he won't have rpm available for create_package_descr. So it would likely need to be included in the tarball. Perhaps setting the $PATH to the place where you extract the tarball would help to make it work properly.
The tarbal woul be best placed by the person. Aslo it would be nice if create_package_descr was available in the tool directory as a gz and not a rpm so others can download it from any mirror. Or place it also on openSUSE. Version 0.2 is almost ready and it will check if you have yast and install the needed packages if they are not installed. If not it will tell you where to get it. It will also name the file(s) according to $CD_DIR/content wich should solve the versions problem. houghi -- Fifty flippant frogs Walked by on flippered feet And with their slime they made the time Unnaturally fleet.
On Tue, Aug 23, 2005 at 01:19:25AM +0200, houghi wrote:
Version 0.2 is almost ready and it will check if you have yast and install the needed packages if they are not installed. If not it will tell you where to get it.
The new version is online. http://houghi.org/script/makeSUSEdvd It takes the names for the CD and company name from $CD/content so if they say `VENDOR SUSE LINUX AG`, then I use that instead of `VENDOR NOVELL INC` It makes a SUXXXDVD.001 as Volume ID, where XXX is the version without the dot ".". For 9.3, this wil be SU93DVD.001 and for 10.0 this will be SU100DVD.001. Please let me know if and how other renaming should be, because this will make no difference between the several Beta and official 10.0 versions The iso is named SUSE-YYY-DVD.iso where YYY is taken from the DISTVERSION so for the second beta, it will be SUSE-10.0-beta2-DVD.iso. It checks if the following programs are installed: create_package_descr mkisofs rpm If any of these programs is not installed, it will do the following: Looks if you have yast and if that is the case, it will ask if you want to install them. If not, the program stops. If you do want to install, it will run `yast -i autoyast2-utils mkisofs` and go on with the rest. If you don't have yast, then it will give some explanation and stop. http://houghi.org/script/makeSUSEdvd houghi -- Think twice before speaking, but don't say "think think click click".
El Martes, 23 de Agosto de 2005 01:54, houghi escribió:
On Tue, Aug 23, 2005 at 01:19:25AM +0200, houghi wrote:
Version 0.2 is almost ready and it will check if you have yast and install the needed packages if they are not installed. If not it will tell you where to get it.
The new version is online.
http://houghi.org/script/makeSUSEdvd
It takes the names for the CD and company name from $CD/content so if they say `VENDOR SUSE LINUX AG`, then I use that instead of `VENDOR NOVELL INC` It makes a SUXXXDVD.001 as Volume ID, where XXX is the version without the dot ".". For 9.3, this wil be SU93DVD.001 and for 10.0 this will be SU100DVD.001. Please let me know if and how other renaming should be, because this will make no difference between the several Beta and official 10.0 versions The iso is named SUSE-YYY-DVD.iso where YYY is taken from the DISTVERSION so for the second beta, it will be SUSE-10.0-beta2-DVD.iso.
It checks if the following programs are installed: create_package_descr mkisofs rpm If any of these programs is not installed, it will do the following: Looks if you have yast and if that is the case, it will ask if you want to install them. If not, the program stops. If you do want to install, it will run `yast -i autoyast2-utils mkisofs` and go on with the rest. If you don't have yast, then it will give some explanation and stop.
Have you thought about using Kommander to make "makeSUSEdvd" a graphical easy-to-use app? -- Víctor Fernández Martínez Gabinete de prensa de PoLinux [www.polinux.upv.es]. Usuario de Linux registrado #312284 en http://counter.li.org.
On Tue, Aug 23, 2005 at 03:08:07AM +0200, Víctor Fernández Martínez wrote:
Have you thought about using Kommander to make "makeSUSEdvd" a graphical easy-to-use app?
I have thought about making a GUI. There are just too many disadvatages at this moment that I do not plan on doing it any time soon. One is time and knowledge, the other is need. Is there really a need to make this GUI? There will be some people who do not dare to type the command. If I compare it to what problems the GUI could cause, I do not think it is worth the trouble. I never heard of Kommander and as far as I can see you need to have it installed to run the things. That is a bit overkill and defeats the purpose of *just* making 1 DVD of the CD's. Also I still run 9.1 and not included there. It was only added with 9.2 And what about those who can't or won't be able to run that stuff? That will give more problems then solutions. It is already unfortunate that it needs create_package_descr, mkisofs and rpm. houghi -- WARNING TO ALL PERSONNEL: Firings will continue until morale improves.
On Tue, Aug 23, 2005 at 01:19:25AM +0200, houghi wrote:
Version 0.2 is almost ready and it will check if you have yast and install the needed packages if they are not installed. If not it will tell you where to get it.
The new version is online.
hey all, hi houghi, first: thanks of that script ! it works perfectly, and allready meeds my needs ;) second: maybe it would be a good idea to put some version-information into the head of the file and / or a timestamp when it was last chanched. so everyone can check shorly if he / she has the last version of it. thanks again for the work, and all to the input for creating it ! best regards, JBScout aka tom from berlin, germany
On Tue, Aug 23, 2005 at 06:00:18AM +0200, JBScout wrote:
hey all, hi houghi,
first: thanks of that script ! it works perfectly, and allready meeds my needs ;)
Thanks for the feedback
second: maybe it would be a good idea to put some version-information into the head of the file and / or a timestamp when it was last chanched. so everyone can check shorly if he / she has the last version of it.
There already is a version in it. Once everything is working, I will start working more towards userfriendlyness, like `makeSUSEdvd --help`. As this is just the second version, things like what you are saying is not really needed yet. :-) houghi -- Math is like love -- a simple idea but it can get complicated. -- R. Drabek
houghi schrieb:
On Tue, Aug 23, 2005 at 06:00:18AM +0200, JBScout wrote:
hey all, hi houghi,
first: thanks of that script ! it works perfectly, and allready meeds my needs ;)
Thanks for the feedback
second: maybe it would be a good idea to put some version-information into the head of the file and / or a timestamp when it was last chanched. so everyone can check shorly if he / she has the last version of it.
There already is a version in it. Once everything is working, I will start working more towards userfriendlyness, like `makeSUSEdvd --help`. As this is just the second version, things like what you are saying is not really needed yet. :-)
houghi
ups - ... I'm sorry ... I was just more in running it against the beta1- and beta2-ISOs, that I din't saw that. thanks again. JBScout
change: openSuSE-10.0-beta2-DVD.iso to: openSuSE-10.0-beta-DVD.iso I just finished making a beta1 dvd. The file name change is a bit more open ended; no "versioning"; friendlier :-D Thanks for your good work. - Dee On Monday 22 August 2005 03:47 am, houghi wrote:
As explained no DVD will be available soon. Some people still would like to have a DVD instead of a CD.
I have written a script that does this for you. It is very basic at this moment. Known issues with the script.
1) The calculation of the script is not correct 2) Root password is needed for the mounting 3) Only tested with 10.0Beta2
If this script is accepted, or a script that does the same but is much better written, it could go under the /tools directory. If create_package_descr would be in a tgz file, that could be there as well and then people who do NOT have SUSE (and therefore no create_package_descr) can still make a DVD.
The file can be downloaded from http://houghi.org/script/makeSUSEdvd
I would love to hear comments on this. I know I am a bad coder and some things will be better done in a different way. I just do not know that way.
So please test http://houghi.org/script/makeSUSEdvd and get it working even better.
houghi
<please do not top post> On Mon, Aug 22, 2005 at 11:02:11AM -0400, Donald Ade wrote:
change: openSuSE-10.0-beta2-DVD.iso to: openSuSE-10.0-beta-DVD.iso
I just finished making a beta1 dvd. The file name change is a bit more open ended; no "versioning"; friendlier :-D
Perhaps I could make it an even more general name. I could take the info from the file content: PRODUCT SUSE LINUX DISTVERSION 10.0-beta2 That way it would work with any version. I also could take the Vendor from that file. Please let me know if this would be a bad idea. I want the script to be as unique as possible, so that it is as usable with as many versions of SUSE as possible. There should be no reason to change the script when a new version of SUSE comes out. houghi -- There's no room in the drug world for amateurs.
participants (6)
-
Donald Ade
-
houghi
-
JBScout
-
saga@citromail.hu
-
Shriramana Sharma
-
Víctor Fernández Martínez