From: Bogdan Cristea <cristeab@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] Creating a filesystem for Real Time Linux using QEMU
Date: Tue, 17 Nov 2009 07:22:41 +0200 [thread overview]
Message-ID: <200911170722.41426.cristeab@gmail.com> (raw)
In-Reply-To: <4B01EBE1.2050302@gmail.com>
On Tuesday 17 November 2009 02:18:41 you wrote:
> 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.
>
Well, I have tried to change the root password and add a new user and it seems
that the changes are not always recorded.
However I have just begun to play with RT Linux in QEMU, but with the latest
file system I have managed to compile I have been able to add a new user and
change the fstab file. So thank you all for your help.
prev parent reply other threads:[~2009-11-17 5:22 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
2009-11-17 5:22 ` Bogdan Cristea [this message]
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=200911170722.41426.cristeab@gmail.com \
--to=cristeab@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.