Thanks for the guide William, i tried  it out but encountered some problems
with it ...
I have connected USB drive to the BBB and booted it normally , after that i
stared using commands you indicated for formating the hard drive :
"sudo dd if=/dev/zero of=/dev/sda bs=1024 count=1024"

"sudo fdisk /dev/sda" then "n p 1 default default , t 83 p w"

"sudo parted --script /dev/sda set 1 boot on sudo mkfs.ext4 /dev/sda1 -L
rootfs"

But i`m receiving "invalid option -- 'L'" ...
Note that i have changed 'sdc' to 'sda' , beacuse this is how it is visible
on BBB.


And in uEnv.txt (that is located /boot/uEnv.txt) file i need to add
following lines :

"
 uenvcmd=usb start;
    bootpart=0:1
    bootdir=/boot
    loaduimage=load usb ${bootpart} 0x80200000 /boot/uImage
    loadfdt=load usb ${bootpart} 0x815f0000 /boot/am335x-boneblack.dtb
    mmcroot=/dev/sda1 ro rootwait
    mmcboot=echo Booting from USB ...; run mmcargs; bootz 0x80200000 –
0x815f0000
"
It`s just the same as changes you indicated on blog , but changed "bootm"
to "bootz"


2015-08-21 18:29 GMT+02:00 William Hermans <yyrk...@gmail.com>:

> The concepts are pretty much the same, except now days you'd probably use
> bootz instead of bootm. So the mkimage step wouldn't be needed.
>
> http://www.embeddedhobbyist.com/2013/07/beaglebone-black-usb-boot/
>
> On Fri, Aug 21, 2015 at 5:23 AM, Maxim Podbereznyy <lisar...@gmail.com>
> wrote:
>
>> What's the problem to mount a hdd after Linux booted?
>> 21 Авг 2015 г. 9:53 пользователь "Tomasz Lipiński" <
>> tomasz.lipinski....@gmail.com> написал:
>>
>> Welcome,
>>>
>>> As for the beggining i would like to say tha im new to BeagleBoard
>>> enviroment , so please be patient.
>>> I`m really curious if it is possible to use external USB hard drive
>>> (with own power supply) to use as main drive after boot sequence on
>>> BeagleBoard Black rev c.
>>> I tried to follow up those instructions :
>>>
>>> https://lumpynose.wordpress.com/2014/02/10/beaglebone-black-usb-hard-drive-boot-setup/
>>> and
>>> http://blog.ippe.biz/2013/11/running-ubuntu-off-usb-hard-drive-on.html
>>> but they seem to be a little bit outdated sadly ...
>>> For now i have used following image flashed into eMMC :
>>>
>>> https://rcn-ee.com/rootfs/2015-08-17/flasher/BBB-eMMC-flasher-debian-8.1-console-armhf-2015-08-17-2gb.img.xz
>>>
>>>
>>>
>>> Any help with that matter would be much appreciated.
>>>
>>> --
>>> For more options, visit http://beagleboard.org/discuss
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "BeagleBoard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to beagleboard+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to beagleboard+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/beagleboard/peVCFCPfNr0/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Best Regards,
Tomasz Lipiński
Mobile : 500-001-420

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to