[Buildroot] Building bootable usb drive for target board with ext2

Patricia Holden patholdn at gmail.com
Sat Jun 13 01:26:33 UTC 2015


I'm getting nowhere fast.  I try running kernel command once on the target
but bzImage fails with "Error 17: Cannot mount seected partition".  Guess
I'm back to square run trying to get this thing working.

On Fri, Jun 12, 2015 at 6:43 PM, Patricia Holden <patholdn at gmail.com> wrote:

> 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/336293fc/attachment.html>


More information about the buildroot mailing list