Re: [beagleboard] Re: Booting off Micro SD Card

2014-09-03 Thread Jose B Rivera


 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.


Re: [beagleboard] Re: Booting off Micro SD Card

2014-09-03 Thread William Hermans

 *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.


Re: [beagleboard] Re: Booting off Micro SD Card

2014-09-03 Thread William Hermans
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.


Re: [beagleboard] Re: Booting off Micro SD Card

2014-09-02 Thread kavitha bk
I dont think sd card permissions you can change using chmod

mmcroot=/dev/mmcblk1p2 rw you can try



On Tue, Sep 2, 2014 at 9:48 AM, Don deJuan donjuans...@gmail.com wrote:

  On 09/01/2014 08:15 PM, William Pretty Security wrote:

  You need to change the “permissions”



 chmod 777 /dev/sda1



 or



 chmod 777 /media/mydiskname







 No one could make a greater mistake than he who did nothing because he
 could do only a little.

 All that is necessary for the triumph of evil is that good men do
 nothing Edmond Burke *(1729 - 1797)*


 http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book



 *From:* beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com
 beagleboard@googlegroups.com] *On Behalf Of *Jose B Rivera
 *Sent:* Monday, September 01, 2014 10:17 PM
 *To:* beagleboard@googlegroups.com
 *Subject:* [beagleboard] Re: Booting off Micro SD Card



 I somehow figured out how to get my micro sd card to be 'sda1'. I added
 some text to it

 mmcdev=1

 bootpart=1:2

 mmcroot=/dev/mmcblk1p2 ro

 optargs=quiet



 And named it uEnv.txt

 (on the card itself)

 Now my BBB sees it as sda1. I was able to mount it to /media by making a
 directory under it and then mounted it.



 Question: How do I now use this mounted sda1?  I tried ftp upload to it
 but I get permission denied.






 On Monday, September 1, 2014 8:02:47 PM UTC-4, Jose B Rivera wrote:

 Where can I obtain an image to put on a 32gb micro sd card to then insert
 into my BBB and have it boot off of the micro sd card? (And the
 instructions to go with it?). Having my BBB recognize the 32gb card as
 external storage has become such a big problem/issue, that at this point I
 just want to boot off the card in order to use the 32gb of file space it
 affords.  All I find on the internet are confusing instructions which tend
 to mix files used to flash the emmc with instructions to boot off a
 micro-sd card.

 --
 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.

  No virus found in this message.
 Checked by AVG - www.avg.com
 Version: 2014.0.4745 / Virus Database: 4015/8138 - Release Date: 09/01/14
  --

 No virus found in this message.
 Checked by AVG - www.avg.com
 Version: 2014.0.4745 / Virus Database: 4007/8033 - Release Date: 08/14/14
 Internal Virus Database is out of date.
  --
 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.


 chmod 777 is bad advice. Figure out the real issue and solve the problem.

 --
 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.


[beagleboard] Re: Booting off Micro SD Card

2014-09-01 Thread jstampfl
You said you couldn't add the microSD card - did you follow the 
instructions at: http://elinux.org/Beagleboard:MicroSD_As_Extra_Storage

Actually, you can format the microSD card on another machine (I used 
windows xp).  Then put the uEnv.txt file in partition 0.  I you just 
formated the 32GB as one partion, then just copy the uEnv.txt file.  See 
the above webpage for the contents of the uEnv.txt file.


-- 
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.


[beagleboard] Re: Booting off Micro SD Card

2014-09-01 Thread Jose B Rivera
I somehow figured out how to get my micro sd card to be 'sda1'. I added 
some text to it 
mmcdev=1
bootpart=1:2
mmcroot=/dev/mmcblk1p2 ro
optargs=quiet

And named it uEnv.txt
(on the card itself)
Now my BBB sees it as sda1. I was able to mount it to /media by making a 
directory under it and then mounted it.

Question: How do I now use this mounted sda1?  I tried ftp upload to it but 
I get permission denied.



On Monday, September 1, 2014 8:02:47 PM UTC-4, Jose B Rivera wrote:

 Where can I obtain an image to put on a 32gb micro sd card to then insert 
 into my BBB and have it boot off of the micro sd card? (And the 
 instructions to go with it?). Having my BBB recognize the 32gb card as 
 external storage has become such a big problem/issue, that at this point I 
 just want to boot off the card in order to use the 32gb of file space it 
 affords.  All I find on the internet are confusing instructions which tend 
 to mix files used to flash the emmc with instructions to boot off a 
 micro-sd card. 


-- 
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.


