Backup Linux Deploy running on Ext4 (SD Card) Partition - Galaxy Tab 3 Q&A, Help & Troubleshooting

Hi guys,
I've been using Linux Deploy on my Gaslaxy Tab (GT-P5220) for a while now, however have only just deviced to give it a go on an Ext4 partition on my SD card, which works great!
I'm wanting to back up EVERYTHING in this partition, so as, in the event something goes wrong, I can simply re-partition/format my SD card and transfer the data across, and hopefully start up my Linux without any fuss.
Anyone able to suggest the best way of doing this?
Cheers!

TabbyTabGuy said:
Hi guys,
I've been using Linux Deploy on my Gaslaxy Tab (GT-P5220) for a while now, however have only just deviced to give it a go on an Ext4 partition on my SD card, which works great!
I'm wanting to back up EVERYTHING in this partition, so as, in the event something goes wrong, I can simply re-partition/format my SD card and transfer the data across, and hopefully start up my Linux without any fuss.
Anyone able to suggest the best way of doing this?
Cheers!
Click to expand...
Click to collapse
Greetings,
Thank you for using XDA Assist. To get you the expert help you need, I'm going to move your thread to the specific Q&A forum for your device. Good luck!

Related

new sd card;)

Hey guys,
I have just bought a new sd card and i just wondered, will i have to reflash the rom when i insert a new sd card, because i have an ext4 partition for my applications.. What is the actual process for applying a new sd card to a custom rom with apps to sd ext4 parition?
Cheers
JD
You can jump into Linux, partition the new card as required, and move the data from your old card's ext partition to the new card's, and all should work well. Alternatively, you can back up all your apps using Titanium Backup, format the new SD card in recovery, boot up, install Titanium, and restore your apps using that.
wich card do you bought? i was actually looking for a 16gb class 4 by Sandisk, with USB reader. price=80 euros with home delivery.
Just bought a class 2 16gb san disk, 34.99 play.com with free delivery,
Cheers prof,
Do I use gparted?
JD
GPartEd will work brilliantly.
JupiterDroid said:
Hey guys,
I have just bought a new sd card and i just wondered, will i have to reflash the rom when i insert a new sd card, because i have an ext4 partition for my applications.. What is the actual process for applying a new sd card to a custom rom with apps to sd ext4 parition?
Cheers
JD
Click to expand...
Click to collapse
Please direct this questions to the general section, developer expertise isn't really required to answer those.
The Professor said:
You can jump into Linux, partition the new card as required, and move the data from your old card's ext partition to the new card's, and all should work well. Alternatively, you can back up all your apps using Titanium Backup, format the new SD card in recovery, boot up, install Titanium, and restore your apps using that.
Click to expand...
Click to collapse
Dont you need reinserting the titbackup folder bk on new sdcard before one can restore the apps?
deovferreira said:
Please direct this questions to the general section, developer expertise isn't really required to answer those.
Click to expand...
Click to collapse
Mate, will you kindly get off your high horse and use your comments and energy for more constructive issues, I needed a question answered, and it was, I cant help it if people keep continuing this thread.
and it does need dev attention because it was regarding a partition that is new to us desire owners, ext4,
So let the moderators moderate please and use your energy in a more kind productive fashion,
Cheers,
JD
Jagdish84 said:
Dont you need reinserting the titbackup folder bk on new sdcard before one can restore the apps?
Click to expand...
Click to collapse
Well, yes, but I assumed that was understood. You need to restore the entirety of the contents of your SD card once partitioned for Titanium Backup to find the backups and restore them.
Understood fine prof
JD
JupiterDroid said:
Mate, will you kindly get off your high horse and use your comments and energy for more constructive issues, I needed a question answered, and it was, I cant help it if people keep continuing this thread.
and it does need dev attention because it was regarding a partition that is new to us desire owners, ext4,
So let the moderators moderate please and use your energy in a more kind productive fashion,
Cheers,
JD
Click to expand...
Click to collapse
I am sorry if I offended you, it was not my intention at all. It's just that the desire development is getting some momentum and things should be organized a little better in this forum.
And I am using my energy just fine, thank you.

Partioning new SD Card with S-OFF?

So I bought a new card (16gb) and none of the ways I have partitioned cards in the past are working...
ROM Manager can't do it, and in ADB it keeps coming up with ~#. I'm slightly lost on what I can do, it seems to be running everything just fine without partitioning, but I was under the impression that I had to partition in order to run CM7?
I swear I'm not this much of a noob.
Not sure how to partition, however...
Since I don't know how to do that, I'm assuming I haven't. But I AM running CM7.
missxoash said:
So I bought a new card (16gb) and none of the ways I have partitioned cards in the past are working...
ROM Manager can't do it, and in ADB it keeps coming up with ~#. I'm slightly lost on what I can do, it seems to be running everything just fine without partitioning, but I was under the impression that I had to partition in order to run CM7?
I swear I'm not this much of a noob.
Click to expand...
Click to collapse
You don't have to partition unless you plan on using a2ext, using part of your sd-card as your /system partition. If you've happily got all the apps you want and aren't getting "low space" warnings, you shouldn't have to worry with it.
beartard said:
You don't have to partition unless you plan on using a2ext, using part of your sd-card as your /system partition. If you've happily got all the apps you want and aren't getting "low space" warnings, you shouldn't have to worry with it.
Click to expand...
Click to collapse
I hope you meant /data/app
You don't need s off to do the sd card. It should work through rom manager, but if not, and you use linux (ubuntu, debian, fedora, etc.), you can use gparted to partition it.
Sent from my T-Mobile myTouch 3G Slide
MusicMan374 said:
I hope you meant /data/app
You don't need s off to do the sd card. It should work through rom manager, but if not, and you use linux (ubuntu, debian, fedora, etc.), you can use gparted to partition it.
Sent from my T-Mobile myTouch 3G Slide
Click to expand...
Click to collapse
Is there anyway to make by default install all my new apps into new external partition?
missxoash said:
So I bought a new card (16gb) and none of the ways I have partitioned cards in the past are working...
ROM Manager can't do it, and in ADB it keeps coming up with ~#. I'm slightly lost on what I can do, it seems to be running everything just fine without partitioning, but I was under the impression that I had to partition in order to run CM7?
I swear I'm not this much of a noob.
Click to expand...
Click to collapse
Use a Ubuntu Live CD and plug the SD Card into your comp using the USB adapter. The live CD can format the SD card into different partitions and the live CD also won't mess up your existing PC configuration. Hope this helps

[Q] SD card failure.

Folks,
My HTC Desire suddenly stopped working today and wouldn't boot up at all. In the end I managed to diagnose it to a catastrophic SDcard failure. I can't event reformat it on a Windows system, just nada.
Luckily I had a spare SDcard, albeit small and slow.
So the question is: Is there an easy way to "get all the apps"/Sync back from the market. I'd used the Gingerbread move to SDcard for the apps so they're not there anymore, well some bits are ;-)
Apologies if this is answered elsewhere, a quick check didn't find it.
Thanks
Colin
There isn't really a quick way other than titanium backup. Just go through the market
Sent from RCMixS
Meaple said:
There isn't really a quick way other than titanium backup. Just go through the market
Sent from RCMixS
Click to expand...
Click to collapse
And, if you use Ti, the backup is on the SD card!
Thanks,
I ended up giving up and doing market re-downloads.
Any advice on the "ideal" partitions for the new SDcard (for CM7) ? I have a linux system so can use gparted.
The new card is a class 10, 16GB with 512MB ext and the remainder /sdcard. I just did a quick and dirty ClockworkMod partition.
Any thoughts ?
Colin

Tutorial or guide for upgrading MicroSD card??

Just wondering if there is a guide out there for the proper way to upgrade your MicroSD card without losing settings and programs? My card is currently partitioned and I am running MidNight ROM 5.5. I have the latest Bonsai as my recovery tool.
As I recall, there is more to it than just copying the data from one card to another because of the hidden partitions or whatnot. Maybe I'm wrong though. TIA for your help.
no? You don't need to do anything special...copying the data over should be good enough. If your really that paranoid you could dd the old card to the new one.
Format the new one on your pc. The phone doesn't always do a great job.
Don't forget to show hidden files on your windows machine. I think the mount points your partition will be hidden. Not sure if you will have to repartition or not. Best advice I can think of is to ask the dev of your kernel. I could wrong.
Sent from my lean mean drunken machine useing XDA Premium and a 12 pack of Sam Lager

[Q] Running out of Space, Symlinks and Installing Apps to SDcard

