In the instructions from this article:
http:***//droidbasement.com/db-blog/?p=70
it is said that mounting the /system partition from recvovery is possible but I don't find find any option for that... So, is it a mistake or is there really an option to do it?
venezia64 said:
In the instructions from this article:
http:***//droidbasement.com/db-blog/?p=70
it is said that mounting the /system partition from recvovery is possible but I don't find find any option for that... So, is it a mistake or is there really an option to do it?
Click to expand...
Click to collapse
using a computer with adb set up, connect to usb and on computer, in command prompt, type:
adb shell mount -a
(should mount /system rw. Just did it and it did for mine)
It is possible in AmonRa's recovery. Go to console and type "mount /system" without the quotes. This can also be for "mount /sdcard" "mount /system/sd" and any partition in fstab.
FaJu said:
It is possible in AmonRa's recovery. Go to console and type "mount /system" without the quotes. This can also be for "mount /sdcard" "mount /system/sd" and any partition in fstab.
Click to expand...
Click to collapse
Hello... not on a nexus one.
A) No console on nexus recovery because
B) It has no physical keyboard.
Oh ****... I thought I was in the Dream forum. My bad!
So I guess it was just a mistake in the article and that only ADB mount will do the trick. Thanks guys
Related
Hi, i try to flash Cyan's new rom v4.0.1, but i keep getting this error message in my recover console:
E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0)
(No such file or directory)
E:Can't mount SDCARD:update.zip
Installation aborted.
After trying unsuccesfully to flash the rom, my sdcard can no longer be seen in my phone and it became write-protected, unable to move files into the sdcard. Appreciate your help....
Edit: Yeah solved this menacing but simple problem which i found out is my sd card fault. Since i couldn't access sdparted in the recovery console, i had to use Ubuntu to partition my sd card again. Sighs... now i have to replace everything back into phone. Thanks anyways for those who gave advice.
is your sdcard formatted to fat32? because /dev/block/mmcblk0p1 or /dev/block/mmcblk0 is referencing your first partition or your sdcard respectively.
you dont flash a rom in consol
you flash it from the recovery screen. you probably CAN flash it from consol, but its much easier to flash from the recovery screen. what recovery image do you have?
david1171 said:
is your sdcard formatted to fat32? because /dev/block/mmcblk0p1 or /dev/block/mmcblk0 is referencing your first partition or your sdcard respectively.
Click to expand...
Click to collapse
yes my sdcard is fat32(1st partition) and my 2nd partition is ext3 whilst the last is a linux-swap partition...
oshizzle1991 said:
you flash it from the recovery screen. you probably CAN flash it from consol, but its much easier to flash from the recovery screen. what recovery image do you have?
Click to expand...
Click to collapse
Using Cyan's Recover 1.4. How do you flash from the console? commands?
Scholesville said:
Using Cyan's Recover 1.4. How do you flash from the console? commands?
Click to expand...
Click to collapse
Have you tried using the CM Updater?
Scholesville said:
yes my sdcard is fat32 and my 1st partition is ext3.
Click to expand...
Click to collapse
Well I've Always had the best luck with my partitions in order as follows Fat32-Ext3-Linux-Swap(if you use it)
And if you still have problems this is what I do
Well I re-downloaded the update. and did this.
This is how I installed without any problems:
: rename to update.zip
: place in the root of sd card
: shut off device
: boot into recovery
: wipe (alt w)
: go to console (alt x) and hit enter
(enter)
# mount -o rw /dev/block/mmcblk0p2 /system/sd
# cd /system/sd
# rm -rf /system/sd/*
# reboot recovery
: now wipe again (alt w)
: run a filesystem check from the menu. If it tells you to run it manually,
drop to a console (alt+x) and run "e2fsck /dev/block/mmcblk0p2".
: flash
Enjoy!!
Hope this helps!!!
yourtravelboy said:
Well I've Always had the best luck with my partitions in order as follows Fat32-Ext3-Linux-Swap(if you use it)
And if you still have problems this is what I do
Well I re-downloaded the update. and did this.
This is how I installed without any problems:
: rename to update.zip
: place in the root of sd card
: shut off device
: boot into recovery
: wipe (alt w)
: go to console (alt x) and hit enter
(enter)
# mount -o rw /dev/block/mmcblk0p2 /system/sd
# cd /system/sd
Hope this helps!!!
Click to expand...
Click to collapse
The problem is i can't even mount mount my 2nd partition, and everytime i write the command > # mount -o rw /dev/block/mmcblk0p2 /system/sd < , it justs says no such file or directory found.
I also can't go into parted in the recovery console so the now the problem is i can't even reformat my card. I'm going to try Ubuntu and reformat my card and partition it again. Sighs...
please, can you tell me how did you solved it, did you use ubuntu to reformat the sdcard? thanks in advance..
q2box said:
please, can you tell me how did you solved it, did you use ubuntu to reformat the sdcard? thanks in advance..
Click to expand...
Click to collapse
Yes, since i was not able to access parted in the recovery console, my only choice was to use Ubuntu: Partition Editor. When i diagnose my sdcard, i manage to format only my ext3 partition so my fat32 remain unchanged. You need to go download Ubuntu OS, then try to install or LiveCD the Ubuntu. There is a thread under android development which will guide you on how to do this...
My in installed apps stay in the /system/sd even after i do a wipe, these apps never seem to work even when i run fix_permissions from console.
Is there a command to simply clean everything out of that partition?
I have been using parted to simply reformat that partition, but i an thinking there must be an easier way.
Thank you
ekeefe41 said:
My in installed apps stay in the /system/sd even after i do a wipe, these apps never seem to work even when i run fix_permissions from console.
Is there a command to simply clean everything out of that partition?
I have been using parted to simply reformat that partition, but i an thinking there must be an easier way.
Thank you
Click to expand...
Click to collapse
Hi, click here for instructions on how to wipe.
yeah go to consol and type this
"mount -o rw /dev/block/mmcblk0p2 /system/sd" (hit enter. ps that is a zero, not an "o"
"rm -rf /system/sd/*" (hit enter. yes you need that star thingy)
"reboot recovery"
there you go! make sure to backup all your apps using Backup for Root users via market beacause wiping your ext2/3 erases all your apps!
What is the USB mount command to mount the sd card to the computer?
adb shell ums_enable to mount
and
adb shell ums_disable to unmount
I think its enable_ums
mine works as ums_enable
Thanks guys!!
dont quote me off it!! i was going off memory, i havnt had to use that command in like months.
lol yuh david1171 had to show me cause i forgot lol.. i use ravs recovery so i dont use it either!
ums_enable
ums_disable
can anyone tell me why when i try the
Code:
mount -a
command i get the error
mount: mounting /dev/block/mmcblk0p2 on /system/sd failed: No such file or directory
Click to expand...
Click to collapse
Do you have an ext partition on your sdcard?
im sorry im mostly a noob when it comes to this... i just installed cyanogens mod, did not touch the sd card, let alone part it.
gooberguy said:
im sorry im mostly a noob when it comes to this... i just installed cyanogens mod, did not touch the sd card, let alone part it.
Click to expand...
Click to collapse
Then that is the reason you are getting that error, it is trying to mount the ext partition, which you do not have. Just ignore it and carry on
should i be ignoring though?
my cirucumstance is i'm trying to install apps2sd as well as deleting a battery stats file, both which instruct to use mount -a beforehand
gooberguy said:
should i be ignoring though?
my cirucumstance is i'm trying to install apps2sd as well as deleting a battery stats file, both which instruct to use mount -a beforehand
Click to expand...
Click to collapse
There is nothing to install for apps2sd, once you parition your sd card it's automatic
And as already mentions yes you can ignore the error, becuase it's telling you it can't mount /dev/block/mmcblk0p02 which means it can't access the 2nd partition on your sdcard, because you don't have one, so to delete batterystats.bin just use adb or console and
Code:
cd /data/system (enter)
rm batterystats.bin (enter)
and you're done
and I can't find the shorter way of mounting your SD card in your console.
I know it's something like
mount something something enable
Anyone know it?
Never mind found it but it doesn't seem to work!
My phones ****ed.
Evrytime I type in ums_enable this comes out
/dev/block/mmcblk/
And nothing happens
why not mount the usb by the recovery menu and use adb instead.
adb shell is the same thing as console.
I've never used ADB :/
Okay now it everytime I click on apply and zip from SD i get
E: Can't mount /dev/block/mmcblk0 p1 (or dev/block/mmcblk0) (no such file or directory) E: Can't mount SDCARD:
Dunno the actual command, but Amon_RA's recovery has the option build in.
I would definitley get Amon Ra's Recovery on your phone.....
From there it has an option to toggle usb on or off (which will mount your sdcard so your pc can see it)
Also it can partition your sdcard.
IMO Amon Ra's Recovery should be part of your "rooting" process.