|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Convert CentOS system to Xen image?
On Mi, Apr 02, 2008 at 01:35:14 -0400, James Pifer wrote:
> > Great!
> >
> > Now
> > you should edit kernel command line
> > and specify new root fs path.
> >
> > What bootloader to you use?
> >
> > Presuming you use GRUB:
> >
> >
> > 1. press e in the GRUB bootprompt
> > 2. Choose kernel line
> > 3. Press e again
> > 4. Change root=/dev/ida/c0d0p1 arg to root=/dev/hda1
> > 5. add parameter init=/bin/sh
> > 6. press b to boot
> > 7. when you will get shell prompt do
> > mount -t proc proc /proc
> > mount -o rw,remount /
> > mount -a
> > vi /etc/fstab
> >
> > and here change /dev/ida/c0d0pXXXX to /dev/hdaXXXX
> >
> > also you can use sed instead of vi:
> >
> > sed -i s@/dev/ida/c0d0p@/dev/hda@ /etc/fstab
> >
> > 8. umount -a
> > 9. continue booting process
> > exec /sbin/init
> >
>
> Problem is I don't even get to grub. After I create the new machine in
> xen, select the image file for the hard disk, set the other settings, it
> gives me a popup that no kernels can be found. Did I miss some steps?
Please, show the config file of the domain.
>
> Thanks,
> James
>
--
WBR, i.m.chubin
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- RE: [Xen-users] Convert CentOS system to Xen image?, (continued)
- Re: [Xen-users] Convert CentOS system to Xen image?, Joe Royall
- Re: [Xen-users] Convert CentOS system to Xen image?, Igor Chubin
- Re: [Xen-users] Convert CentOS system to Xen image?, James Pifer
- Re: [Xen-users] Convert CentOS system to Xen image?, Igor Chubin
- Re: [Xen-users] Convert CentOS system to Xen image?, James Pifer
- Re: [Xen-users] Convert CentOS system to Xen image?, Igor Chubin
- Re: [Xen-users] Convert CentOS system to Xen image?, James Pifer
- Re: [Xen-users] Convert CentOS system to Xen image?,
Igor Chubin <=
- Re: [Xen-users] Convert CentOS system to Xen image?, James Pifer
- Re: [Xen-users] Convert CentOS system to Xen image?, Tiago Cruz
- Re: [Xen-users] Convert CentOS system to Xen image?, James Pifer
- Re: [Xen-users] Convert CentOS system to Xen image?, Tiago Cruz
- RE: [Xen-users] Convert CentOS system to Xen image?, Ross S. W. Walker
- Re: [Xen-users] Convert CentOS system to Xen image?, James Pifer
- Re: [Xen-users] Convert CentOS system to Xen image?, Tiago Cruz
- RE: [Xen-users] Convert CentOS system to Xen image?, Ross S. W. Walker
- RE: [Xen-users] Convert CentOS system to Xen image?, James Pifer
- RE: [Xen-users] Convert CentOS system to Xen image?, Ross S. W. Walker
|
|
|
|
|