| Subject: | Re: [Qemu-devel] Re: How to get target system display with qemu -nographic option? |
|---|---|
| From: | Vikram Hegde |
| Date: | Fri, 25 Jul 2008 20:13:39 -0700 PDT |
|
Hi Atoosah, Something else you may want to try: - The -B option on the "kernel" line was a Solaris specific extension added to the modified GRUB that ships with Solaris. So it is unlikely -B is used for the same purpose in Linux. Try deleting the -B i.e. just have something like kernel ...something... console=ttyS0 I bet that would work as well Vikram ----- Original Message ---- From: Vikram Hegde <vikhegde1@xxxxxxxxx> To: qemu-devel@xxxxxxxxxx Sent: Friday, July 25, 2008 6:03:36 PM Subject: Re: [Qemu-devel] Re: How to get target system display with qemu -nographic option? Hi Atoosah, >-- But, after bootup messages are done, I do not see the login screen. After the last bootup messages are done, >shouldn't the login screen magically appear on the terminal? I don't see anyting after the last bootup message of >"Starting HAL daemon: [ OK ]". Why would that be? Try to disable X startup (shouldn't actually be a problem since you don't have a framebuffer in the guest) > B) In /etc/inittab mgetty was giving me respawning error so I removed the below line. It seems that mgetty was > > not being recognized. > #T0:2345:respawn:/sbin/mgetty dev=ttyS0 b 9600 ... > Vikram, have you tried mingetty? I don't have getty available. No I haven't tried mgetty. Getting it to work may solve your problem. Vikram ----- Original Message ---- From: Atoosah <atoosaah@xxxxxxxxx> To: qemu-devel@xxxxxxxxxx Sent: Friday, July 25, 2008 12:21:31 PM Subject: Re: [Qemu-devel] Re: How to get target system display with qemu -nographic option? Yay! I've almost got it. I'd appreciate a bit more help for the last
few steps. Thank you David for pointing out the command options wouldn't be recognized. Now, I see how it wouldn't make sense to pass in commands to a bootable image. I had previously added the same console parameters to grub, but the kernel was not recognizing it. Vikram, thank you telling me about the -B option. That was the key :-) My kernel is not that old, 2.6.11, and so needed that option. Now I get the boot up messaged on my terminal! -- But, after bootup messages are done, I do not see the login screen. After the last bootup messages are done, shouldn't the login screen magically appear on the terminal? I don't see anyting after the last bootup message of "Starting HAL daemon: [ OK ]". Why would that be? -- Also, I'm easily able to switch to Qemu's Command window with Ctrl-a c, but cannot switch back to console. Shouldn't I be able to? Below I've listed the changes (on a 2.6.11 Fedora Core guest) I've made in case someone needs to refer to it: A) modified grub.conf as follows: default=0 timout=10 serial --unit=0 --speed=9600 terminal serial console title something root (hd0,0) kernel some_stuff -B console=ttyS0
initrd something B) In /etc/inittab mgetty was giving me respawning error so I removed the below line. It seems that mgetty was not being recognized. #T0:2345:respawn:/sbin/mgetty dev=ttyS0 b 9600 ... Vikram, have you tried mingetty? I don't have getty available. C) Running qemu as follows: $ qemu -hda myboot.img -m 512 -nographic ----------------------------------------------------------------------- Note: my last last boot message are: Checking filesystems Checking all file systems. ... [ OK ] Remounting root filesystem in read-write mode: [ OK ] Mounting local filesystems: [ OK ] Enabling local filesystem quotas: [ OK ] Enabling swap space: [ OK ] INIT: Entering runlevel: 3 Entering non-interactive startup Checking for new hardware [ OK ] Starting pcmcia: [ OK ] Starting system logger: [ OK ] ... Starting system message bus: [ OK ] Starting HAL daemon: [ OK ] ----------------------------------------------------------------------- Thank you.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [Qemu-devel] Re: How to get target system display with qemu -nographic option?, Vikram Hegde |
|---|---|
| Next by Date: | [Qemu-devel] Problem with SCSI emulation, Henrik Holst |
| Previous by Thread: | Re: [Qemu-devel] Re: How to get target system display with qemu -nographic option?, Vikram Hegde |
| Next by Thread: | [Qemu-devel] [4921] A bunch of minor code improvements in the MIPS target., Thiemo Seufer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |