On 09/27/2017 12:42 PM, Reco wrote:
> On Wed, Sep 27, 2017 at 04:32:34PM +, 慕 冬亮 wrote:
>>
>> On 09/22/2017 04:02 PM, Reco wrote:
>>>
>>>
>>> Hi.
>>>
>>> On Fri, Sep 22, 2017 at 07:07:28PM +, 慕 冬亮 wrote:
qemu-system-x86_64 -kernel /boot/vmlinuz-4.12.0-1-amd64 -hda
qemu-st
On 09/22/2017 04:02 PM, Reco wrote:
>
>
> Hi.
>
> On Fri, Sep 22, 2017 at 07:07:28PM +, 慕 冬亮 wrote:
>> qemu-system-x86_64 -kernel /boot/vmlinuz-4.12.0-1-amd64 -hda
>> qemu-stretch.img -append "root=/dev/sda1 single"
One small problem I have modified, sda1 => sda.
There is no any partiti
On Wed, Sep 27, 2017 at 04:32:34PM +, 慕 冬亮 wrote:
>
>
> On 09/22/2017 04:02 PM, Reco wrote:
> >
> >
> > Hi.
> >
> > On Fri, Sep 22, 2017 at 07:07:28PM +, 慕 冬亮 wrote:
> >> qemu-system-x86_64 -kernel /boot/vmlinuz-4.12.0-1-amd64 -hda
> >> qemu-stretch.img -append "root=/dev/sda1 singl
On Fri, 2017-09-22 at 19:07 +, 慕 冬亮 wrote:
> Hi all,
>
> The image created by debootstrap does not work in the qemu
[...]
debootstrap doesn't create images, your script does - so that's where
the bug is.
Rather than trying to fix your script, why not try vmdebootstrap wh
On 22.09.2017 21:07, 慕 冬亮 wrote:
> qemu-img create $IMG 5G
> sudo mkfs.ext4 $IMG
> qemu-system-x86_64 -kernel /boot/vmlinuz-4.12.0-1-amd64 -hda
> qemu-stretch.img -append "root=/dev/sda1 single"
You have created an image without any partition table, so root should
point to /dev/sda. And, as Rec
Hi.
On Fri, Sep 22, 2017 at 07:07:28PM +, 慕 冬亮 wrote:
> qemu-system-x86_64 -kernel /boot/vmlinuz-4.12.0-1-amd64 -hda
> qemu-stretch.img -append "root=/dev/sda1 single"
>
> However, the result shows that "VFS: unable to mount root fs".
And that's exactly how it should be. I'm not sure ab
Hi all,
The image created by debootstrap does not work in the qemu
I use the following script to generate one image:
IMG=qemu-stretch.img
DIR=mount-point.dir
#qemu-img create -f qcow2 $IMG 5G
qemu-img create $IMG 5G
sudo
7 matches
Mail list logo