All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hedwin Koning <hedwin.koning@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] Creating a filesystem for Real Time Linux using QEMU
Date: Tue, 17 Nov 2009 01:18:41 +0100	[thread overview]
Message-ID: <4B01EBE1.2050302@gmail.com> (raw)
In-Reply-To: <200911161134.15726.cristeab@gmail.com>

Bogdan Cristea wrote:
> On Monday 16 November 2009 10:51:33 you wrote:
>   
>> Add "rw" to your append command.
>>
>> So change it to -append "root=/dev/sda rw"
>>
>>     
>
> Thanks for the tip, it allows me to write to the virtual hard disk, but still 
> the changes are not permanent.
>
>   
Hi,

Hmm weird.

This is what I use to start qemu for 386:

    qemu -kernel bzImage.1 -hda hd.img -append "root=/dev/sda rw 
init=./init"


And this is what I use for mips emulation:

    ../repos/mipsel-softmmu/qemu-system-mipsel -M malta --kernel 
./vmlinux -hda hda256m-img -append "root=/dev/hda rw" -m 128 -nographic

In both cases any changes I make in the file system during emulation is 
persistent.

Did you also check the file permission of the virtual disk drive you are 
using? But if rw the you should have seen that the kernel is complaining
when trying to write anything to the disk.

Hedwin Koning.

  parent reply	other threads:[~2009-11-17  0:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-16  6:05 [Buildroot] Creating a filesystem for Real Time Linux using QEMU Bogdan Cristea
2009-11-16  8:51 ` hedwin.koning at gmail.com
2009-11-16  9:34   ` Bogdan Cristea
2009-11-16 19:44     ` Chris Packham
2009-11-17  0:18     ` Hedwin Koning [this message]
2009-11-17  5:22       ` Bogdan Cristea

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B01EBE1.2050302@gmail.com \
    --to=hedwin.koning@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.