From: "Fajar A. Nugraha" <fajar@telkom.co.id>
To: xen-devel@lists.sourceforge.net
Subject: Re: Porting of Guest OS
Date: Thu, 30 Dec 2004 09:58:32 +0700 [thread overview]
Message-ID: <41D36ED8.2040208@telkom.co.id> (raw)
In-Reply-To: <BAY102-F15C3A087E1E29A81D1DF92B39C0@phx.gbl>
Amitabh Tamhane wrote:
> Hi,
> I am trying to boot a guest OS (SuSE 2.6 kernel) on Xen. But, it is
> giving me boot errors.
>
> The steps I followed:
> 1) Created a raw diskFile with ext3 filesystem
> 2) Copied /{root,etc,dev,var,usr,bin,sbin,lib} from my SuSE 2.6
> installation on to the diskFile
I would suggest you copy everything from a non-running linux installation.
You could also use a running machine as starting point, but you should
exclude these files :
/proc/*
/var/log/*/*
/var/run/*/*
/var/run/*.pid
/var/tmp/*
/var/lock/*/*
/dev/mapper/*
/tmp/*
/sys/*
/mnt/*/*
Note that you NEED /proc, but you don't need anything under it.
Then you have to modify /etc/fstab accordingly, and use /dev/sda1 as root.
> 3) Created a config file as:
> Important parameters are as follows:
> kernel = "/boot/vmlinuz-2.4.27-xenU"
> disk = ['file:FullPathToTheDiskFile,sda1,w']
> root = "/dev/sda1"
> (other parameters skipped)
>
> 4) Booted-up the new Domain
>
> It is giving some-errors like /lib/modules/2.6.9-xenU/modules.dep not
> found. And boots up in the
>
You need to copy /lib/modules/2.6.9-xenU/ from the physical server (the
server you're running xen's
"make install" from) to the virtual server. Alternatively, recompile the
xen-U kernel
to disable modules support and you can ignore the error completely.
If you're running athlon-xp or P4/Xeon, I can share my xen-U kernel (or
the .config), with modules disabled,
optimized for those platform.
> Can anyone tell me what exact changes do i need to make to the SuSE
> 2.6 kernel to be able to boot it as a new Domain?
>
Are you using 2.4 or 2.6? Your xen config file says 2.4.
> I understand that the machine dependent code has to be changed with
> new code provided by Xen....but I could not find a place where it
> says........."These are the exacts steps you need to follow for
> porting of Guest OS in a Domain"
>
Because it's not there yet :)
Regards,
Fajar
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
next prev parent reply other threads:[~2004-12-30 2:58 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-30 0:12 Porting of Guest OS Amitabh Tamhane
2004-12-30 2:58 ` Fajar A. Nugraha [this message]
2004-12-30 8:14 ` Amitabh Tamhane
2004-12-30 8:35 ` Fajar A. Nugraha
2004-12-30 14:50 ` M.A. Williamson
2004-12-31 1:14 ` Amitabh Tamhane
2004-12-31 1:58 ` Ronald G. Minnich
2004-12-31 7:40 ` David Hopwood
2004-12-31 7:49 ` Fajar A. Nugraha
2004-12-31 8:02 ` David Hopwood
2004-12-31 15:40 ` Ronald G. Minnich
2005-01-01 2:26 ` David Hopwood
2004-12-31 9:53 ` Keir Fraser
2004-12-31 15:44 ` Ronald G. Minnich
2004-12-31 15:42 ` M.A. Williamson
-- strict thread matches above, loose matches on Subject: below --
2004-12-30 0:13 Amitabh Tamhane
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=41D36ED8.2040208@telkom.co.id \
--to=fajar@telkom.co.id \
--cc=xen-devel@lists.sourceforge.net \
/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.