I'd like to reduce the chance of damaging my original dvds, so I thought I'd copy the contents to an area on one of my hard disks and run any installs I need from there. Do I need to set up any particular file structure for that, or just basically copy everything exactly as it's set up on the dvd to a folder? Once I've done that, how does YaST know to look there instead? Sorry about the newbieness...thanks! <mc>
Make images of the dvds: dd if=/dev/dvd of=<folder>/<name>.iso Then you can mount the images with: mount -t iso9660 -o loop=/dev/loop[0-15] <full path of image> <mointpoint> With yast2 inst_source you can change the installation source. It is only necessary to mount the first dvd image, on the second dvd are only the sources. Am Thursday 15 July 2004 20:26 schrieb Creamer, Mark:
I'd like to reduce the chance of damaging my original dvds, so I thought I'd copy the contents to an area on one of my hard disks and run any installs I need from there. Do I need to set up any particular file structure for that, or just basically copy everything exactly as it's set up on the dvd to a folder? Once I've done that, how does YaST know to look there instead?
Sorry about the newbieness...thanks!
<mc>
Instead of creating a copy of the image and mounting it, I like to copy the normal disk contents. In order to preserve directory structure, file permissions and modification date, I use a tar pipe with the option 'p'. For instance: # su # mkdir /home/Suse9.1/ # cd /home/SuSE9.1/ # (cd /media/dvd/; tar cf - .) | tar xpf - The parenthesis create a sub-shell. You perform the second 'cd' only inside the sub-shell, and you create the tar pipe there. The pipe continues outside the sub-shell which is back in your target directory. In Yast/Software/Change Source of Installation you add the Local Directory you created and move it up. Carlos On Thursday 15 July 2004 12:26, Creamer, Mark wrote:
I'd like to reduce the chance of damaging my original dvds, so I thought I'd copy the contents to an area on one of my hard disks and run any installs I need from there. Do I need to set up any particular file structure for that, or just basically copy everything exactly as it's set up on the dvd to a folder? Once I've done that, how does YaST know to look there instead?
Sorry about the newbieness...thanks!
<mc>
-- -------------------------------------------------------------------- Carlos Frederico Lange || Phone:(780)492-6714, Fax:(780)492-2200 Dept. of Mechanical Engineering || e-mail:carlos.lange@ualberta.ca University of Alberta || http://www.mece.ualberta.ca/staff/lange.htm Edmonton, AB, Canada T6G 2G8 || CFD, aerosols, Phoenix Mars lander -------------------------------------------------------------------- Scientific Programmer: professional who loves to _find_ own errors.
On Fri, 2004-07-16 at 10:05, Carlos F. Lange wrote:
Instead of creating a copy of the image and mounting it, I like to copy the normal disk contents. In order to preserve directory structure, file permissions and modification date, I use a tar pipe with the option 'p'. For instance:
# su # mkdir /home/Suse9.1/ # cd /home/SuSE9.1/ # (cd /media/dvd/; tar cf - .) | tar xpf -
I use the method described in the SuSE manuals 8-) cp -a /media/dvd /install/suse/ mv /install/suse/dvd /install/suse/CD1 insert second dvd cp -a /media/dvd /install/suse/ mv /install/suse/dvd /install/suse/CD2 Right out of the Manuals! Jerry
The parenthesis create a sub-shell. You perform the second 'cd' only inside the sub-shell, and you create the tar pipe there. The pipe continues outside the sub-shell which is back in your target directory.
In Yast/Software/Change Source of Installation you add the Local Directory you created and move it up.
Carlos
On Thursday 15 July 2004 12:26, Creamer, Mark wrote:
I'd like to reduce the chance of damaging my original dvds, so I thought I'd copy the contents to an area on one of my hard disks and run any installs I need from there. Do I need to set up any particular file structure for that, or just basically copy everything exactly as it's set up on the dvd to a folder? Once I've done that, how does YaST know to look there instead?
Sorry about the newbieness...thanks!
<mc>
-- -------------------------------------------------------------------- Carlos Frederico Lange || Phone:(780)492-6714, Fax:(780)492-2200 Dept. of Mechanical Engineering || e-mail:carlos.lange@ualberta.ca University of Alberta || http://www.mece.ualberta.ca/staff/lange.htm Edmonton, AB, Canada T6G 2G8 || CFD, aerosols, Phoenix Mars lander -------------------------------------------------------------------- Scientific Programmer: professional who loves to _find_ own errors.
participants (4)
-
Achim Ziegler
-
Carlos F. Lange
-
Creamer, Mark
-
Jerome R. Westrick