I have not been able to find one useful link on how to make a chroot installation of Suse (to boot a Suse VM). Is there any other way this can be accomplished? I found one link but it was too much haking.I am sure someting simple must be outhere. Any help would be greatly appreciated. cc
On Tuesday 27 June 2006 19:01, Claris Castillo wrote:
I have not been able to find one useful link on how to make a chroot installation of Suse (to boot a Suse VM). Is there any other way this can be accomplished? I found one link but it was too much haking.I am sure someting simple must be outhere.
Any help would be greatly appreciated. cc I've done the same, but the other way round namely I've got debian testing (X86_64) running with xen on SuSE 10.1.
I had to resort to using VMWare to install in my case debian. I then attached the debian VM disks to another VM and used dd to copy this disk to a file on an NFS server. I then mounted the disk image on the xen box, copied the kernel modules from the xen host machine into the disc image filesystem, unmounted the disk image and booted with a hand crafted xen config file. There may be simpler ways of doing this, but it did work. My next project is to do a similar thing with the new Ubuntu Dapper server and get that running on my 10.1 xen machine. I've allready got it running in vmware. Hope that helps..... David -- David Bottrill david@bottrill.org www.bottrill.org Registered Linux user number 330730 Internet Free World Dialup: 683864 -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Thanks David! It is hard for me to believe that I have to install SUSE in another host so to copy (dd) the disk into a Logical Volume. I dont have VM ware and also I don't have an extra machine for this installation. I feel helpless!! On top of that I can't do a chroot installation given that I am running Xen-FC so I don't have yast... cc On 6/27/06, David Bottrill <david@bottrill.org> wrote:
On Tuesday 27 June 2006 19:01, Claris Castillo wrote:
I have not been able to find one useful link on how to make a chroot installation of Suse (to boot a Suse VM). Is there any other way this can be accomplished? I found one link but it was too much haking.I am sure someting simple must be outhere.
Any help would be greatly appreciated. cc I've done the same, but the other way round namely I've got debian testing (X86_64) running with xen on SuSE 10.1.
I had to resort to using VMWare to install in my case debian. I then attached the debian VM disks to another VM and used dd to copy this disk to a file on an NFS server.
I then mounted the disk image on the xen box, copied the kernel modules from the xen host machine into the disc image filesystem, unmounted the disk image and booted with a hand crafted xen config file.
There may be simpler ways of doing this, but it did work. My next project is to do a similar thing with the new Ubuntu Dapper server and get that running on my 10.1 xen machine. I've allready got it running in vmware.
Hope that helps.....
David
-- David Bottrill
david@bottrill.org www.bottrill.org Registered Linux user number 330730 Internet Free World Dialup: 683864
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-- Claris Castillo http://www4.ncsu.edu/~ccastil PhD. Candidate Computer Science North Carolina State University Raleigh, NC
I wonder if it would work to copy /etc, /bin, /usr, /lib, etc...from a already fully install suse server into a logical volume (lets say /dev/planetlab/disk1) and make that logical volume the Disk (phy:/dev/planetlab/disk1) for the virtual machine. Then the only things left are to set the values of ramdisk and kernel. anyone? I am really stuck here.. please help... claris On 6/27/06, Claris Castillo <ccastil@ncsu.edu> wrote:
Thanks David!
It is hard for me to believe that I have to install SUSE in another host so to copy (dd) the disk into a Logical Volume. I dont have VM ware and also I don't have an extra machine for this installation. I feel helpless!! On top of that I can't do a chroot installation given that I am running Xen-FC so I don't have yast...
cc
On 6/27/06, David Bottrill <david@bottrill.org> wrote:
On Tuesday 27 June 2006 19:01, Claris Castillo wrote:
I have not been able to find one useful link on how to make a chroot installation of Suse (to boot a Suse VM). Is there any other way this can be accomplished? I found one link but it was too much haking.I am sure someting simple must be outhere.
Any help would be greatly appreciated. cc I've done the same, but the other way round namely I've got debian testing (X86_64) running with xen on SuSE 10.1.
I had to resort to using VMWare to install in my case debian. I then attached the debian VM disks to another VM and used dd to copy this disk to a file on an NFS server.
I then mounted the disk image on the xen box, copied the kernel modules from the xen host machine into the disc image filesystem, unmounted the disk image and booted with a hand crafted xen config file.
There may be simpler ways of doing this, but it did work. My next project is to do a similar thing with the new Ubuntu Dapper server and get that running on my 10.1 xen machine. I've allready got it running in vmware.
Hope that helps.....
David
-- David Bottrill
david@bottrill.org www.bottrill.org Registered Linux user number 330730 Internet Free World Dialup: 683864
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-- Claris Castillo http://www4.ncsu.edu/~ccastil PhD. Candidate Computer Science North Carolina State University Raleigh, NC
-- Claris Castillo http://www4.ncsu.edu/~ccastil PhD. Candidate Computer Science North Carolina State University Raleigh, NC
On 6/28/06 12:25 AM, "Claris Castillo" <ccastil@ncsu.edu> wrote:
I wonder if it would work to copy /etc, /bin, /usr, /lib, etc...from a already fully install suse server into a logical volume (lets say /dev/planetlab/disk1) and make that logical volume the Disk (phy:/dev/planetlab/disk1) for the virtual machine. Then the only things left are to set the values of ramdisk and kernel.
anyone? I am really stuck here.. please help... claris
Briefly, yes, or it ought to. Just be sure to change /etc/fstab to reflect the "new" location of the root partition, if in fact it is different from the old. Also, move /etc/sysconfig/network/ifcfg-eth-id-X to the virtual mac that you assigned in the xen config file. Do that, then try booting, see what happens...you may run into issues as the machine comes up, in which case you can mount the partition, move stuff around/change configs, and try again... -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Claris Castillo said:
I wonder if it would work to copy /etc, /bin, /usr, /lib, etc...from a already fully install suse server into a logical volume (lets say /dev/planetlab/disk1) and make that logical volume the Disk (phy:/dev/planetlab/disk1) for the virtual machine. Then the only things left are to set the values of ramdisk and kernel.
anyone? I am really stuck here.. please help...
If you have a box running SuSE you could create say a 4GB file using dd then mount this as a loopback filesystem. You could then use the the install into directory i.e. the loopback file system. Another option would be to download the free VMWare server (currently in beta) although you wouldn't be able to run this and a machine running a xen kernel. David -- David Bottrill david@bottrill.org www.bottrill.org Registered Linux user number 330730 Internet Free World Dialup: 683864 -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Tue, 2006-06-27 at 21:19 -0700, Claris Castillo wrote:
Thanks David!
It is hard for me to believe that I have to install SUSE in another host so to copy (dd) the disk into a Logical Volume. I dont have VM ware and also I don't have an extra machine for this installation. I feel helpless!! On top of that I can't do a chroot installation given that I am running Xen-FC so I don't have yast...
cc
Please do not top post and only reply to the list unless asked to do otherwise. What have the folks at FC had to say about this? Is there no one on the FC list that can help with a FC problem. And yes it is a FC problem as it makes no difference what distro you are trying to install in Zen-FC you will have the same problem. Does FC -not- allow to install into directory? -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (4)
-
Claris Castillo
-
David Bottrill
-
Ian Marlier
-
Ken Schneider