Basically what should be content of uEnv.txt if we are mounting external SD 
card with partition type 'ext4'?

On Tuesday, September 16, 2014 11:43:15 PM UTC+5:30, sanjay ahuja wrote:
>
> Hi Robert,
>
> Do you have any pointer to steps for partitioning it as ext4. The link I 
> followed specifically mentioned that partition type must be 'FAT'. The 
> content of uEnv.txt as provided there is
> mmcdev=1
> bootpart=1:2
> mmcroot=/dev/mmcblk1p2 ro
> optargs=quiet
>
> Would it remain same if partition type is 'ext4' or some values would 
> change?
>
> On Tue, Sep 16, 2014 at 8:58 PM, Robert Nelson <[email protected]> 
> wrote:
>
>> On Tue, Sep 16, 2014 at 10:22 AM, sanjay ahuja
>> <[email protected]> wrote:
>> > Hi,
>> >
>> > I tried using microSD card as extra storage for my beaglebone black. I
>> > followed the steps as mentioned at
>> > http://elinux.org/Beagleboard:MicroSD_As_Extra_Storage.
>> >
>> > I was able to use mount microSD card successfully. However I am facing 
>> some
>> > strange issue.
>> >
>> > when I do ls -lart on the mounted drive the permissions are
>> >
>> > drwx------  5 root root 16384 Jan  1  1970 drive
>> >
>> >
>> > If I try chmod o+rx,g+rx /media/drive, to change the permissions, it 
>> does
>> > not work. No error on issuing chmod command but permission does not get
>> > change.
>> >
>> > Infact I am not even able to change the user permission for any 
>> executable
>> > file under directory 'drive'.
>> >
>> > For ex.
>> > bash-4.2# ls -lart /media/drive/jdk1.7.0_60/bin/java
>> > -rw-r--r-- 1 root root 5822 May  7 20:26 
>> /media/drive/jdk1.7.0_60/bin/java
>> >
>> > bash-4.2# chmod u+x /media/drive/jdk1.7.0_60/bin/java
>> >
>> > bash-4.2# ls -lart /media/drive/jdk1.7.0_60/bin/java
>> > -rw-r--r-- 1 root root 5822 May  7 20:26 
>> /media/drive/jdk1.7.0_60/bin/java
>> >
>> > Since 'x' permission is missing, I am not able to execute any binary 
>> file. I
>> > am logged in as root user only. The jdk directory is expanded from jdk
>> > installer zip using command
>> > tar -xvf Downloads/jdk-7u60-linux-arm-vfp-sflt --owner root --group root
>> > --no-same-owner.
>> >
>> > No issues are encountered if the jdk directory is expanded under home
>> > directory instead of SD card.
>> >
>> > The partition details for SD Card:
>> >
>> > Usage : Filesystem
>> > Partition type: W95 FAT16 (LBA) (0x0e)
>> > Type: FAT (16-bit version)
>> > Device: /device/mmcblk1p1
>> > Mount Point: Mounted at /media/drive
>>
>> re-partition it as "ext4"... fat16 doesnt' support user permissions..
>>
>> Regards,
>>
>> --
>> Robert Nelson
>> http://www.rcn-ee.com/
>>
>> --
>> 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/BGri5BFH2W4/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected].
>> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to