Hi, all
This is my pxe config file:
DEFAULT test LABEL test KERNEL test/yast-SLES8.1-GA-i386z APPEND load_ramdisk=1 initrd=csm/yast-SLES8.1-GA-i386.gz ramdisk_size=65536 autoyast=nfs://172.20.3.2//netinstall/csm/1.4.1 /autoyast.SLES8.1/172.20.3.25.xml install=nfs://172.20.3.2 /netinstall/Linux/SLES/8.1/i386/GA/ ip=172.20.3.25 netmask=255.255.255.0 acpi=oldboot netdevice=eth0
As I know, pxe cmd line passed to autoyast will be cut by kernel to no more than 256 chars, but last line in my config file is far more than 256 chars, how can I pass the line to autoyast without being cut?
Info file is not exactly what I want because I have to prepare different initrd for different machine.
Yours Sincerely, Luo Hao
IBM China Software Development Laboratory Tel:86-10-82782244-3420 Mail:luohao@cn.ibm.com Address: North Area, 8/F, Ying Chuang Building No.1, East Road, Shangdi, Haidian District Beijing 100085, PRC
Try to use short paths and names, there is a lot to save here.
Anas
Hao Luo wrote:
Hi, all
This is my pxe config file:
DEFAULT test LABEL test KERNEL test/yast-SLES8.1-GA-i386z APPEND load_ramdisk=1 initrd=csm/yast-SLES8.1-GA-i386.gz ramdisk_size=65536 autoyast=nfs://172.20.3.2//netinstall/csm/1.4.1 /autoyast.SLES8.1/172.20.3.25.xml install=nfs://172.20.3.2 /netinstall/Linux/SLES/8.1/i386/GA/ ip=172.20.3.25 netmask=255.255.255.0 acpi=oldboot netdevice=eth0
As I know, pxe cmd line passed to autoyast will be cut by kernel to no more than 256 chars, but last line in my config file is far more than 256 chars, how can I pass the line to autoyast without being cut?
Info file is not exactly what I want because I have to prepare different initrd for different machine.
Yours Sincerely, Luo Hao
IBM China Software Development Laboratory Tel:86-10-82782244-3420 Mail:luohao@cn.ibm.com Address: North Area, 8/F, Ying Chuang Building No.1, East Road, Shangdi, Haidian District Beijing 100085, PRC
I think the 256 chars is a kernel limit, I had the same problem and now just make multiple ramdisks with different info files. I think you might save space by getting rid of load_ramdisk=1 and ramdisk_size=65536 , I'm not sure if those are needed. It would be nice if we could just give a URL(tftp,nfs,ftp,http) to the info file on the append line.
-Aaron
On Thu, 9 Dec 2004, Anas Nashif wrote:
Try to use short paths and names, there is a lot to save here.
Anas
Hao Luo wrote:
Hi, all
This is my pxe config file:
DEFAULT test LABEL test KERNEL test/yast-SLES8.1-GA-i386z APPEND load_ramdisk=1 initrd=csm/yast-SLES8.1-GA-i386.gz ramdisk_size=65536 autoyast=nfs://172.20.3.2//netinstall/csm/1.4.1 /autoyast.SLES8.1/172.20.3.25.xml install=nfs://172.20.3.2 /netinstall/Linux/SLES/8.1/i386/GA/ ip=172.20.3.25 netmask=255.255.255.0 acpi=oldboot netdevice=eth0
As I know, pxe cmd line passed to autoyast will be cut by kernel to no more than 256 chars, but last line in my config file is far more than 256 chars, how can I pass the line to autoyast without being cut?
Info file is not exactly what I want because I have to prepare different initrd for different machine.
Yours Sincerely, Luo Hao
IBM China Software Development Laboratory Tel:86-10-82782244-3420 Mail:luohao@cn.ibm.com Address: North Area, 8/F, Ying Chuang Building No.1, East Road, Shangdi, Haidian District Beijing 100085, PRC
_______ ____ | Advanced Aaron McSorley RHCE /| | | Micro Texas Microprocessor Division | |___| | Devices e-mail: aaron.mcsorley@amd.com |____/ |
Aaron McSorley wrote:
I think the 256 chars is a kernel limit, I had the same problem and now just make multiple ramdisks with different info files. I think you might save space by getting rid of load_ramdisk=1 and ramdisk_size=65536 , I'm not sure if those are needed. It would be nice if we could just give a URL(tftp,nfs,ftp,http) to the info file on the append line.
Yes, I have been wanting this feature for ages, its on the way hopfully :-|
Anas
-Aaron
On Thu, 9 Dec 2004, Anas Nashif wrote:
Try to use short paths and names, there is a lot to save here.
Anas
Hao Luo wrote:
Hi, all
This is my pxe config file:
DEFAULT test LABEL test KERNEL test/yast-SLES8.1-GA-i386z APPEND load_ramdisk=1 initrd=csm/yast-SLES8.1-GA-i386.gz ramdisk_size=65536 autoyast=nfs://172.20.3.2//netinstall/csm/1.4.1 /autoyast.SLES8.1/172.20.3.25.xml install=nfs://172.20.3.2 /netinstall/Linux/SLES/8.1/i386/GA/ ip=172.20.3.25 netmask=255.255.255.0 acpi=oldboot netdevice=eth0
As I know, pxe cmd line passed to autoyast will be cut by kernel to no more than 256 chars, but last line in my config file is far more than 256 chars, how can I pass the line to autoyast without being cut?
Info file is not exactly what I want because I have to prepare different initrd for different machine.
Yours Sincerely, Luo Hao
IBM China Software Development Laboratory Tel:86-10-82782244-3420 Mail:luohao@cn.ibm.com Address: North Area, 8/F, Ying Chuang Building No.1, East Road, Shangdi, Haidian District Beijing 100085, PRC
____ | Advanced Aaron McSorley RHCE /| | | Micro Texas Microprocessor Division | |___| | Devices e-mail: aaron.mcsorley@amd.com |____/ |
autoinstall@lists.opensuse.org