ASUS MeMO Pad 7 (ME176CX): Linux Deploy, FAT32 and mountpoints - MeMO Pad 7 Q&A, Help & Troubleshooting

Hi,
Currently I am playing around wth an app called "Linux deploy" which creates
an chrooted Linux environment.
Due to storage space constraints, I've put the Linux system on the external
storage (SDcard).
Linux deploy creates a file on the SDcard containing the ext4 filesystem,
put all files of the Linux system into it, mounts the file via loop device
and Voila! .... Huston, we have a running Linux.
BUT:
On a FAT32 filessystem a file cannot be larger than 4GB in size.
This is damn small for a Linux...especially when it comes to add
more applications. The installed Unix is ARCH Linux with a LXDE
desktop by the way. And only very few additions applications
are installed. gcc is missing for example. A *must* in my case...
Is there any way (preferable without changing androids system
files) to get Android to mount anything else than FAT32 as
Removable/MicroSD?
Or is there any other way around this?
Thank you very much in advance for any help!
Best regards,
tuxic

deleted

Related

How to partition SD card for Android?

Can anyone make a tutorial that shows how to partition SD card for the Android Eclair for Kaiser -- Dark Themed ? Please, greatly appricated if you did =]
Moved as not ROM Development.
Think your best bet is to PM one of the peeps releasing builds to ask if they can? or ask in one of the numerous droid threads.
I suggest using Gparted.
As I understand, Android can read ext2, which is light years ahead of fat32.
Warning: The following assumes that Andriod's file system and base operation operates like GNU/Linux
I'm not sure this will work... or how to get android to do this... but:
In GNU/linux, you would make a line in /etc/fstab for the device, unless it is handled by an automounter they designed.
Anyway, you can resize the fat32 to two partitions, and you should be able to make a 2ndary partition on the SD for linux.
I assume you are running windows, so to run Gparted, you will need to use the Live CD.
http://gparted.sourceforge.net/download.php
A sample fstab line:
Code:
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=7d126676-b613-457f-b50f-5f69929b06d6 / ext3 errors=remount-ro 0 1
/dev/sda6 /home ext4 errors=remount-ro 0 1
I'd assume they have some sort of andriod application that opens a terminal with bash, or edit the /etc/fstab by some other means.
Best of luck!
Or you can just do this in Fat32
http://forum.xda-developers.com/showthread.php?t=267475
Thanks for the attempt at an explanation. I'm in the same boat as the original poster. I think the problem is that Android is currently running from my SD card on my Tilt, so I don't know if it's possible to partition the card while Android is running.
I've got a Windows 7 PC at home, and I can boot it from a Linux CD if needed... but I'm a total Linux NEWB. I'd really appreciate it if someone can point me to instructions for how to partition a 4 GB SD card to accommodate an Androd build along with being accessible form Windows Mobile.
Can someone give an overview of the process and maybe some partition size guidelines?
Thanks,
-Brett.
Google Can
Gparted is good, it lets you resize partitions without formating them. It's part of the Ubuntu live cd's.
http://gparted.sourceforge.net/larry/resize/resizing.htm

[Q] Ext3 Partitioning Mac

Hey xda, I'm confused about the whole partitioning of sdcards to ext2/ext3/ext4... I'm trying to figure out exactly how it's used with A2SD, the size of each partition, and how to partition it using a Mac... Any walkthroughs would be really appreciated!
Why don't you just partition it from the phone in recovery? Copy everything off, repartition, and copy everything back to the fat partition.
As to your question, I don't own a mac so I don't know what options are there in a stock environment, but there are boot discs available with gparted if not even a native OSX client.
Being a geek, even before I was a full time Linux user, I always had a live CD to help recover computers after something bad happened. Just download Ubuntu and boot into the environment and open gparted and the rest is easy.
The size is up to you, usually people just do 1gb. The layout should be fat followed by the ext partition.
evilkorn said:
Why don't you just partition it from the phone in recovery? Copy everything off, repartition, and copy everything back to the fat partition.
As to your question, I don't own a mac so I don't know what options are there in a stock environment, but there are boot discs available with gparted if not even a native OSX client.
Being a geek, even before I was a full time Linux user, I always had a live CD to help recover computers after something bad happened. Just download Ubuntu and boot into the environment and open gparted and the rest is easy.
The size is up to you, usually people just do 1gb. The layout should be fat followed by the ext partition.
Click to expand...
Click to collapse
So the option to repartition using CWM 3 will partition my sd card to ext3? What options should I choose for size and swap?