RE: [beagleboard] Re: Booting off Micro SD Card

2014-09-01 Thread William Pretty Security
You need to change the “permissions”

 

chmod 777 /dev/sda1

 

or

 

chmod 777 /media/mydiskname

 

 

 

No one could make a greater mistake than he who did nothing because he could 
do only a little.

All that is necessary for the triumph of evil is that good men do nothing 
Edmond Burke (1729 - 1797)

http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book

 

From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On 
Behalf Of Jose B Rivera
Sent: Monday, September 01, 2014 10:17 PM
To: beagleboard@googlegroups.com
Subject: [beagleboard] Re: Booting off Micro SD Card

 

I somehow figured out how to get my micro sd card to be 'sda1'. I added some 
text to it 

mmcdev=1

bootpart=1:2

mmcroot=/dev/mmcblk1p2 ro

optargs=quiet

 

And named it uEnv.txt

(on the card itself)

Now my BBB sees it as sda1. I was able to mount it to /media by making a 
directory under it and then mounted it.

 

Question: How do I now use this mounted sda1?  I tried ftp upload to it but I 
get permission denied.

 

 


On Monday, September 1, 2014 8:02:47 PM UTC-4, Jose B Rivera wrote:

Where can I obtain an image to put on a 32gb micro sd card to then insert into 
my BBB and have it boot off of the micro sd card? (And the instructions to go 
with it?). Having my BBB recognize the 32gb card as external storage has become 
such a big problem/issue, that at this point I just want to boot off the card 
in order to use the 32gb of file space it affords.  All I find on the internet 
are confusing instructions which tend to mix files used to flash the emmc with 
instructions to boot off a micro-sd card. 

-- 
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.



No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4745 / Virus Database: 4015/8138 - Release Date: 09/01/14

  _  

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4745 / Virus Database: 4007/8033 - Release Date: 08/14/14
Internal Virus Database is out of date.

-- 
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.


Re: [beagleboard] Re: Booting off Micro SD Card

2014-09-01 Thread jstampfl
Check your mount options.

-- 
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.


Re: [beagleboard] Re: Booting off Micro SD Card

2014-09-01 Thread Don deJuan
On 09/01/2014 08:15 PM, William Pretty Security wrote:

 You need to change the “permissions”

  

 chmod 777 /dev/sda1

  

 or

  

 chmod 777 /media/mydiskname

  

  

  

 No one could make a greater mistake than he who did nothing because
 he could do only a little.

 All that is necessary for the triumph of evil is that good men do
 nothing Edmond Burke /(1729 - 1797)/

 http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book

  

 *From:*beagleboard@googlegroups.com
 [mailto:beagleboard@googlegroups.com] *On Behalf Of *Jose B Rivera
 *Sent:* Monday, September 01, 2014 10:17 PM
 *To:* beagleboard@googlegroups.com
 *Subject:* [beagleboard] Re: Booting off Micro SD Card

  

 I somehow figured out how to get my micro sd card to be 'sda1'. I
 added some text to it 

 mmcdev=1

 bootpart=1:2

 mmcroot=/dev/mmcblk1p2 ro

 optargs=quiet

  

 And named it uEnv.txt

 (on the card itself)

 Now my BBB sees it as sda1. I was able to mount it to /media by making
 a directory under it and then mounted it.

  

 Question: How do I now use this mounted sda1?  I tried ftp upload to
 it but I get permission denied.

  

  


 On Monday, September 1, 2014 8:02:47 PM UTC-4, Jose B Rivera wrote:

 Where can I obtain an image to put on a 32gb micro sd card to then
 insert into my BBB and have it boot off of the micro sd card? (And the
 instructions to go with it?). Having my BBB recognize the 32gb card as
 external storage has become such a big problem/issue, that at this
 point I just want to boot off the card in order to use the 32gb of
 file space it affords.  All I find on the internet are confusing
 instructions which tend to mix files used to flash the emmc with
 instructions to boot off a micro-sd card. 

 -- 
 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
 mailto:beagleboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

 No virus found in this message.
 Checked by AVG - www.avg.com http://www.avg.com
 Version: 2014.0.4745 / Virus Database: 4015/8138 - Release Date: 09/01/14

 

 No virus found in this message.
 Checked by AVG - www.avg.com http://www.avg.com
 Version: 2014.0.4745 / Virus Database: 4007/8033 - Release Date: 08/14/14
 Internal Virus Database is out of date.

 -- 
 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
 mailto:beagleboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

chmod 777 is bad advice. Figure out the real issue and solve the problem.

-- 
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.