|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] How to create an Ubuntu Hardy guest
Try a more manual procedure.
Something like:
sudo mkdir -p /xen/images
sudo dd if=/dev/zero of=/xen/images/para.partition bs=1M seek=10240 count=1
ls -lh /xen/images/
sudo mkfs.ext3 -F /xen/images/para.partition
sudo mkdir /mnt/para
sudo mount -o loop /xen/images/para.partition /mnt/para
http://archive.ubuntu.com/ubuntu
sudo debootstrap hardy /mnt/para
You should then have a file system at /mnt/para.
You can then customize things like hostname,etc.
When you are done customizing, umount it and make a domU config file.
something like:
kernel="/boot/<Xen kernel>"
ramdisk="/boot/Xen initrd"
disk=['tap:aio:/xen/images/para.partition,xvda1,w']
memory=512
vif=['']
root="/dev/xvda1"
extra='xencons=tty'
and then
xm create -c <the config file>
On Mon, Sep 15, 2008 at 7:40 AM, Stephen Liu <satimis@xxxxxxxxx> wrote:
>
> --- Tim Post <echo@xxxxxxxxxxxx> wrote:
>
>> On Mon, 2008-09-15 at 15:11 +0800, Stephen Liu wrote:
>> [ snip ]
>>
>> > WARNING
>> > -------
>> > Loopback module not loaded and you're using loopback images
>> > Run the following to load the module:
>> >
>> > modprobe loop loop_max=255
>>
>> Did you ensure that loop was loaded? If not, its going to be
>> impossible
>> to mount a file backed block device and copy over the newly strapped
>> file system, much less boot it.
>
>
> Hi Tim,
>
>
> # ps aux | grep loop
> root 3822 0.0 0.0 0 0 ? S< 04:21 0:00
> [loop0]
> root 3876 0.0 0.0 0 0 ? S< 04:21 0:00
> [loop1]
> root 4631 0.0 0.0 2760 696 pts/1 S+ 04:36 0:00 grep
> loop
>
>
>
>> Please do what the warning recommends and try again.
>
>
> I really don't understand what "There is no '/bin/ls' installed in the
> new installation directory" refers. I have been googling around. Some
> threads said it is a bug.
>
>
> B.R.
> satimis
>
> Send instant messages to your online friends http://uk.messenger.yahoo.com
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>
--
Todd Deshane
http://todddeshane.net
check out our book: http://runningxen.com
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-users] How to create an Ubuntu Hardy guest, (continued)
- Re: [Xen-users] How to create an Ubuntu Hardy guest, Stephen Liu
- Re: [Xen-users] How to create an Ubuntu Hardy guest, Tim Post
- Re: [Xen-users] How to create an Ubuntu Hardy guest, Stephen Liu
- Re: [Xen-users] How to create an Ubuntu Hardy guest, Tim Post
- Re: [Xen-users] How to create an Ubuntu Hardy guest, Stephen Liu
- Re: [Xen-users] How to create an Ubuntu Hardy guest,
Todd Deshane <=
- Re: [Xen-users] How to create an Ubuntu Hardy guest, Stephen Liu
- Re: [Xen-users] How to create an Ubuntu Hardy guest, Todd Deshane
- Re: [Xen-users] How to create an Ubuntu Hardy guest, Stephen Liu
Re: [Xen-users] How to create an Ubuntu Hardy guest, Stephen Liu
|
|
|
|
|