From: Stephen Liu <satimis@yahoo.com>
To: kvm@vger.kernel.org
Subject: Re: Fail to create disk.img (SOLVED)
Date: Tue, 5 Aug 2008 19:50:40 +0800 (CST) [thread overview]
Message-ID: <834455.97062.qm@web35204.mail.mud.yahoo.com> (raw)
In-Reply-To: <20080805111453.GD13674@ralph.linux2go.dk>
--- Soren Hansen <soren@ubuntu.com> wrote:
> On Tue, Aug 05, 2008 at 06:37:09PM +0800, Stephen Liu wrote:
> > # kvm -hdb ubuntu6.06_080805.img -cdrom /dev/scd0 -m 512 -boot d
> -smp
> > 2 -vnc :9 (starting)
>
> Here, you're attaching your disk image to /dev/hdb.
>
> > # kvm ubuntu6.06_080805.img -vnc :0
>
> Here... not so much.
Hi Soren,
I got it. Thanks
Xterm-1
# kvm -hdb ubuntu6.06_080805.img -vnc :0
starting
Xterm-2
$ vncviewer 192.168.0.110:0
Viewer starts. Also Ubuntu6.06 start to boot. Finally I can login as
user as well as root.
In these couple days I made heavy googling and found many documents.
Because I can't get the guest to ping website (it can update/upload
files on repo). However the more I read more confuse I'm.
If creating the disk.img running;
$ sudo kvm -hda disk.img -cdrom ........
I can start the guest with;
$ kvm disk.img ip-address.....
(without -hda)
If creating the disk.img running;
$ sudo kvm -hdb disk.img -cdrom ......
I must run;
$ kvm -hdb disk.img ip-address.....
(must add -hdb)
I'm NOT very clear, WHY?
I'm following;
https://help.ubuntu.com/community/KVM#Creating%20a%20network%20bridge%20on%20the%20host
trying to sort out the problem on networking
On running
$ sudo kvm-bridge -m 512 -hdb disk.img -cdrom /dev/scd0 -boot d -smp 2
nohup: appending output to `nohup.out'
It always appends output to `nohup.out'
I'm still struggling.
B.R.
Stephen
> > viewer starts displaying;
> > .....
> > Booting the kernel
> > .....
> > Alert! /dev/hdb1 does not exist. Dropping to a shell!
>
> Obviously, since what you called /dev/hdb during installation is now
> /dev/hda.
Send instant messages to your online friends http://uk.messenger.yahoo.com
next prev parent reply other threads:[~2008-08-05 11:50 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-05 8:57 Fail to create disk.img Stephen Liu
2008-08-05 9:03 ` Ian Kirk
2008-08-05 9:10 ` Uri Lublin
2008-08-05 9:29 ` Stephen Liu
2008-08-05 9:48 ` Uri Lublin
2008-08-05 10:08 ` Soren Hansen
2008-08-05 9:59 ` Soren Hansen
2008-08-05 10:09 ` Uri Lublin
2008-08-05 10:37 ` Stephen Liu
2008-08-05 11:14 ` Soren Hansen
2008-08-05 11:50 ` Stephen Liu [this message]
2008-08-05 12:51 ` Fail to create disk.img (SOLVED) Soren Hansen
[not found] ` <285610.49651.qm@web35201.mail.mud.yahoo.com>
2008-08-07 7:14 ` Soren Hansen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=834455.97062.qm@web35204.mail.mud.yahoo.com \
--to=satimis@yahoo.com \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.