Due to size limitations (GPads only coming in 16gb varieties) I am beginning to run low on space on my Gpad (v500 running cm11). However I have a 64gb microSD card and I would like to use this as much as I can to conserve space on the internal memory.
There are a few ways to solve this but I not fully know how to do this.
Firstly, is it possible install apps to microSD card? If so, how? I know some devices support this and some do not. My phone for example does not but I have heard that some people have had success with this.
Next, there are some rather large folders on my internal storage that I would like move to my sdcard however the apps that use those folder can only read them where they are currently located (cmupdates, ebooks, etc).
I read about symlinks and managed to make a few but the only place I was able to make a symlink was to /data/media/0. But the changes to that do not show up the apps which I believe read either /sdcard or /storage/emulated/0. And for my SDcard I can get to it either in /mnt/media/sdcard1 or through /storage/sdcard1.
I tried and succeeded in making a link between /mnt/media/sdcard1/eBooks and /data/media/0/eBooks however the link does not show up in /sdcard or /storage/emulated/0 and it does not show up in the apps, leading me to believe that is where the apps read the sdcard from.
If anyone can answer the above two questions or give any other suggestions for maximizing available space on my internal card please let me know.
Thank you!
I think most of your issues could be resolved with Link2SD (under 10 posts, can't post a link to Google Play).
You can also use an app called Foldermount. It's only $.99 ( if I recall correctly) for the unlocked version. This allows you to move any folder to SD card. I like it as it guides you thru the way and will move the data for you as well. Latest version has been updated to allow apps from play store to install properly. Well worth the $1 price.
mzfckr993 said:
I think most of your issues could be resolved with Link2SD (under 10 posts, can't post a link to Google Play).
Click to expand...
Click to collapse
cbb77 said:
You can also use an app called Foldermount. It's only $.99 ( if I recall correctly) for the unlocked version. This allows you to move any folder to SD card. I like it as it guides you thru the way and will move the data for you as well. Latest version has been updated to allow apps from play store to install properly. Well worth the $1 price.
Click to expand...
Click to collapse
Thanks guys! Looks like using these two combined I can get exactly what I wanted. I'll use link2SD to put apps on the SD card and Foldermount to move the other folders I want moved.
Thanks again!
Can you let me know if this works for you? I can't get mine to read or write my SD card at all! I can't even move a picture from my Box cloud account to the SD card. Are you experiencing this? Or did I get a bad unit?
1barlog17 said:
Can you let me know if this works for you? I can't get mine to read or write my SD card at all! I can't even move a picture from my Box cloud account to the SD card. Are you experiencing this? Or did I get a bad unit?
Click to expand...
Click to collapse
These solutions did work for me, I am still tweaking to get it the way I like it especially since every time I update my Rom Link2SD has to generate new scripts. I can ready and write to the SD card just fine and I could before I started using this as well. I am not sure why you aren't able to write to your sd card. Could it be a bad SD card? Try plugging it into your computer.
I've tried 2 different SD cards both of which I can move files to and from on my computer. So I know it's not the card. I'm thinking maybe I should exchange it out for another day one...
1barlog17 said:
I've tried 2 different SD cards both of which I can move files to and from on my computer. So I know it's not the card. I'm thinking maybe I should exchange it out for another day one...
Click to expand...
Click to collapse
Probably... That sounds like a device issue not card.
How are the cards formatted?
The ROM you are using may not support the format.
1barlog17 said:
I've tried 2 different SD cards both of which I can move files to and from on my computer. So I know it's not the card. I'm thinking maybe I should exchange it out for another day one...
Click to expand...
Click to collapse
C0BRA01 said:
How are the cards formatted?
The ROM you are using may not support the format.
Click to expand...
Click to collapse
I'm not sure I just put the card in my computer and clicked format SD card. I'm not rooted or running any special ROM, it's completely stock out've the box.
Well, if you did it from your PC, it may be formatted NTFS, and you need them formatted FAT 32. Get it here; http://www.partitionwizard.com/free-partition-manager.html Not only allows formatting almost any format xFAT, Fat32, NTFS, etc.. and you can partition them also which is not supported by Windows, but IS supported by most Android ROMs. I doubt there is anything wrong with your device.
1barlog17 said:
I'm not sure I just put the card in my computer and clicked format SD card. I'm not rooted or running any special ROM, it's completely stock out've the box.
Click to expand...
Click to collapse
C0BRA01 said:
Well, if you did it from your PC, it may be formatted NTFS, and you need them formatted FAT 32. Get it here; http://www.partitionwizard.com/free-partition-manager.html Not only allows formatting almost any format xFAT, Fat32, NTFS, etc.. and you can partition them also which is not supported by Windows, but IS supported by most Android ROMs. I doubt there is anything wrong with your device.
Click to expand...
Click to collapse
Thanks for the tip, this makes me feel a little better about my purchase, I'll give it a try. I'm also thinking of buying a 64gb San Disk card and hopefully it will just work with a brand new one.
These solutions did work for me, I am still tweaking to get it the way I like it especially since every time I update my Rom Link2SD has to generate new scripts. I can ready and write to the SD card just fine and I could before I started using this as well. I am not sure why you aren't able to write to your sd card. Could it be a bad SD card? Try plugging it into your computer.
Lucien2 said:
These solutions did work for me, I am still tweaking to get it the way I like it especially since every time I update my Rom Link2SD has to generate new scripts. I can ready and write to the SD card just fine and I could before I started using this as well. I am not sure why you aren't able to write to your sd card. Could it be a bad SD card? Try plugging it into your computer.
Click to expand...
Click to collapse
I have been trying to fix the issue with Rom updates and link2sd. You have to provide the Rom (in my case cyanogenmod) a backup script so it can back up the files. I am planning on figuring it out at some point but if you get it before I do would you mind posting your script? Thanks!
Sent from my VS870 4G using XDA Premium HD app
colwellkr said:
I have been trying to fix the issue with Rom updates and link2sd. You have to provide the Rom (in my case cyanogenmod) a backup script so it can back up the files. I am planning on figuring it out at some point but if you get it before I do would you mind posting your script? Thanks!
Sent from my VS870 4G using XDA Premium HD app
Click to expand...
Click to collapse
So a follow up with this, I was able to get a script working. I don't know if this feature is unique to cyanogenmod or not but any script in /system/addon.d will execute itself during a rom install and be restored automatically if it was wiped. So using 50-cm.sh as an example I made a script called 11-link2sd.sh to perform the backup of the mount script for link2sd which is located in /system/etc/init.d/11link2sd.
I then had insert this script and my mount script into a cyanogenmod update and flash it in. But after that I tried flashing an update of cm11 to test it and it worked! Attached is my script which should also work for anyone who is able to flash it into their /system/addon.d folder.

Categories

Resources