Ah, never mind seems you want to mount the whole 32GB as /var/www ?

On Wed, Sep 3, 2014 at 9:59 AM, William Hermans <yyrk...@gmail.com> wrote:

> *chmod 777 is bad advice. Figure out the real issue and solve the problem.*
>>
>
> I agree.
>
> Jose, look into the command *chown*
>
>
> On Wed, Sep 3, 2014 at 8:46 AM, Jose B Rivera <josebrivera...@gmail.com>
> wrote:
>
>> I was able to use my micro sd card as an external hard drive.
>>>
>>
>> I first did what was recommended on this series of posts, I added:
>>
>> mmcdev=1
>> bootpart=1:2
>> mmcroot=/dev/mmcblk1p2 ro optargs=quiet
>>
>> and saved it as "uEnv.txt"
>>
>> I then inserted the micro sd card into the micro sd slot and the BBB saw it 
>> as sda1. I created a directory named 'exteranal' under /media and I then 
>> mounted sda1 to media using the following:
>>
>> sudo mount -t vfat /dev/sda1 /media/external -o 
>> uid=1001,gid=1001,utf8,dmask=027,fmask=137
>>
>> I used uid and gid 1001 because that is the user I am on my BBB. I
>> initially tried 1000 but then I could not add, copy or delete files to the
>> 'external' folder. I am pretty happy with this outcome, but will be moving
>> (unmounting) my sda1 and putting it in my web server folder /var/www/
>> (mounting it there) so that I can created mysql/php websites. Thank you all
>> for being of great help. I learned a lot.
>>
>>  --
>> 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.

Reply via email to