Hi Marcel:

Thank you for your suggestion.

I have checked the target config. The Fat32 partition size is zero. And the sum is less than the size of my virtual. But even when I set the hdd boot size to 512MB, 10G for virtual disk and 384MB memory, in ubuntu, I still got the same error: No space left. But on my colleague's machine, the usb install image can be installed successfully on a normal setting VM(384MB memory, 4G virtual disk). We use same usb install image, same OS(Ubuntu 8.04), same Dell desktop machine(Dell Vostro 200). Weir

Then I tried it in Fedora 9. First I used a VM with 384MB memory and 4G virtual disk to install that usb install image, fail again. Same error: No space left. Then I change the VM's memory to 1400MB, it was installed successfully. But I tried this method in my Ubuntu 8.04, in the end of installation, no that "No space left" error, but other messages:

Unknown partion table signature
Could not find device for /dev/sda2
Could not find device for /dev/sda2
Could not find device for /dev/sda2
/dev/sda2: Not found or not a block device.
Umounting partitions...
umount: /mnt/boot: not mounted
umount : /mnt: not mounted
umount:/tmp/install:device is busy
Install Successfully

Then I boot the VM, got the error:
Boot from Hard Disk failed:not a bootable disk
FATAL:No bootable device

Anyway, I can install the usb install image in Fedora's qemu now. Thank you everyone, specially thanks to Amano-San, Austin and Marcel. Thanks for your help.

Regards
-Anderson

Wagner, Marcel 写道:
Hi Anderson,

I had a similar problem some time ago and, pardoxically, the problem in my case 
was not a too small size but a too large size of the partitions. In my case the 
problem was that one of the partitions, the fat32 partition to be specific, was 
4GB. Therefore the creation of the other partitions, e.g. root and boot 
partition, was failing if the overall HD size was only 4GB.
As Mitsutaka was proposing, it is a good idea to check the configured sizes of the 
partitions. You can do this in the "Target config" menu which can be selected 
in the MIC GUI. Check the value of Fat32 partition size, it should be zero. Also check 
the sizes of the other partitions to make sure that the sum is not exceeding the size of 
your virtual HD.
An easy check whether you have a similar problem would be to test whether the 
install image works if applied to a 10GB virtual harddisk in qemu instead of te 
4GB you were using.

Regards,
Marcel


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Mitsutaka Amano
Sent: Donnerstag, 6. November 2008 10:36
To: anderson.huang
Cc: [email protected]
Subject: Re: [Moblin Dev] "No space left " when install usb install image
in qemu

Hi Anderson,


anderson.huang wrote:
Hi Amano-San:

Thank you for your reply. I have two question:

1.Do you want me to check th e config by pressing "target config"
button on MIC interface or the file in
/usr/share/pdk/platforms/menlow-lpia-moblin2/initramfs/usb?
You check the following.
<project path>/targets/<target path>/config/
hd_swap_partition_size
hd_fat32_partition_size
hd_boot_partition_size

I think your problem is hd_boot_partition_size is small size. so Some
files couldn't copy to /mnt/boot/...
2.If the target configuration have problem. Why can other people
successful to install that image on their machine? We are all using
Dell Vostro 200. The hardware environment is totally the same.
menlow-lpia-moblin2 is for CrownBeach. and netbook-lpia-moblin2 is for
EeePC901(included the Atom processor) .
If you want to try to other machine, you might replace another kernel on
target environment.

Thanks,
Regards,
-Anderson




Mitsutaka Amano $B<LF;(B:
Hi Anderson,

Maybe fdisk was failed for it can't split partitions.
Please check your target config on moblin2 target environment.

Thanks,

========================================
Mitsutaka Amano
MIRACLE LINUX CORPORATION
========================================



anderson.huang wrote:
Hi:

I'm a beginner of moblin. I use ubuntu 8.04 as my host OS. After I
create an usb install image, then I try to install it in qemu by the
commands below:

#qemu-image create -f qcow2 4G
#qemu -no-acpi -m 384 -hda moblin2-test-installusb.img -hdb
moblin2_hd1.img -boot c

but in the end of the installation, I always saw this:

......
cp:writing '/mnt/boot/grub/stage1': No space left on device
Umounting partions...
error writing /etc/mtab.tmp: No space left on device
error writing /etc/mtab.tmp: No space left on device
error writing /etc/mtab.tmp: No space left on device
umount: /tmp/install:device is busy
install Successfully
......

When I try to boot the system, it stop in "Boot from Hard Disk...".
And I found that, the virtual disk image file of that VM is just 36k.
Could anyone give me some advice,please? I also tried it on Fedora 9,
fail also. I got the same error. I have reinstall OS for many times,
almost going crazy. . Please help me! Thank you very much!

PTW: The usb install image can be installed successfully on other
people's machine. We all use the same machine in our office: Dell
Vostro 200.

Regards,
-Anderson

_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
https://lists.moblin.org/mailman/listinfo/dev or your user account on
http://moblin.org once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
https://lists.moblin.org/mailman/listinfo/dev or your user account on
http://moblin.org once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists
---------------------------------------------------------------------
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen Germany
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer
Registergericht: Muenchen HRB 47456 Ust.-IdNr.
VAT Registration No.: DE129385895
Citibank Frankfurt (BLZ 502 109 00) 600119052

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.




_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
https://lists.moblin.org/mailman/listinfo/dev or your user account on 
http://moblin.org once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to