[Buildroot] Building bootable usb drive for target board with ext2
Patricia Holden
patholdn at gmail.com
Fri Jun 12 22:43:09 UTC 2015
I copied the boot directory to the USB after extracting it from rootfs.tar,
copied bzImage to /boot, and successfully got grub onto the USB device
following the grub help instructions. Then I moved the USB to my target
and powered it up. The grub prompt came up (yay, one step further!). I
tried to boot or reboot but it says my kernel is missing. Is there
something else I'm missing in my config file for buildroot? do I need to
give grub special kernel instructions?
On Fri, Jun 12, 2015 at 5:51 PM, Thomas Petazzoni <
thomas.petazzoni at free-electrons.com> wrote:
> Dear Patricia Holden,
>
> On Fri, 12 Jun 2015 17:49:57 -0400, Patricia Holden wrote:
>
> > Ok, so I'm still not quite out of the woods. I copied over the boot
> > directory from output to my usb drive, copied bzImage to usb drive. It
> > hangs on target. Do I need to edit grub files for the usb? Do I need to
> > install grub instead of copying? Sorry for such mundane questions, but
> I'm
> > just getting back into the linux world and my mind is a bit foggy.
>
> You need to install grub on your USB drive. See the instructions in the
> grub option help text, also visible at:
>
> http://git.buildroot.net/buildroot/tree/boot/grub/Config.in#n8
>
> The instructions are done on a disk image, but it can be done directly
> on a real drive in a similar way.
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150612/8d12a5ca/attachment-0002.html>
More information about the buildroot
mailing list