Re: the whole unattended on one cd/dvd!

2004-10-25 Thread Patrick J. LoPresti
Moritz Engel [EMAIL PROTECTED] writes:

 Hi Pat,

 First, thanks for the great work and especially for new release
 yesterday!

Don't just thank me!  We have a whole crew of developers without whom
many of our best features would not exist.

 unattended installation from a CD/DVD if no server is available. But without
 breaking the normal server-based installation process!
 The basic idea:
 i) changing isolinux.cfg that a prompt will be displayed and default boot
 option is localboot

Yup.  Arguably, we could make this the default for our regular CD boot
as well, since people sometimes forget to eject the CD-ROM.

 ii) changing the master script:
   - When it asks for the servershare you can also type something like
 /dev/hdd where hdd is your cd-drive.
   - If a device is given it will be mounted to z instead of the servershare

I like this.  Eventually we should be able to auto-detect the CD-ROM
(usually), but for an initial pass this sounds fine.

 iii) changing mapznrun.bat that it will use the cd-drive

Tricky to get right in general, since it is hard to be certain what
drive letter the CD-ROM device will have (especially if the user is
doing a customized partitioning scheme).  But, again, an initial
version to handle the common case (CD-ROM drive is on D:) should be
pretty easy.

A while ago we had a loop in mapznrun.bat to scan the available drive
letters for the installation media.  Unfortunately, that broke on some
systems with flash-card readers...  If the flash drive is (say) E:,
then as soon as you access E: Windows halts with a dialog box asking
the user to insert media.  I mention this just in case you think of
the same clever idea :-).

 What I need to test the changes is an isofs.ko module to mount the
 cd. I would be happy if you can send me one, so I dont have to get
 all the sources and recompile the whole linuxboot. The needed (for
 ide, scsi comes later) ide-cd module is at the share, so I can copy
 it manually for testing purposes.

OK, I have uploaded an isofs.ko to
http://unattended.sourceforge.net/testing/.

Do you not also need udf.ko?

 Besides only some small changes are needed, for example that teh
 master-script dies if no dhcp-lease is found.

Perhaps a command-line argument (like dvd) could notify the master
script that it is being booted from DVD and should not attempt to
start the network.

Feel free to start sending patches (in small self-contained pieces, if
possible) to unattended-devel so we can look them over.

I can only review them for obvious things because I do not have a
DVD burner.  But Shad does...

 If I dont run into severe problems it would be sufficient to provide
 a script that unpacks the linuxboot.iso, changes isolinux.cfg and
 the master script (if the changes are not already included) and
 creates a new isoimage with the install directory included.

I would rather ship a template (unattended-X.X-dvdboot) which people
can download, tweak, then run make on.  The requirements for this
would be pretty minor; all it should need is basic Unix utilities
(make etc.) plus mkisofs, right?  Or is some other tool needed for
creating a DVD image?

 - Pat


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
unattended-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-devel


Re: [Unattended-CVS] unattended/install/scripts winxpsp2-updates.bat,1.17,1.18

2004-10-25 Thread Shad L. Lords
 :: 
URL|TRK|http://download.microsoft.com/download/d/4/5/d45c109d-1047-48c6-b021-f71d127bf1d1/WindowsXP-KB834707-x86-trk.exe|updates/winxpsp2/windowsxp-kb834707-x86-trk.exe
-todo.pl .reboot-on 194 
%Z%\updates\winxpsp2\windowsxp-kb834707-x86-%WINLANG%.exe /passive /n 
/norestart
+todo.pl .reboot-on 194 
%Z%\updates\winxpsp2\WindowsXP-KB834707-x86-%WINLANG%.exe /passive /n 
/norestart
Just out of curiosity, why would you switch from lower kb to upper KB when 
all the downloads are supposed to be saved as lower kb?
The only part that is necessary to be lowercase is the final section of the 
URL line.  As you can see it is lowercase.  The rest of the case doesn't 
really matter and is generated by the msparse.pl script in the tools 
directory.  That plus I like the look of the filename the way it is. :)

-Shad 


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
unattended-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-devel


Re: the whole unattended on one cd/dvd!

2004-10-25 Thread Shad L. Lords
iii) changing mapznrun.bat that it will use the cd-drive
Tricky to get right in general, since it is hard to be certain what
drive letter the CD-ROM device will have (especially if the user is
doing a customized partitioning scheme).  But, again, an initial
version to handle the common case (CD-ROM drive is on D:) should be
pretty easy.
A while ago we had a loop in mapznrun.bat to scan the available drive
letters for the installation media.  Unfortunately, that broke on some
systems with flash-card readers...  If the flash drive is (say) E:,
then as soon as you access E: Windows halts with a dialog box asking
the user to insert media.  I mention this just in case you think of
the same clever idea :-).
It is possible to get the drive letter for the CD from the registry.  The 
notips for winxp includes code to change the first cdrom drive to letter R:. 
Code similar to this should be able to be used in todo to determine where 
the CD is and check if the correct directories exist.

-Shad 


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
unattended-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-devel