Re: [Unattended] speaking of wish lists

2004-03-08 Thread Andrew Clark
Thanks!!!

Patrick J. LoPresti wrote:

Ah, this we can already do.

Open install.pl and find the ask_fdisk_cmds() subroutine.  Copy it to
Z:\site\config.pl and rename it as "my_ask_fdisk_cmds()" or whatever.
Edit that copy to do whatever you want.
Flesh out Z:\site\config.pl like this:

sub my_ask_fdisk_cmds () {
   ... your modified code ...
}
$u->{'_meta'}->{'fdisk_cmds'} = \&my_ask_fdisk_cmds;

1;

That "1;" at the end is important.

That's it.  This will use your version of my_ask_fdisk_cmds() instead
of our version forever.  Or at least until we break something.
It will even work with the Linux boot disk, because we have code to
translate from fdisk commands to Parted commands...
 - Pat

Andrew Clark <[EMAIL PROTECTED]> writes:


I also have one for the wish list.  Every time that I upgrade
install.pl I have to edit the disk partition section to make the
selections fit in my environment.  I change it to the following:
Whole disk C: - this is for older testing machines with a small hdd
less then 18GB
8GB C: rest D: - older machines with larger then 18GB and less then 40 GB
12GB C: rest D: - most new machines
This is not hard to do but a must.  It would be nice if install.pl
were to look to an external file that had these values in it.  This
also may make it easier for people who know even less perl then I do.




---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info


Re: [Unattended] speaking of wish lists

2004-03-08 Thread Patrick J. LoPresti
Ah, this we can already do.

Open install.pl and find the ask_fdisk_cmds() subroutine.  Copy it to
Z:\site\config.pl and rename it as "my_ask_fdisk_cmds()" or whatever.
Edit that copy to do whatever you want.

Flesh out Z:\site\config.pl like this:


sub my_ask_fdisk_cmds () {
   ... your modified code ...
}

$u->{'_meta'}->{'fdisk_cmds'} = \&my_ask_fdisk_cmds;

1;


That "1;" at the end is important.

That's it.  This will use your version of my_ask_fdisk_cmds() instead
of our version forever.  Or at least until we break something.

It will even work with the Linux boot disk, because we have code to
translate from fdisk commands to Parted commands...

 - Pat

Andrew Clark <[EMAIL PROTECTED]> writes:

> I also have one for the wish list.  Every time that I upgrade
> install.pl I have to edit the disk partition section to make the
> selections fit in my environment.  I change it to the following:
> 
> Whole disk C: - this is for older testing machines with a small hdd
> less then 18GB
> 8GB C: rest D: - older machines with larger then 18GB and less then 40 GB
> 12GB C: rest D: - most new machines
> 
> This is not hard to do but a must.  It would be nice if install.pl
> were to look to an external file that had these values in it.  This
> also may make it easier for people who know even less perl then I do.


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info


Re: [Unattended] speaking of wish lists

2004-03-08 Thread Andrew Clark
I also have one for the wish list.  Every time that I upgrade install.pl 
I have to edit the disk partition section to make the selections fit in 
my environment.  I change it to the following:

Whole disk C: - this is for older testing machines with a small hdd less 
then 18GB
8GB C: rest D: - older machines with larger then 18GB and less then 40 GB
12GB C: rest D: - most new machines

This is not hard to do but a must.  It would be nice if install.pl were 
to look to an external file that had these values in it.  This also may 
make it easier for people who know even less perl then I do.

Patrick J. LoPresti wrote:

Jordan Share <[EMAIL PROTECTED]> writes:


The only thing that I've been meaning to try is:
a:\>MODE COM1:96,N,8,1
a:\>CTTY COM1


I have added FreeDOS mode.com to the DOS boot disk in 4.0a (coming
soon).  And "ctty" is a shell builtin.  So this might actually work.

Ok, I'll have to follow up with the linux setup.  What all is needed
to upgrade from the version I am on (3.5 or something like that) to
the latest version?


You need to refresh most of your install share, including everything
under install/lib (Perl modules) and install/dosbin (install.pl,
format.exe, maybe other stuff).  You also need to copy
install/linuxaux to the install share, obviously.
That should be all, I think.  The other changes (bin/todo.pl,
scripts/winxpsp1-updates.bat, etc.) were relatively minor.
 - Pat

---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info


Re: [Unattended] speaking of wish lists

2004-03-08 Thread Patrick J. LoPresti
Jordan Share <[EMAIL PROTECTED]> writes:

> The only thing that I've been meaning to try is:
> a:\>MODE COM1:96,N,8,1
> a:\>CTTY COM1

I have added FreeDOS mode.com to the DOS boot disk in 4.0a (coming
soon).  And "ctty" is a shell builtin.  So this might actually work.

> Ok, I'll have to follow up with the linux setup.  What all is needed
> to upgrade from the version I am on (3.5 or something like that) to
> the latest version?

You need to refresh most of your install share, including everything
under install/lib (Perl modules) and install/dosbin (install.pl,
format.exe, maybe other stuff).  You also need to copy
install/linuxaux to the install share, obviously.

That should be all, I think.  The other changes (bin/todo.pl,
scripts/winxpsp1-updates.bat, etc.) were relatively minor.

 - Pat


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info


Re: [Unattended] speaking of wish lists

2004-03-07 Thread Jordan Share
Patrick J. LoPresti wrote:

Jordan Share <[EMAIL PROTECTED]> writes:


I've been meaning to experiment with this, but it'd be super-nice if
the install.pl script were able to output to the serial port instead
of/as well as the console.


For the DOS boot disk, I think this is just a property of your BIOS;
either it supports using serial as a console, or it doesn't.  DOS uses
the BIOS for I/O; I believe that is what the the "IO" in "BIOS" is all
about :-).  But I could be wrong.  Have you tried it?
There is the "BIOS redirection" feature that some BIOSes have.  We've 
got some machines that will do that (redirect the console to the serial 
port, even after the OS has booted).

But I was talking about the install.pl itself using the serial port. 
Just as a terminal program (for example) can run in DOS and communicate 
with the serial port, regardless of the BIOS, so too could install.pl do so.

The only thing that I've been meaning to try is:
a:\>MODE COM1:96,N,8,1
a:\>CTTY COM1
I've still not tried this (trivial though it is), as we've been 
super-busy at work.

For Linux, I have added support for serial hardware and serial console
to the kernel for 4.0.  So you should be able just to boot the kernel
with the option "console=ttyS0,9600" or somesuch.  If you are booting
from the network, you can do this by editing the "append" line in
tftpboot/pxelinux.cfg/default.  If not...  Then it's harder.
Ok, I'll have to follow up with the linux setup.  What all is needed to 
upgrade from the version I am on (3.5 or something like that) to the 
latest version?

Are you booting these systems from floppy, CD, or network?
PXE booting off the network, primarily.  Occasionally, I use syslinux to 
boot the same floppy image off a USB "pen drive".

Jordan



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info


Re: [Unattended] speaking of wish lists

2004-03-07 Thread Brian Mathis




Patrick J. LoPresti wrote:

  Jordan Share <[EMAIL PROTECTED]> writes:

  
  
I've been meaning to experiment with this, but it'd be super-nice if
the install.pl script were able to output to the serial port instead
of/as well as the console.

  
  
For the DOS boot disk, I think this is just a property of your BIOS;
either it supports using serial as a console, or it doesn't.  DOS uses
the BIOS for I/O; I believe that is what the the "IO" in "BIOS" is all
about :-).  But I could be wrong.  Have you tried it?

For Linux, I have added support for serial hardware and serial console
to the kernel for 4.0.  So you should be able just to boot the kernel
with the option "console=ttyS0,9600" or somesuch.  If you are booting
from the network, you can do this by editing the "append" line in
tftpboot/pxelinux.cfg/default.  If not...  Then it's harder.

Are you booting these systems from floppy, CD, or network?

 - Pat

  


Yes, this can be a BIOS option, but DOS can also do something like
this.  Take a look here:

http://groups.google.com/groups?hl=en&lr=lang_en&ie=UTF-8&oe=UTF-8&safe=off&selm=3314A642.5FA6%40deltaelectronics.com


-- 
Brian Mathis
http://directedge.com/b/





Re: [Unattended] speaking of wish lists

2004-03-07 Thread Patrick J. LoPresti
Jordan Share <[EMAIL PROTECTED]> writes:

> I've been meaning to experiment with this, but it'd be super-nice if
> the install.pl script were able to output to the serial port instead
> of/as well as the console.

For the DOS boot disk, I think this is just a property of your BIOS;
either it supports using serial as a console, or it doesn't.  DOS uses
the BIOS for I/O; I believe that is what the the "IO" in "BIOS" is all
about :-).  But I could be wrong.  Have you tried it?

For Linux, I have added support for serial hardware and serial console
to the kernel for 4.0.  So you should be able just to boot the kernel
with the option "console=ttyS0,9600" or somesuch.  If you are booting
from the network, you can do this by editing the "append" line in
tftpboot/pxelinux.cfg/default.  If not...  Then it's harder.

Are you booting these systems from floppy, CD, or network?

 - Pat


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info


[Unattended] speaking of wish lists

2004-03-03 Thread Jordan Share
I've been meaning to experiment with this, but it'd be super-nice if the 
install.pl script were able to output to the serial port instead of/as 
well as the console.

We have a bunch of machines hooked up to serial concentrators, and it'd 
be nice to be able to /fully/ automatedly install them. :)

I've filed an RFE on sourceforge, but I figured I'd send it to the list, 
and see if anyone else was interested.

Jordan

---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info