Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] About i386 Architecture and Grub2
@ 2014-08-20 11:37 lee choon gay
  2014-08-20 12:10 ` Thomas Petazzoni
  0 siblings, 1 reply; 9+ messages in thread
From: lee choon gay @ 2014-08-20 11:37 UTC (permalink / raw)
  To: buildroot

Hi.
I use buildroot-2014.05.tar.gz to build Linux version 3.14.4 for i386 architecture.
I am able to boot up the code using Grub2 on my PC.
That is the case if I use initrd /boot/rootfs.cpio.
My grub.cfg is as follow.

set default="0"
set timeout="0"

menuentry "any name" {
????????? Linux /boot/bzImage root=/dev/sda console=tty1
????????? initrd /boot/rootfs.cpio
????????? }

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.
File system is located in partition 2.

Hope I can get some?help here.
Thank you very much. :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140820/9bd608b2/attachment.html>

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-08-30 14:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-20 11:37 [Buildroot] About i386 Architecture and Grub2 lee choon gay
2014-08-20 12:10 ` Thomas Petazzoni
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox