"mmcblk1p1 no such file or directory" or how to screw up a user for a whole night

asked 2014-11-23 05:18:01 +0300

Odorobo gravatar image

updated 2014-11-23 08:20:36 +0300

(The problem came up when i tried to load some app but it did not, showing only a white screen. So i though rebooting my phone would fix anything so that's what i did. After hitting power button again my phone won't start, showing me a logo for some seconds every 1st time i try to load it and giving me red light on a LED every 2nd.)

TL;DR: Using this guide (https://jolla.zendesk.com/hc/en-us/articles/202208763#31) to try to fix my phone. Then on a step "5. Then type this command: mount /dev/mmcblk1p1 /mnt" i stumble upon an error:

mount: mounting /dev/mmcblk1p1 on /mnt/ failed: No such file or directory

After spending most of the night googling i found nothing except for some saved by google page someone asking the same question i do but it got deleted.

So i would like to know:

a)where do i get this mmcblk1p1 file?

b)what partition is this? (yes, i've learnt a thing or two)

c) what partition is mmcblk1 and what "p1" stands for? - mmcblk1 is the partition of my external sd card

d)what partition is mmcblk0p28? - found, this is root partition

f) should i use "btrfs check --repair /dev/mmcblk0p28" like this man did: http://forum.jollausers.com/sailfish-news/jolla-phone-won't-start/

I would like someone to reply here because it seems like a lot of users happen to get those errors and the first one explaining what partitions are those two will write his name into history (and even google maybe) being the first to do so ever in one post on one cite. Thanks in advance.


The commands one must know for this:

cd - change directory, typing cd /usr/bin puts us into /usr/bin/ directory, typing just cd will bring us to the main category

ls - list files, typing this will show us all files in a directory we are currently in

mount /dev/mmcblk1 /mnt will make the contents of mmcblk1 available for browsing with ls in a /mnt/ folder. To know what to mount i suggest you to use next command

"fdisk -l" (without quotes) will show us the devices plugged to our PC (or phone in this case). That is how i found out i need to mount mmcblk1 instead of mmcblk1p1 which the guide tells to

mkdir /home/Mut@NT/shaman will create a "shaman" directory with that filepath

rm /usr/bin/recovery-menu will remove "recovery-menu" file by /usr/bin/ filepath

cp /dir from where and what you copy/ /dir to where you copy/ - copy, example: cp /mnt/recovery-menu /usr/bin/recovery-menu will copy "recovery-menu" file from /mnt/ to /usr/bin/


UPD:So it would seem now that my phone fails to see external sd card. How do i fix that? Before trying anything i have formatted it into FAT32 with fast formatting turned off. What went wrong?

UPD2: by learning about "fdisk -l" comand i have discovered my phone sees the card by "mmcblk1". I will now attempt to mount it and see what happens.

UPD3: copied the file to usr/bin, returned to the main menu and pressed "1" for factory reset. And got the same "Flashed recovery image is too old and does not support phone clearing" i had before.

UPD4: entering shell again and there is something new - there is no /mnt/ anymore

UPD5: Recreated /mnt/, mounted sd card again, went to /usr/bin/, removed "recovery-menu" and copied the one i got in my sd card. Now the console waits for me to press Enter and my phone should reboot and everything should be fine. Fingers crossed.

UPD6: HELL YEAH IT WORKS! I managed to fix my phone alone being completely alien to anything related to linux. I will leave my suffering here to help future generations and will write down the commands for the console one must know to do what i did.

Also i advise anyone having a problem like this to read this article. https://together.jolla.com/question/30822/root-and-home-disks-full-and-causing-various-problems/ Or you may end up having problems again and again with bad ending included.

edit retag flag offensive close delete

Comments

Nice contribution! already helped others.

mosen ( 2014-12-26 17:03:13 +0300 )edit

Nice to know :)

Odorobo ( 2014-12-26 18:08:30 +0300 )edit
1

Great, it works....thanks. i could restart my dead phone by this method.

Vivek ( 2014-12-27 21:03:57 +0300 )edit
1

Pleasure is all mine :3

Odorobo ( 2014-12-28 20:45:27 +0300 )edit

and now touchingwiz is also saved thanks to your hint ;) https://together.jolla.com/question/73583/my-jolla-cannot-turn-on-anymore-after-update-10-attempt/

mosen ( 2014-12-28 21:07:14 +0300 )edit