[Re-OPEN] SanDisk 64BG EXT4/exFAT N.E.A.K. Kernel

Hello,
I re-open this thread because I have new information about the compatibility of N.E.A.K. kernel with my card formatted in exFAT.
N.E.A.K. Kernel don't support this file system!!! That's the reason why my card doesn't work with...
I restart to "0" because I think the alone solution is to use EXT4 with auto-mount at boot.
@ scote (or other):
Can I use your manual mount cmd on init.d or other way?
Hello,
With n7100 international + Omega v10 (Android 4.1.2 based) + N.E.A.K. kernel v1.4x
With various µSD card (but especially with my new Sandisk UHS 64Go) I would know how to use ext4 filesystem.
After computer formatting in ext4 the card can't be really usable by phone:
- Storage menu don't see him.
- Recovery can't do anything with (mount / format)
- Some apps can see him. (like empty 64GB / or 0Gb card capacity !)
- ES Files explorer work with but by the /mnt/extsd/card directory and if no SD card in slot work to !!!
thus I expect doesn't work really
If you have any information about what work, can or can't work, or anything about filesystems, software...
Thank you
Click to expand...
Click to collapse
I had the same thing happen. I plugged it not my computers sd card reader and the computer acted as if nothing was there. I tried to force a format through DOS but it failed. Ultimately I had to buy a new MicroSD card.... Now it works.
Update: Card doesn't work with my reader/computer
What file system are you using?
Why not just use exFat? It useable on Note 2 and readable by Windows. Just make sure to use the latest TWRP for system bqckup
Re: SD Card file system usable by OS apps
You can mount ext4 file system manually if you are rooted, from a terminal or adb shell
mount -t ext4 /dev/block/mmcblk1p1 <some directory>
substitute <some directory> with the path without the <> I used /sdcard/mnt
of course if you wont be able to read the card with windows pcs
I think there might be an app to do this for you, usb mounter
Android won't mount ext4 by default.
Also, windows can't mount ext4 drives but you can use something like minitool partition wizard to reformat it to ExFAT or NTFS if you're on samsung ROMs, or Fat32 if you're using CM/AOSP ROMs.
Pongster said he'd be making a test kernel to see if he can get ext4 to auto-mount in the HyperDroid JBX thread, but that's not released yet.
You aren't using TWRP 2.4.0.0 or 2.4.0.1 by chance?
!!! Sorry, XDA doesn't mail me for new answer.
Thanks your help men
Why not just use exFat? It useable on Note 2 and readable by Windows. Just make sure to use the latest TWRP for system bqckup
Click to expand...
Click to collapse
I don't like Microsoft. If I have a Linux device like Android N7100 I want to use it the more possible with Linux environment.
I useCWM Touch v6.0.1.4-jb moded by Xiaolu. Good?
You can mount ext4 file system manually if you are rooted, from a terminal or adb shell
mount -t ext4 /dev/block/mmcblk1p1 <some directory>
substitute <some directory> with the path without the <> I used /sdcard/mnt
Click to expand...
Click to collapse
Thus can't be used like a FAT SD Card? By Samy explorer and others softs? Can't be see by system like an external card, not possible to manage it very good (capacities disponnible by exemple) ?
You aren't using TWRP 2.4.0.0 or 2.4.0.1 by chance?
Click to expand...
Click to collapse
No; why?
Re: SD Card file system usable by OS apps
Once its mounted any explorer or app dont care or know what the filesystem is
Yes, but can I will see the SD like a "normal" FAT formatted card?
I want to say, in menu/storage like a external SD?
If the card like this, have all the same functionality of FAT card, can you help to auto-mount at boot?
My card is actually broken: phone or PC won't see anything when connected
'll try with a new 64GB in few hours.
Re: SD Card file system usable by OS apps
StreamingMT said:
!!! Sorry, XDA doesn't mail me for new answer.
I don't like Microsoft. If I have a Linux device like Android N7100 I want to use it the more possible with Linux environment.
I useCWM Touch v6.0.1.4-jb moded
Click to expand...
Click to collapse
I don't see how it related. Both fat and exfat are MS. And exFat is the only option works across Note 2 Android, TWRP,Windows, and can be mounted as thumb drive (with the benefit working with > 4gb files). It's up to you if you want to get yourself into troubles by using other format.
Sent from my GT-N7100 using XDA Premium App
jackleung
I like more ext4, but apparently this is a little bit difficult to do what I want (And I think it's what broke my firts SD). Thus I'll use extFAT for my new one.
That's work perferctly! Just funny to see my new card in packging pre-formatted in extFAT...
All is good for me now, thanks you every body for your help ;p
Hello,
I re-open this thread because I have new information about the compatibility of N.E.A.K. kernel with my card formatted in exFAT.
N.E.A.K. Kernel don't support this file system!!! That's the reason why my card doesn't work with...
I restart to "0" because I think the alone solution is to use EXT4 with auto-mount at boot.
@ scote (or other):
Can I use your manual mount cmd on init.d or other way?

I Cant install Chromium OS 0.5 on Raspberry Pi 3

Hi I am so used to installing Retropie and other distros on Raspberry Pi. You get the image and put in win32 and your ready to be written.
Now I want to install Chromium OS to test out V.05
So here's what I am doing. I download the V0.5 for the 16 Gig version.
I used 7 zip extract all to folder when it does that it gives me this.
SamKinison_v0.5_Pi3_16GB.tar.xz
I then change the extention to SamKinison_v0.5_Pi3_16GB.tar.img
Write to SD using win 32 and nothing works.
So what am I doing wrong?
Hi, think you need to decompress SamKinison_v0.5_Pi3_16GB.tar.xz file with WinRAR, and then mount the img file to Win32
now when I write the ISO after running WinRaR after mounting my SD card is now write protected and cant access it ((( How can I unwrite protect it? I dont have a button hit.
Try to Reformat your SD card as fat32
It says it's write protected no physical tab is on to make write protected. I was looking at this will step 4 work?
http://www.techcloud7.org/remove-write-protection-sd-card.html
Yes?
It said it was successful then I tried to format it and it said this disk is right protected still.
did you try to delete all of the partitions on the card? and make a new one, and then format it as fat32.
How can you do that if I can't format it?
I went into disk manager and I get this: message and this is a 16 gig card so I feel like I hosed it but all I did was mount it using win32.
https://drive.google.com/file/d/0BxbcZNbmYKFKbVdRZkxPWUEwSHM/view?usp=sharing
https://drive.google.com/file/d/0BxbcZNbmYKFKaEQ5Q05raWg1bk0/view?usp=sharing
if its offline you can try diskpart command. http://www.sevenforums.com/tutorials/52129-disk-clean-clean-all-diskpart-command.html
I did exactly what you said and got this. and screen shot of the whole process I did.
DiskPart has encountered an error: The device is not ready.
See the System Event Log for more information.
https://drive.google.com/file/d/0BxbcZNbmYKFKN0U3emtLWW5Vbms/view?usp=sharing
Here is the system event log screen shot of the event it asked about too.
https://drive.google.com/file/d/0BxbcZNbmYKFKcEpaOGdPTWhzbk0/view?usp=sharing
have you tried Partition Wizard 7 or a linux computer to delete partitions and make new ones?
chras said:
have you tried Partition Wizard 7 or a linux computer to delete partitions and make new ones?
Click to expand...
Click to collapse
I don't know how to use linux to partition it. I have Ubuntu Mate 16.04 on a flash drive for a live flash OS. But if there is a easy guide like before I will try. I never tried partition wizard 7 before either.
Here is a step by step guide for you http://jsmylinux.no-ip.org/hard-drive-management/creating-partitions-with-disk-utility/
Alright with a lot of trying I finally got the card to erase and go back to normal with this format. Then ran the official sd card formatter to get it to work. This method truly works if your sd card says "write protected". Thank you.
https://drive.google.com/file/d/1arjgOt9qb4DSTYet1g-8zVxyqP9zTmFyag/view?usp=drivesdk
back to this topic I used Win RaR and extracted the Chromium OS 16 gig here. I get this one file out of the extracted file being 13 gigs its not a image. Should i change the extention to. IMG? Here is a screen shot. I don't want to write protect my SD card again lol
https://drive.google.com/open?id=0BxbcZNbmYKFKcVNJZmhIaFgwbkU
open it in WinRAR and extract the file. right click and hit "Open With" and then choose WinRAR
Try SDFormatter
http://www.trendy.co.jp/sd/en/p_formatter.html

Partitioning Internal phone storage to install linux

Hi everyone,
As Samsung recently pulled the plug for Linux on Dex support for android 10 adding to the limitation of not being able to run x86 software on linux on dex due to the arm architecture It got me thinking if I could repartition the internal storage and basically use it as an external hard drive that I could install linux on and boot into it from a computer.
I am not talking about the idea of creating a live usb like we can do with DriveDroid. I am looking for some persistence so I can save settings and some files on the linux distro too!
Thanks in advance for any ideas or suggestions!

Categories

Resources