From: Leonardo Giordano <lgiordano@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] Simple buildroot question
Date: Mon, 14 Jul 2008 10:01:47 -0300 [thread overview]
Message-ID: <487B4E3B.9040409@gmail.com> (raw)
Hi everybody,
I have compiled a toolchain using buildroot without trouble. I am
testing it with qemu using:
qemu -hda rootfs.i386.ext2 -kernel linux-kernel-2.6.25.6-i386 -append
"root=/dev/hda"
and it works fine.
Now, I am trying to copy it to a compact flash to test it in my target
hardware (a small pc, which can boots from CF, for instance with DOS).
Then, I have the following quesitons:
1) How/what should I copy to the CF?
I created just one partition on CF, and then I did:
dd if=rootfs.i386.ext2 of=/dev/sdb1
where /dev/sdb1 is the partition on CF.
Then when I mount it, I can see the file system has been copied.
Is that ok?
2) Make it bootable
When I try to boot from it, it doesn't. It makes sense because I haven't
installed a bootloader. Then I checked the 'grub' option at menuconfig
from buildroot and re-build it fine. However I dont know how to make
grub work (who writes the MBR?). Maybe this is a grub question, but I am
sure someone in this mailing list can help.
I am not a linux expert, so maybe the solution is just there but I can't
see it!
Anyway, my congratulations to the buildroot team.
Regards,
next reply other threads:[~2008-07-14 13:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-14 13:01 Leonardo Giordano [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-07-14 13:02 [Buildroot] Simple buildroot question Leonardo Giordano
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=487B4E3B.9040409@gmail.com \
--to=lgiordano@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox