From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] About i386 Architecture and Grub2
Date: Wed, 20 Aug 2014 14:10:13 +0200 [thread overview]
Message-ID: <20140820141013.24de59df@free-electrons.com> (raw)
In-Reply-To: <1408534632.82498.YahooMailNeo@web141703.mail.bf1.yahoo.com>
Hello,
On Wed, 20 Aug 2014 04:37:12 -0700, lee choon gay wrote:
> But the data is not persistent, anything that I save will be gone after reboot.
> I am looking for method to make the data persistent (no?ram file system).
> I try to boot up the code without using rootfs.cpio as follow.
> The code won't boot up.
>
> set default="0"
> set timeout="0"
>
> menuentry "any name" {
> ????????? Linux /boot/bzImage root=/dev/sda2 noinitrd?console=tty1
> ????????? }
>
> For your info, I use pendrive for this.
> And the bzImage and rootfs.cpio is located in partition 1 boot folder.
If you're using a root filesystem in the second partition, then there's
no point in keeping the rootfs.cpio file in the fist partition.
> File system is located in partition 2.
>
> Hope I can get some?help here.
> Thank you very much. :)
Yes, but please provide more details, like what happens when you try to
boot, and how you create your second partition exactly. With the
informations you provided, there is just no way for us to help you as
you didn't provide enough details.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2014-08-20 12:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-20 11:37 [Buildroot] About i386 Architecture and Grub2 lee choon gay
2014-08-20 12:10 ` Thomas Petazzoni [this message]
2014-08-21 2:31 ` lee choon gay
2014-08-21 13:03 ` Thomas Petazzoni
2014-08-24 9:13 ` lee choon gay
2014-08-30 6:35 ` lee choon gay
2014-08-30 7:30 ` Thomas Petazzoni
2014-08-30 14:52 ` lee choon gay
2014-08-30 7:28 ` Thomas Petazzoni
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=20140820141013.24de59df@free-electrons.com \
--to=thomas.petazzoni@free-electrons.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox