SuSE 9.1 SSH Network Install fails
Hi, I am trying to do a network install with SuSE 9.1 on a headless (and keyboardless) machine. After inital booting and ssh login, yast displays the following error message: unicode_start skipped on /dev/pts/0 No keyboard detected. Trying to connect via serial interface /dev/ttyS0. On your terminal computer start the user interface with y2base "serial(115200):/dev/ttyS0" qt --auto-fonts or y2base "serial(115200):/dev/ttyS1" qt --auto-fonts or start the YaST2 menu by typing "yast2" and select YaST2/Remote Install This is because yast calls hwinfo, which sets "Keyboard: 0" in /etc/install.inf, causing YaST2 to fail at the following section: if [ ! "$update" -a "$Keyboard" = "0" -a ! "$Braille" -a "$NOTISERIES" != 0 -a "$NOTHVCCONSOLE" != 0 -a "$HOSTTYPE" != "s390" -a "$HOSTTYPE" != "s390x" -a -z "$Console" ] ; then log "no keyboard?" echo "No keyboard detected. Trying to connect via serial interface /dev/ttyS0." ... fi Is there any workaround/fix? Regards, Jochen
Hi, This obsolete code was removed a while back (2004/02/20). I have no idea how this made it into 9.1. According to the log files, this should not be in 9.1. What exactly are you trying to install? 9.1 GA or any betas? What version of yast2-installation do you have with your 9.1? Anas werbung@kuhnle.net wrote:
Hi,
I am trying to do a network install with SuSE 9.1 on a headless (and keyboardless) machine. After inital booting and ssh login, yast displays the following error message:
unicode_start skipped on /dev/pts/0 No keyboard detected. Trying to connect via serial interface /dev/ttyS0. On your terminal computer start the user interface with y2base "serial(115200):/dev/ttyS0" qt --auto-fonts or y2base "serial(115200):/dev/ttyS1" qt --auto-fonts or start the YaST2 menu by typing "yast2" and select YaST2/Remote Install
This is because yast calls hwinfo, which sets "Keyboard: 0" in /etc/install.inf, causing YaST2 to fail at the following section:
if [ ! "$update" -a "$Keyboard" = "0" -a ! "$Braille" -a "$NOTISERIES" != 0 -a "$NOTHVCCONSOLE" != 0 -a "$HOSTTYPE" != "s390" -a "$HOSTTYPE" != "s390x" -a -z "$Console" ] ; then log "no keyboard?" echo "No keyboard detected. Trying to connect via serial interface /dev/ttyS0." ... fi
Is there any workaround/fix? Regards, Jochen
Hi, I got SuSE 9.1 from a web server, so I do not know which version of yast is used. Since it is an official mirror, I would expect it to be the 9.1 GA version. I do not have access to the machine (it is a rented server), so I installed using the following steps: - Booted the rescue system provided by the hoster - Downloaded boot.iso from ftp://ftp.suse.com/pub/suse/i386/9.1/boot/ - Made a partition (/dev/hda1) and installed initrd and linux (Kernel) from boot.iso - Installed lilo with the following configuration: lba32 ignore-table default=suseinstall install=/boot/boot.b backup=/dev/null verbose=3 boot=/dev/hda image=/boot/linux root=/dev/hda1 label=suseinstall initrd=/boot/initrd append="language=en_US keytable=de-lat1-nd install=ftp://ftp.gwdg.de/pub/suse/i386/9.1 netdevice=eth0 usessh=1 sshpassword=secret dhcp=1 usedhcp=1" - Rebooted and logged in with ssh Results as described below. Regards, Jochen Anas Nashif <nashif@suse.de> 13.09.2004 02:34 To werbung@kuhnle.net cc suse-autoinstall@suse.com Subject Re: [suse-autoinstall] SuSE 9.1 SSH Network Install fails Hi, This obsolete code was removed a while back (2004/02/20). I have no idea how this made it into 9.1. According to the log files, this should not be in 9.1. What exactly are you trying to install? 9.1 GA or any betas? What version of yast2-installation do you have with your 9.1? Anas werbung@kuhnle.net wrote:
Hi,
I am trying to do a network install with SuSE 9.1 on a headless (and keyboardless) machine. After inital booting and ssh login, yast displays
the following error message:
unicode_start skipped on /dev/pts/0 No keyboard detected. Trying to connect via serial interface /dev/ttyS0. On your terminal computer start the user interface with y2base "serial(115200):/dev/ttyS0" qt --auto-fonts or y2base "serial(115200):/dev/ttyS1" qt --auto-fonts or start the YaST2 menu by typing "yast2" and select YaST2/Remote Install
This is because yast calls hwinfo, which sets "Keyboard: 0" in /etc/install.inf, causing YaST2 to fail at the following section:
if [ ! "$update" -a "$Keyboard" = "0" -a ! "$Braille" -a "$NOTISERIES" != 0 -a "$NOTHVCCONSOLE" != 0 -a "$HOSTTYPE" != "s390" -a "$HOSTTYPE" != "s390x" -a -z "$Console" ] ; then log "no keyboard?" echo "No keyboard detected. Trying to connect via serial interface /dev/ttyS0." ... fi
Is there any workaround/fix? Regards, Jochen
I am trying to do a network install with SuSE 9.1 on a headless (and keyboardless) machine. After inital booting and ssh login, yast displays
i am seeing something similar here. we have a dhcp/tftp/http server setup to do installs. if we boot a machine via pxe with no keyboard connected, autoyast appears to hang with: No keyboard detected. Trying to connect via serial interface /dev/ttyS0. On your terminal computer start ... the blue install screen never comes up. however the autoyast install progresses (in the background?) and eventually completes sucessfully. when i setup the server i copied linux and initrd from x86_64/9.1/boot/loader/ which was rsynced from mirror.mcs.anl.gov. the md5sums of the files we are using: 37dd0ca03f8c3117b571b92a51473b3d linux.suse.9.1 2987e927a80fe615f57d8308035e9c1b initrd.suse.9.1 which appear to match what is on that mirror.
Hi, Well, it seems the code is indeed in the script, although according to the logs it should not be there :-( Quick and dirty solution is to remove this code from the yast2 script. mv root root.orig mount -oloop linux/root.orig /mnt rm -rf inst-sys mkdir -p inst-sys cd inst-sys rsync -avz /mnt/* . vi inst-sys/usr/lib/YaST2/bin/YaST2 # remove the lines 383-402 umount /mnt mkfs.cramfs inst-sys root rm -rf inst-sys Hope that helps, Anas Rajiv Aaron Manglani wrote:
I am trying to do a network install with SuSE 9.1 on a headless (and keyboardless) machine. After inital booting and ssh login, yast displays
i am seeing something similar here. we have a dhcp/tftp/http server setup to do installs. if we boot a machine via pxe with no keyboard connected, autoyast appears to hang with:
No keyboard detected. Trying to connect via serial interface /dev/ttyS0. On your terminal computer start ...
the blue install screen never comes up. however the autoyast install progresses (in the background?) and eventually completes sucessfully.
when i setup the server i copied linux and initrd from x86_64/9.1/boot/loader/ which was rsynced from mirror.mcs.anl.gov. the md5sums of the files we are using:
37dd0ca03f8c3117b571b92a51473b3d linux.suse.9.1 2987e927a80fe615f57d8308035e9c1b initrd.suse.9.1
which appear to match what is on that mirror.
Hi, where do I get the "root"-file from? Regards, Jochen Anas Nashif <nashif@suse.de> 14.09.2004 01:24 To Rajiv Aaron Manglani <rajiv@angstrom.com> cc suse-autoinstall@suse.com Subject Re: [suse-autoinstall] SuSE 9.1 SSH Network Install fails Hi, Well, it seems the code is indeed in the script, although according to the logs it should not be there :-( Quick and dirty solution is to remove this code from the yast2 script. mv root root.orig mount -oloop linux/root.orig /mnt rm -rf inst-sys mkdir -p inst-sys cd inst-sys rsync -avz /mnt/* . vi inst-sys/usr/lib/YaST2/bin/YaST2 # remove the lines 383-402 umount /mnt mkfs.cramfs inst-sys root rm -rf inst-sys Hope that helps, Anas Rajiv Aaron Manglani wrote:
I am trying to do a network install with SuSE 9.1 on a headless (and keyboardless) machine. After inital booting and ssh login, yast displays
i am seeing something similar here. we have a dhcp/tftp/http server setup to do installs. if we boot a machine via pxe with no keyboard connected, autoyast appears to hang with:
No keyboard detected. Trying to connect via serial interface /dev/ttyS0. On your terminal computer start ...
the blue install screen never comes up. however the autoyast install progresses (in the background?) and eventually completes sucessfully.
when i setup the server i copied linux and initrd from x86_64/9.1/boot/loader/ which was rsynced from mirror.mcs.anl.gov. the md5sums of the files we are using:
37dd0ca03f8c3117b571b92a51473b3d linux.suse.9.1 2987e927a80fe615f57d8308035e9c1b initrd.suse.9.1
which appear to match what is on that mirror.
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
werbung@kuhnle.net wrote:
Hi,
where do I get the "root"-file from?
First CD in the directory "boot". Anas
Regards, Jochen
Anas Nashif <nashif@suse.de> 14.09.2004 01:24
To Rajiv Aaron Manglani <rajiv@angstrom.com> cc suse-autoinstall@suse.com Subject Re: [suse-autoinstall] SuSE 9.1 SSH Network Install fails
Hi, Well, it seems the code is indeed in the script, although according to the logs it should not be there :-( Quick and dirty solution is to remove this code from the yast2 script.
mv root root.orig mount -oloop linux/root.orig /mnt rm -rf inst-sys mkdir -p inst-sys cd inst-sys rsync -avz /mnt/* .
vi inst-sys/usr/lib/YaST2/bin/YaST2 # remove the lines 383-402 umount /mnt
mkfs.cramfs inst-sys root
rm -rf inst-sys
Hope that helps, Anas
Rajiv Aaron Manglani wrote:
I am trying to do a network install with SuSE 9.1 on a headless (and keyboardless) machine. After inital booting and ssh login, yast
displays
i am seeing something similar here. we have a dhcp/tftp/http server setup to do installs. if we boot a machine via pxe with no keyboard connected, autoyast appears to hang with:
No keyboard detected. Trying to connect via serial interface /dev/ttyS0. On your terminal computer start ...
the blue install screen never comes up. however the autoyast install progresses (in the background?) and eventually completes sucessfully.
when i setup the server i copied linux and initrd from x86_64/9.1/boot/loader/ which was rsynced from mirror.mcs.anl.gov. the md5sums of the files we are using:
37dd0ca03f8c3117b571b92a51473b3d linux.suse.9.1 2987e927a80fe615f57d8308035e9c1b initrd.suse.9.1
which appear to match what is on that mirror.
Now I'm stuck trying to tell linuxrc to use the new "root" image... I copied it to the installation partition and used the parameter "rootimage=/boot/root", but it seems that this path is relative to the installation path (parameter install=ftp://ftp.gwdg.de/...). At least I get an error message "ftp error: File not found on server"). I doubt I can talk the official SuSe mirrors into letting me upload my new root image ;) Is there another way? My linuxrc parameters are: language=en_US keytable=de-lat1-nd install=ftp://ftp.gwdg.de/pub/suse/i386/9.1 netdevice=eth0 sshpassword=... dhcp=1 usedhcp=1 usessh=1 rootimage=/boot/root The root image is in /boot/root on the installation partition. I also tried rootimage=/boot/boot/root, in case it is mounted at /boot, but this did not work either. Regards, Jochen Anas Nashif <nashif@suse.de> 14.09.2004 14:21 To werbung@kuhnle.net cc suse-autoinstall@suse.com Subject Re: [suse-autoinstall] SuSE 9.1 SSH Network Install fails werbung@kuhnle.net wrote:
Hi,
where do I get the "root"-file from?
First CD in the directory "boot". Anas
Regards, Jochen
Anas Nashif <nashif@suse.de> 14.09.2004 01:24
To Rajiv Aaron Manglani <rajiv@angstrom.com> cc suse-autoinstall@suse.com Subject Re: [suse-autoinstall] SuSE 9.1 SSH Network Install fails
Hi, Well, it seems the code is indeed in the script, although according to the logs it should not be there :-( Quick and dirty solution is to remove this code from the yast2 script.
mv root root.orig mount -oloop linux/root.orig /mnt rm -rf inst-sys mkdir -p inst-sys cd inst-sys rsync -avz /mnt/* .
vi inst-sys/usr/lib/YaST2/bin/YaST2 # remove the lines 383-402 umount /mnt
mkfs.cramfs inst-sys root
rm -rf inst-sys
Hope that helps, Anas
Rajiv Aaron Manglani wrote:
I am trying to do a network install with SuSE 9.1 on a headless (and keyboardless) machine. After inital booting and ssh login, yast
displays
i am seeing something similar here. we have a dhcp/tftp/http server setup to do installs. if we boot a machine via pxe with no keyboard connected, autoyast appears to hang with:
No keyboard detected. Trying to connect via serial interface /dev/ttyS0. On your terminal computer start ...
the blue install screen never comes up. however the autoyast install progresses (in the background?) and eventually completes sucessfully.
when i setup the server i copied linux and initrd from x86_64/9.1/boot/loader/ which was rsynced from mirror.mcs.anl.gov. the md5sums of the files we are using:
37dd0ca03f8c3117b571b92a51473b3d linux.suse.9.1 2987e927a80fe615f57d8308035e9c1b initrd.suse.9.1
which appear to match what is on that mirror.
Now I'm stuck trying to tell linuxrc to use the new "root" image... I copied it to the installation partition and used the parameter "rootimage=/boot/root", but it seems that this path is relative to the installation path (parameter install=ftp://ftp.gwdg.de/...). At least I get an error message "ftp error: File not found on server"). I doubt I can talk the official SuSe mirrors into letting me upload my new root image ;) Is there another way? My linuxrc parameters are: language=en_US keytable=de-lat1-nd install=ftp://ftp.gwdg.de/pub/suse/i386/9.1 netdevice=eth0 sshpassword=... dhcp=1 usedhcp=1 usessh=1 rootimage=/boot/root The root image is in /boot/root on the installation partition. I also tried rootimage=/boot/boot/root, in case it is mounted at /boot, but this did not work either. Regards, Jochen Anas Nashif <nashif@suse.de> 14.09.2004 14:21 To werbung@kuhnle.net cc suse-autoinstall@suse.com Subject Re: [suse-autoinstall] SuSE 9.1 SSH Network Install fails werbung@kuhnle.net wrote:
Hi,
where do I get the "root"-file from?
First CD in the directory "boot". Anas
Regards, Jochen
Anas Nashif <nashif@suse.de> 14.09.2004 01:24
To Rajiv Aaron Manglani <rajiv@angstrom.com> cc suse-autoinstall@suse.com Subject Re: [suse-autoinstall] SuSE 9.1 SSH Network Install fails
Hi, Well, it seems the code is indeed in the script, although according to the logs it should not be there :-( Quick and dirty solution is to remove this code from the yast2 script.
mv root root.orig mount -oloop linux/root.orig /mnt rm -rf inst-sys mkdir -p inst-sys cd inst-sys rsync -avz /mnt/* .
vi inst-sys/usr/lib/YaST2/bin/YaST2 # remove the lines 383-402 umount /mnt
mkfs.cramfs inst-sys root
rm -rf inst-sys
Hope that helps, Anas
Rajiv Aaron Manglani wrote:
I am trying to do a network install with SuSE 9.1 on a headless (and keyboardless) machine. After inital booting and ssh login, yast
displays
i am seeing something similar here. we have a dhcp/tftp/http server setup to do installs. if we boot a machine via pxe with no keyboard connected, autoyast appears to hang with:
No keyboard detected. Trying to connect via serial interface /dev/ttyS0. On your terminal computer start ...
the blue install screen never comes up. however the autoyast install progresses (in the background?) and eventually completes sucessfully.
when i setup the server i copied linux and initrd from x86_64/9.1/boot/loader/ which was rsynced from mirror.mcs.anl.gov. the md5sums of the files we are using:
37dd0ca03f8c3117b571b92a51473b3d linux.suse.9.1 2987e927a80fe615f57d8308035e9c1b initrd.suse.9.1
which appear to match what is on that mirror.
will this fix be incorporated into the 'root' file that is on the suse mirrors, or will we have to wait for 9.2 ? thanks Anas Nashif wrote:
Hi, Well, it seems the code is indeed in the script, although according to the logs it should not be there :-( Quick and dirty solution is to remove this code from the yast2 script.
mv root root.orig mount -oloop linux/root.orig /mnt rm -rf inst-sys mkdir -p inst-sys cd inst-sys rsync -avz /mnt/* .
vi inst-sys/usr/lib/YaST2/bin/YaST2 # remove the lines 383-402 umount /mnt
mkfs.cramfs inst-sys root
rm -rf inst-sys
Hope that helps, Anas
Rajiv Aaron Manglani wrote:
I am trying to do a network install with SuSE 9.1 on a headless (and keyboardless) machine. After inital booting and ssh login, yast displays
i am seeing something similar here. we have a dhcp/tftp/http server setup to do installs. if we boot a machine via pxe with no keyboard connected, autoyast appears to hang with:
No keyboard detected. Trying to connect via serial interface /dev/ttyS0. On your terminal computer start ...
the blue install screen never comes up. however the autoyast install progresses (in the background?) and eventually completes sucessfully.
when i setup the server i copied linux and initrd from x86_64/9.1/boot/loader/ which was rsynced from mirror.mcs.anl.gov. the md5sums of the files we are using:
37dd0ca03f8c3117b571b92a51473b3d linux.suse.9.1 2987e927a80fe615f57d8308035e9c1b initrd.suse.9.1
which appear to match what is on that mirror.
Rajiv Aaron Manglani wrote:
will this fix be incorporated into the 'root' file that is on the suse mirrors, or will we have to wait for 9.2 ?
root images are never updated, if something is to be updated, then it will be done using a driverupdate. That said, I dont think an update will be done just because of this problem. If you need an update, please contact support. 9.2 is not far away, so you might want to wait for that.. Anas
thanks
Anas Nashif wrote:
Hi, Well, it seems the code is indeed in the script, although according to the logs it should not be there :-( Quick and dirty solution is to remove this code from the yast2 script.
mv root root.orig mount -oloop linux/root.orig /mnt rm -rf inst-sys mkdir -p inst-sys cd inst-sys rsync -avz /mnt/* .
vi inst-sys/usr/lib/YaST2/bin/YaST2 # remove the lines 383-402 umount /mnt
mkfs.cramfs inst-sys root
rm -rf inst-sys
Hope that helps, Anas
Rajiv Aaron Manglani wrote:
I am trying to do a network install with SuSE 9.1 on a headless (and keyboardless) machine. After inital booting and ssh login, yast displays
i am seeing something similar here. we have a dhcp/tftp/http server setup to do installs. if we boot a machine via pxe with no keyboard connected, autoyast appears to hang with:
No keyboard detected. Trying to connect via serial interface /dev/ttyS0. On your terminal computer start ...
the blue install screen never comes up. however the autoyast install progresses (in the background?) and eventually completes sucessfully.
when i setup the server i copied linux and initrd from x86_64/9.1/boot/loader/ which was rsynced from mirror.mcs.anl.gov. the md5sums of the files we are using:
37dd0ca03f8c3117b571b92a51473b3d linux.suse.9.1 2987e927a80fe615f57d8308035e9c1b initrd.suse.9.1
which appear to match what is on that mirror.
participants (3)
-
Anas Nashif
-
Rajiv Aaron Manglani
-
werbung@kuhnle.net