Thank you Darren. I added this line to my menu.lst file: -B console=keyboard added it here in the file #---------- ADDED BY ME ---------- title Keyboard Video Mouse: Solaris 10 6/06 s10x_u2wos_09a X86 root (hd0,0,a) kernel /platform/i86pc/multiboot -B console=keyboard module /platform/i86pc/boot_archive #---------------------END BOOTADM-------------------- It works!!! By default my system sends user I/O to console, but when I have a monitor connected I have the option to select the kernel OS (from GNU GRUB screen) to display to the monitor (KVM). I also changed the "timeout 10" to "timeout 20" It works like a champ. Thank you very much for pointing me in the right direction. PS: I added the original question at the bottom for folks -----Original Message----- From: Darren Dunham [mailto:ddunham@taos.com] Sent: Monday, August 13, 2007 5:49 PM To: Al Saenz: Foundation Technologies Subject: Re: x2100 and x2200: display serial console and KVM (monitor) > Here is a sample of my /boot/grub/menu.lst file for the above statement. > > Notice the following towards the bottom of my menu.lst > #---------- ADDED BY ME ---------- > title Keyboard Video Mouse: Solaris 10 6/06 s10x_u2wos_09a X86 > root (hd0,0,a) > kernel /platform/i86pc/multiboot > module /platform/i86pc/boot_archive > #---------------------END BOOTADM-------------------- Since there is no -B, this will use the values in bootenv.rc. > I added that and the menu option does appear in the grub menu during bootup > (monitor) but like I said it continues to go console even though I just have > "kernel /platform/i86pc/multiboot." > The Solaris failsafe will display the OS to the monitor but for some reason > the modification above will not. > > I have the following in my eeprom: > console=ttyb Which is stored in bootenv.rc. > Is that a problem? If I change that I won't have serial console anymore right? > I kind of wanted both or at least default to serial and then have the option > (KVM connected) to select the OS to display to KVM (via GRUB menu). Kind of > like we had with SPARC workstations. > > --- > # more boot/grub/menu.lst > #pragma ident "@(#)menu.lst 1.1 05/09/01 SMI" > # > # default menu entry to boot > default 0 > # > # menu timeout in second before default OS is booted > # set to -1 to wait for user input > timeout 10 > # > # To enable grub serial console to ttya uncomment the following lines > # and comment out the splashimage line below > # WARNING: don't enable grub serial console when BIOS console serial > # redirection is active!!! > # serial --unit=0 --speed=9600 > # terminal serial > # > # Uncomment the following line to enable GRUB splashimage on console > splashimage /boot/grub/splash.xpm.gz > # > # To chainload another OS > # > # title Another OS > # root (hd<disk no>,<partition no>) > # chainloader +1 > # > # To chainload a Solaris release not based on grub > # > # title Solaris 9 > # root (hd<disk no>,<partition no>) > # chainloader +1 > # makeactive > # > # To load a Solaris instance based on grub > # > # title Solaris <version> > # root (hd<disk no>,<partition no>,x) --x = Solaris root slice > # kernel /platform/i86pc/multiboot > # module /platform/i86pc/boot_archive > # > # To override Solaris boot args (see kernel(1M)), console device and > # properties set via eeprom(1M) edit the "kernel" line to: > # > # kernel /platform/i86pc/multiboot <boot-args> -B prop1=val1,prop2=val2,... > # > #---------- ADDED BY BOOTADM - DO NOT EDIT ---------- > title Serial Port: Solaris 10 6/06 s10x_u2wos_09a X86 > root (hd0,0,a) > kernel /platform/i86pc/multiboot -B console=ttyb > module /platform/i86pc/boot_archive > #---------------------END BOOTADM-------------------- > #---------- ADDED BY ME ---------- > title Keyboard Video Mouse: Solaris 10 6/06 s10x_u2wos_09a X86 > root (hd0,0,a) > kernel /platform/i86pc/multiboot > module /platform/i86pc/boot_archive > #---------------------END BOOTADM-------------------- You'll notice the first one is trying to override the console setting. I don't know if this will work, but I would try forcing console=text on the grub line. (either edit at boot, or code a new section). ...multiboot -B console=text -- Darren Dunham ddunham@taos.com Senior Technical Consultant TAOS http://www.taos.com/ Got some Dr Pepper? San Francisco, CA bay area < This line left intentionally blank to confuse you. > ########################### #### Original Question #### ########################### Hi Managers, I was wondering if anyone had a setup for the x2100 or x2200 (in relating to grub and user interface output) that would send output to the serial port and provide GRUB menu output to the KVM thus allowing someone who hooked up a KVM to boot a kernel that would display to KVM? I want to display output to the serial port by default (which I do now) but I want to have the option to boot the kernel and have output on the KVM if I choose to select a different GRUB boot option. Right now the GRUB does display to the KVM like I want it. Right now I have something that half way works. My x2100 will display the shell to the serial port. If I hook KVM up and have my laptop console connected I can see my GRUB menu (monitor) but when I select the option to display my OS to the KVM I just get a blinking cursor (monitor) and it keeps showing up on my laptop console. I hope I make sense, hard to explain sometimes. Here is a sample of my /boot/grub/menu.lst file for the above statement. Notice the following towards the bottom of my menu.lst #---------- ADDED BY ME ---------- title Keyboard Video Mouse: Solaris 10 6/06 s10x_u2wos_09a X86 root (hd0,0,a) kernel /platform/i86pc/multiboot module /platform/i86pc/boot_archive #---------------------END BOOTADM-------------------- I added that and the menu option does appear in the grub menu during bootup (monitor) but like I said it continues to go console even though I just have "kernel /platform/i86pc/multiboot." The Solaris failsafe will display the OS to the monitor but for some reason the modification above will not. I have the following in my eeprom: console=ttyb Is that a problem? If I change that I won't have serial console anymore right? I kind of wanted both or at least default to serial and then have the option (KVM connected) to select the OS to display to KVM (via GRUB menu). Kind of like we had with SPARC workstations. --- # more boot/grub/menu.lst #pragma ident "@(#)menu.lst 1.1 05/09/01 SMI" # # default menu entry to boot default 0 # # menu timeout in second before default OS is booted # set to -1 to wait for user input timeout 10 # # To enable grub serial console to ttya uncomment the following lines # and comment out the splashimage line below # WARNING: don't enable grub serial console when BIOS console serial # redirection is active!!! # serial --unit=0 --speed=9600 # terminal serial # # Uncomment the following line to enable GRUB splashimage on console splashimage /boot/grub/splash.xpm.gz # # To chainload another OS # # title Another OS # root (hd<disk no>,<partition no>) # chainloader +1 # # To chainload a Solaris release not based on grub # # title Solaris 9 # root (hd<disk no>,<partition no>) # chainloader +1 # makeactive # # To load a Solaris instance based on grub # # title Solaris <version> # root (hd<disk no>,<partition no>,x) --x = Solaris root slice # kernel /platform/i86pc/multiboot # module /platform/i86pc/boot_archive # # To override Solaris boot args (see kernel(1M)), console device and # properties set via eeprom(1M) edit the "kernel" line to: # # kernel /platform/i86pc/multiboot <boot-args> -B prop1=val1,prop2=val2,... # #---------- ADDED BY BOOTADM - DO NOT EDIT ---------- title Serial Port: Solaris 10 6/06 s10x_u2wos_09a X86 root (hd0,0,a) kernel /platform/i86pc/multiboot -B console=ttyb module /platform/i86pc/boot_archive #---------------------END BOOTADM-------------------- #---------- ADDED BY ME ---------- title Keyboard Video Mouse: Solaris 10 6/06 s10x_u2wos_09a X86 root (hd0,0,a) kernel /platform/i86pc/multiboot module /platform/i86pc/boot_archive #---------------------END BOOTADM-------------------- #---------- ADDED BY BOOTADM - DO NOT EDIT ---------- title Solaris failsafe root (hd0,0,a) kernel /boot/multiboot kernel/unix -s module /boot/x86.miniroot-safe #---------------------END BOOTADM-------------------- # Thanks Al I know it's a lot of information. I will summarize if I solve this with your help. _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Tue Aug 14 14:47:40 2007
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:06 EST