Hi, I'm missing something in my isolinux.cfg configuration but I'm not quite sure what it is. menu.c32 displays properly over video console, but on the serial connection, the first letter of the labels are duplicated, and the margin is pushed off towards the right: http://dl.dropbox.com/u/59666947/isolinux.jpg my config is: --- cut --- 1. serial 0 115200 2. console 0 3. 4. menu color screen 0;0 5. menu color border 0;0 6. menu color title 0;0 7. menu color unsel 0;0 8. menu color hotkey 0;0 9. menu color sel 37;40 10. menu color disabled 0;0 11. menu color scrollbar 0;0 12. menu color tabmsg 0;0 13. menu color cmdmark 0;0 14. menu color cmdline 0;0 15. menu color pwdborder 0;0 16. menu color pwdheader 0;0 17. menu color pwdentry 0;0 18. menu color timeout_msg 0;0 19. menu color timeout 0;0 20. menu color help 0;0 21. 22. default menu.c32 23. timeout 600 24. 25. display boot.msg 26. 27. Menu title RHEL6 rescue image 28. 29. label rescue 30. menu label ^Rescue installed system 31. kernel vmlinuz 32. append initrd=initrd.img ks http://ksserver/kickstart/ks/labserver002-rescue.ks ksdevice=eth0 console=tty console=ttyS0,115200 ramdisk_size=32758 ip=45.32.255.21netmask 255.255.255.128 gateway=45.32.255.1 dns=45.3.128.10 rescue 33. 34. label local 35. menu label Boot from ^local drive 36. localboot 0xffff 37. 38. label memtest86 39. menu label ^Memory test 40. kernel memtest 41. append - --- /cut --- Is there anything I can do to get the menu displayed properly over serial console? regards, Marc
> Hi, > > I'm missing something in my isolinux.cfg configuration but I'm not quite > sure what it is. menu.c32 displays properly over video console, but on the > serial connection, the first letter of the labels are duplicated, and the > margin is pushed off towards the right: > > http://dl.dropbox.com/u/59666947/isolinux.jpg > > my config is: > > --- cut --- > > 1. serial 0 115200 > 2. console 0 > 3. > 4. menu color screen 0;0 > 5. menu color border 0;0 > 6. menu color title 0;0 > 7. menu color unsel 0;0 > 8. menu color hotkey 0;0 > 9. menu color sel 37;40 > 10. menu color disabled 0;0 > 11. menu color scrollbar 0;0 > 12. menu color tabmsg 0;0 > 13. menu color cmdmark 0;0 > 14. menu color cmdline 0;0 > 15. menu color pwdborder 0;0 > 16. menu color pwdheader 0;0 > 17. menu color pwdentry 0;0 > 18. menu color timeout_msg 0;0 > 19. menu color timeout 0;0 > 20. menu color help 0;0 > 21. > 22. default menu.c32 > 23. timeout 600 > 24. > 25. display boot.msg > 26. > 27. Menu title RHEL6 rescue image > 28. > 29. label rescue > 30. menu label ^Rescue installed system > 31. kernel vmlinuz > 32. append initrd=initrd.img ks> http://ksserver/kickstart/ks/labserver002-rescue.ks ksdevice=eth0 > console=tty console=ttyS0,115200 ramdisk_size=32758 ip=45.32.255.21netmask> 255.255.255.128 gateway=45.32.255.1 dns=45.3.128.10 rescue > 33. > 34. label local > 35. menu label Boot from ^local drive > 36. localboot 0xffff > 37. > 38. label memtest86 > 39. menu label ^Memory test > 40. kernel memtest > 41. append - > > --- /cut --- > > Is there anything I can do to get the menu displayed properly over serial > console? > > regards, > MarcTry the following: Between lines 22 and line 25, replace them with: *** start replacing *** DEFAULT textmenu PROMPT 0 TIMEOUT 600 ONTIMEOUT rescue DISPLAY boot.msg LABEL textmenu MENU HIDE COM32 menu.c32 *** end replacing *** I think you might also want to test "PROMPT 1" instead of "PROMPT 0" and evaluate both serial and video outputs. Note that the "ONTIMEOUT" directive points to the "rescue" label, but if you have other labels adequate for serial console, you might want to evaluate which exact label to use in this directive. Also you might be interested in the TOTALTIMEOUT directive too, and in adapting the info about the new menu in boot.msg (we don't know its current content).
On Thu, Dec 6, 2012 at 8:18 AM, Marc Pascual <marc.m.pascual at gmail.com> wrote:>> >> Hi, >> >> I'm missing something in my isolinux.cfg configuration but I'm not quite sure what it is. menu.c32 displays properly over video console, but on the serial connection, the first letter of the labels are duplicated, and the margin is pushed off towards the right: >> >> http://dl.dropbox.com/u/59666947/isolinux.jpg >> >> my config is: >> >> --- cut --- >> >> serial 0 115200 >> console 0 >> >> menu color screen 0;0 >> menu color border 0;0 >> menu color title 0;0 >> menu color unsel 0;0 >> menu color hotkey 0;0 >> menu color sel 37;40 >> menu color disabled 0;0 >> menu color scrollbar 0;0 >> menu color tabmsg 0;0 >> menu color cmdmark 0;0 >> menu color cmdline 0;0 >> menu color pwdborder 0;0 >> menu color pwdheader 0;0 >> menu color pwdentry 0;0 >> menu color timeout_msg 0;0 >> menu color timeout 0;0 >> menu color help 0;0 >> >> default menu.c32 >> timeout 600 >> >> display boot.msg >> >> Menu title RHEL6 rescue image >> >> label rescue >> menu label ^Rescue installed system >> kernel vmlinuz >> append initrd=initrd.img ks=http://ksserver/kickstart/ks/labserver002-rescue.ks ksdevice=eth0 console=tty console=ttyS0,115200 ramdisk_size=32758 ip=45.32.255.21 netmask=255.255.255.128 gateway=45.32.255.1 dns=45.3.128.10 rescue >> >> label local >> menu label Boot from ^local drive >> localboot 0xffff >> >> label memtest86 >> menu label ^Memory test >> kernel memtest >> append - >> >> --- /cut --- >> >> Is there anything I can do to get the menu displayed properly over serial console? >> >> regards, >> >> Marc> Try the following: > > Between lines 22 and line 25, replace them with: > > *** start replacing *** > > DEFAULT textmenu > PROMPT 0 > TIMEOUT 600 > ONTIMEOUT rescue > DISPLAY boot.msg > > LABEL textmenu > MENU HIDE > COM32 menu.c32 > > *** end replacing *** > > I think you might also want to test "PROMPT 1" instead of "PROMPT 0" > and evaluate both serial and video outputs. > > Note that the "ONTIMEOUT" directive points to the "rescue" label, but > if you have other labels adequate for serial console, you might want > to evaluate which exact label to use in this directive. > > Also you might be interested in the TOTALTIMEOUT directive too, and > in adapting the info about the new menu in boot.msg (we don't know > its current content). >Ady, Thanks for your advise. I did exactly as you've suggested but its still displayed the same way: http://dl.dropbox.com/u/59666947/isolinux2.jpg One thing I noticed though, I don't know if there's a clue here. It displays fine on KVM; serial and video. I'm only getting this problem once I run the iso on a physical box. Regards, Marc
On 12/5/2012 19:18, Marc Pascual wrote:> > I'm missing something in my isolinux.cfg configuration but I'm not quite > sure what it is. menu.c32 displays properly over video console, but on the > serial connection, the first letter of the labels are duplicated, and the > margin is pushed off towards the right: > > http://dl.dropbox.com/u/59666947/isolinux.jpg > > my config is: > > --- cut --- > --- /cut --- > > Is there anything I can do to get the menu displayed properly over serial > console? >Just in case it's actually an iLO issue, have you tried a physical serial connection? Or isn't there one? It seems that you are using the serial-over-LAN or serial-over-iLO, or something. - Shao
H. Peter Anvin
2012-Dec-06 23:18 UTC
[syslinux] problems with isolinux over serial console
On 12/05/2012 04:18 PM, Marc Pascual wrote:> Hi, > > I'm missing something in my isolinux.cfg configuration but I'm not quite > sure what it is. menu.c32 displays properly over video console, but on the > serial connection, the first letter of the labels are duplicated, and the > margin is pushed off towards the right: > > http://dl.dropbox.com/u/59666947/isolinux.jpg >What terminal emulator are you using? This kind of looks like a problem with the terminal emulation. -hpa