[opensuse-autoinstall] Finding the autoyast xml file no matter what the CD device name
Hi,
Installing SLES 10.3, I'd like to pull the autoyast xml file from the
small custom ISO/CD I've booted from, whilst using an FTP site as the
location for the install files. For a particular machine I can do this
OK with something like this in the isolinux.cfg:
autoyast=device://hdc/autoinst.xml
install=ftp://
If you put the autoyast file on the same cd/dvd as where you boot from you can just use: autoyast=file:///autoinst.xml regards, Winfried On Jun 16, 2011, at 16:07 , Froggatt David wrote:
Hi,
Installing SLES 10.3, I'd like to pull the autoyast xml file from the small custom ISO/CD I've booted from, whilst using an FTP site as the location for the install files. For a particular machine I can do this OK with something like this in the isolinux.cfg: autoyast=device://hdc/autoinst.xml install=ftp://
/sles10.sp3.64/ However, depending on the machine the CD might actually be hda or sr0 or something else, in which case I'll get an error saying the profile can't be found. I'd therefore like a more general 'autoyast=' statement that will find the xml file no matter what the CD's device name.
Using 'autoyast=default' doesn't seem to work, as I think the fact that my installation source is FTP means that it's looking there rather than the CD. I realise that I could also grab the xml file via FTP, but the way we install servers it would me much more convenient to have it on the CD.
Any suggestions as to how I can always find the xml file no matter what the CD device name gratefully received.
Regards, David
IMPORTANT NOTICE: This message is intended for the addressee only. The content may be confidential, legally privileged and protected by law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you are not the intended recipient please notify the sender and remove it from your system. Internet emails are not necessarily secure. Although we have taken steps to ensure this email and attachments are free from any virus, we advise that in keeping with good computing practice you should ensure they are actually virus free. The right to monitor email communications through our network is reserved by us.
Sopra Group Limited (Registered in England, No. 1588948) with Registered Offices at: Middlesex House, Meadway Technology Park, Rutherford Close, Stevenage, Hertfordshire, SG1 2EF. VAT No. 366 9784 84.
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Hi, Many thanks for the suggestion, but I'm afraid that I don't get any luck with that either. In fact the error I get is very similar to that when I use autoyast=default: An error occurred while fetching the profile: Reading file on /var/adm/mount//autoinst.xml failed Reading file on /autoinst.xml failed Reading a file on CD failed. Path /tmp/YaST2-032.../tmp_mount//autoinst.xml The directories mentioned in 1 and 3 are in fact empty, I can't see any trace of autoinst.xml in / either. Regards, David -----Original Message----- From: Winfried Dobbe [mailto:winfried_mb2@xmsnet.nl] Sent: 16 June 2011 16:42 To: opensuse-autoinstall@opensuse.org Subject: Re: [opensuse-autoinstall] Finding the autoyast xml file no matter what the CD device name If you put the autoyast file on the same cd/dvd as where you boot from you can just use: autoyast=file:///autoinst.xml regards, Winfried On Jun 16, 2011, at 16:07 , Froggatt David wrote:
Hi,
Installing SLES 10.3, I'd like to pull the autoyast xml file from the small custom ISO/CD I've booted from, whilst using an FTP site as the location for the install files. For a particular machine I can do this
OK with something like this in the isolinux.cfg: autoyast=device://hdc/autoinst.xml install=ftp://
/sles10.sp3.64/ However, depending on the machine the CD might actually be hda or sr0 or something else, in which case I'll get an error saying the profile can't be found. I'd therefore like a more general 'autoyast=' statement that will find the xml file no matter what the CD's device name.
Using 'autoyast=default' doesn't seem to work, as I think the fact that my installation source is FTP means that it's looking there rather than the CD. I realise that I could also grab the xml file via FTP, but the way we install servers it would me much more convenient to have it on the CD.
Any suggestions as to how I can always find the xml file no matter what the CD device name gratefully received.
Regards, David
IMPORTANT NOTICE: This message is intended for the addressee only. The content may be confidential, legally privileged and protected by law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you are not the intended recipient please notify the sender and remove it from your system. Internet emails are not necessarily secure. Although we have taken steps to ensure this email and attachments are free from any virus, we advise that in keeping with good computing practice you should ensure they are actually virus free. The right to monitor email communications through our network is reserved by us. Sopra Group Limited (Registered in England, No. 1588948) with Registered Offices at: Middlesex House, Meadway Technology Park, Rutherford Close, Stevenage, Hertfordshire, SG1 2EF. VAT No. 366 9784 84. -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Jun 17, 2011, at 11:22 , Froggatt David wrote:
Hi,
Many thanks for the suggestion, but I'm afraid that I don't get any luck with that either. In fact the error I get is very similar to that when I use autoyast=default:
An error occurred while fetching the profile: Reading file on /var/adm/mount//autoinst.xml failed Reading file on /autoinst.xml failed Reading a file on CD failed. Path /tmp/YaST2-032.../tmp_mount//autoinst.xml
The directories mentioned in 1 and 3 are in fact empty, I can't see any trace of autoinst.xml in / either.
Didn't you install it there yourself? What I do is: 1) Copy the suse dvd image to a temporary directory 2) Copy autoinst.xml to the root of that temp dir 3) Copy the profile directory to the root of that temp dir 4) in boot/x86_64/loader/isolinux.cfg add the 'autoyast=file:///autoinst.xml/' option 5) generate a new dvd image with the following command (the ${xxx} variables are specific to our build process, replace them) genisoimage -p <my email address> -publisher "<my company name>" -R -J -pad -joliet-long -iso-level 4 -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/x86_64/loader/isolinux.bin -c boot/x86_64/loader/boot.cat -hide boot/x86_64/loader/boot.cat -hide-joliet boot/x86_64/loader/boot.cat -A "openSUSE-${LI_OPENSUSE_MAJOR_VERSION}.${LI_OPENSUSE_MINOR_VERSION}-DVD" -v -V "openSuse_${LI_OPENSUSE_MAJOR_VERSION}_${LI_OPENSUSE_MINOR_VERSION}" -log-file ./mkisofs.log -o ${BT_DELIVERIES_DIR}/image/opensuse_${LI_OPENSUSE_MAJOR_VERSION}_${LI_OPENSUSE_MINOR_VERSION}.iso ${CMAKE_BINARY_DIR}/opensuse_dvd
Regards, David
-----Original Message----- From: Winfried Dobbe [mailto:winfried_mb2@xmsnet.nl] Sent: 16 June 2011 16:42 To: opensuse-autoinstall@opensuse.org Subject: Re: [opensuse-autoinstall] Finding the autoyast xml file no matter what the CD device name
If you put the autoyast file on the same cd/dvd as where you boot from you can just use:
autoyast=file:///autoinst.xml
regards,
Winfried
On Jun 16, 2011, at 16:07 , Froggatt David wrote:
Hi,
Installing SLES 10.3, I'd like to pull the autoyast xml file from the small custom ISO/CD I've booted from, whilst using an FTP site as the location for the install files. For a particular machine I can do this
OK with something like this in the isolinux.cfg: autoyast=device://hdc/autoinst.xml install=ftp://
/sles10.sp3.64/ However, depending on the machine the CD might actually be hda or sr0 or something else, in which case I'll get an error saying the profile can't be found. I'd therefore like a more general 'autoyast=' statement that will find the xml file no matter what the CD's device name.
Using 'autoyast=default' doesn't seem to work, as I think the fact that my installation source is FTP means that it's looking there rather than the CD. I realise that I could also grab the xml file via FTP, but the way we install servers it would me much more convenient to have it on the CD.
Any suggestions as to how I can always find the xml file no matter what the CD device name gratefully received.
Regards, David
IMPORTANT NOTICE: This message is intended for the addressee only. The content may be confidential, legally privileged and protected by law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you are not the intended recipient please notify the sender and remove it from your system. Internet emails are not necessarily secure. Although we have taken steps to ensure this email and attachments are free from any virus, we advise that in keeping with good computing practice you should ensure they are actually virus free. The right to monitor email communications through our network is reserved by us.
Sopra Group Limited (Registered in England, No. 1588948) with Registered Offices at: Middlesex House, Meadway Technology Park, Rutherford Close, Stevenage, Hertfordshire, SG1 2EF. VAT No. 366 9784 84.
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Hi, Thanks again, but although the autoinst.xml file is definitely on the ISO I'm booting from, it seems that if you're using an FTP source then it's not available. If I use 'autoyast=device://hdc/autoinst.xml' then in the y2log I can see /dev/hdc being mounted to read the xml file, but if I use 'autoyast=file:///autoinst.xml' then it complains 'cp: cannot stat '/autoinst.xml': No such file or directory'. In the 2nd case I can manually mount /dev/hdc from the command line and verify that autoinst.xml is present, but by that point the install's already fallen over. Regards, David -----Original Message----- From: Winfried Dobbe [mailto:winfried_mb2@xmsnet.nl] Sent: 17 June 2011 11:09 To: opensuse-autoinstall@opensuse.org Subject: Re: [opensuse-autoinstall] Finding the autoyast xml file no matter what the CD device name On Jun 17, 2011, at 11:22 , Froggatt David wrote:
Hi,
Many thanks for the suggestion, but I'm afraid that I don't get any luck with that either. In fact the error I get is very similar to that
when I use autoyast=default:
An error occurred while fetching the profile: Reading file on /var/adm/mount//autoinst.xml failed Reading file on /autoinst.xml failed Reading a file on CD failed. Path /tmp/YaST2-032.../tmp_mount//autoinst.xml
The directories mentioned in 1 and 3 are in fact empty, I can't see any trace of autoinst.xml in / either. Didn't you install it there yourself?
What I do is: 1) Copy the suse dvd image to a temporary directory 2) Copy autoinst.xml to the root of that temp dir 3) Copy the profile directory to the root of that temp dir 4) in boot/x86_64/loader/isolinux.cfg add the 'autoyast=file:///autoinst.xml/' option 5) generate a new dvd image with the following command (the ${xxx} variables are specific to our build process, replace them) genisoimage -p <my email address> -publisher "<my company name>" -R -J -pad -joliet-long -iso-level 4 -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/x86_64/loader/isolinux.bin -c boot/x86_64/loader/boot.cat -hide boot/x86_64/loader/boot.cat -hide-joliet boot/x86_64/loader/boot.cat -A "openSUSE-${LI_OPENSUSE_MAJOR_VERSION}.${LI_OPENSUSE_MINOR_VERSION}-DVD" -v -V "openSuse_${LI_OPENSUSE_MAJOR_VERSION}_${LI_OPENSUSE_MINOR_VERSION}" -log-file ./mkisofs.log -o ${BT_DELIVERIES_DIR}/image/opensuse_${LI_OPENSUSE_MAJOR_VERSION}_${LI_OP ENSUSE_MINOR_VERSION}.iso ${CMAKE_BINARY_DIR}/opensuse_dvd
Regards, David
-----Original Message----- From: Winfried Dobbe [mailto:winfried_mb2@xmsnet.nl] Sent: 16 June 2011 16:42 To: opensuse-autoinstall@opensuse.org Subject: Re: [opensuse-autoinstall] Finding the autoyast xml file no matter what the CD device name
If you put the autoyast file on the same cd/dvd as where you boot from
you can just use:
autoyast=file:///autoinst.xml
regards,
Winfried
On Jun 16, 2011, at 16:07 , Froggatt David wrote:
Hi,
Installing SLES 10.3, I'd like to pull the autoyast xml file from the
small custom ISO/CD I've booted from, whilst using an FTP site as the
location for the install files. For a particular machine I can do this
OK with something like this in the isolinux.cfg: autoyast=device://hdc/autoinst.xml install=ftp://
/sles10.sp3.64/ However, depending on the machine the CD might actually be hda or sr0
or something else, in which case I'll get an error saying the profile
can't be found. I'd therefore like a more general 'autoyast=' statement that will find the xml file no matter what the CD's device name.
Using 'autoyast=default' doesn't seem to work, as I think the fact that my installation source is FTP means that it's looking there rather than the CD. I realise that I could also grab the xml file via
FTP, but the way we install servers it would me much more convenient to have it on the CD.
Any suggestions as to how I can always find the xml file no matter what the CD device name gratefully received.
Regards, David
IMPORTANT NOTICE: This message is intended for the addressee only. The content may be confidential, legally privileged and protected by law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you are not the intended recipient please notify the sender and remove it from your system. Internet emails are not necessarily secure. Although we have taken steps to ensure this email and attachments are free from any virus, we advise that in keeping with good computing practice you should ensure they are actually virus free. The right to monitor email communications through our network is reserved by us. Sopra Group Limited (Registered in England, No. 1588948) with Registered Offices at: Middlesex House, Meadway Technology Park, Rutherford Close, Stevenage, Hertfordshire, SG1 2EF. VAT No. 366 9784 84. -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (2)
-
Froggatt David
-
Winfried Dobbe