Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to setup the filesystem #31

Open
norayr opened this issue Feb 23, 2022 · 8 comments
Open

Failed to setup the filesystem #31

norayr opened this issue Feb 23, 2022 · 8 comments

Comments

@norayr
Copy link

norayr commented Feb 23, 2022

if the answer to the question

Are you installing to an SD card?

is 'n', then I always (for months) get the message:

Failed to setup the filesystem. This suggests an error in the device adaptation. Please contact the porter of the device.

What does that question mean? If I answer 'yes' then it's able to encrypt the home, but as I understand, the OS will boot from mmc in that case?

@piggz
Copy link
Contributor

piggz commented Feb 23, 2022

Are you using the latest version from a few days ago? I think i fixed this for the original PP.

What it means is this:
Be default, the image contains the location of the home partition in a file and assumes this to be the EMMC. If you answer Y, that file is modified to use the partition on the SD card block device. This allows the LVM to be set up at boot correctly.

So, you should answer N if you are booting the OS from the emmc, and Y if you are booting from SD.

@norayr
Copy link
Author

norayr commented Feb 23, 2022

hello, @piggz,
thank you for answering!
i also saw your commit but did not understand it.

still, i don't understand it.

the image i write to sdcard can be installer image, that will install the os to emmc, or to itself - to sd, right?

i cannot flash the image with the script right to emmc, right?
i can flash it only to the sdcard, then use that sdcard to boot the pinephone.

then i expect it to be able to write the os image to emmc. isn't it how it is supposed to be?

i am writing the image to the sd card, but does that mean i have no other way in that case other than booting the pinephone from sdcard?

how can i install sailfish in emmc then?

@norayr
Copy link
Author

norayr commented Feb 23, 2022

by the way i used to see you in jollafanclub irc chat, which was mirroring a telegram chat, but that chat now doesn't exist. may be it was moved to some place i don't know?

@piggz
Copy link
Contributor

piggz commented Feb 23, 2022

Ah, no, the way I work is, I boot the phpne using Jump Drive, which allows you to connect the phone to your computer and exposes the emmc directly, so the script can write directly to the emmc, not going via the sd.

See https://github.com/dreemurrs-embedded/Jumpdrive/releases ... write that image to SD, boot from it, and use flash-it to write directly to the emmc.

@piggz
Copy link
Contributor

piggz commented Feb 23, 2022

Due to changes in freenode, the #jollafanclub IRC channel will move from freenode to OFTC under #sfosfanclub.

@norayr
Copy link
Author

norayr commented Feb 23, 2022

thank you! i was able to install sailfish now.

i would do it months ago if i knew the chat location.

or maybe that should be documented.

thank you again!

@norayr
Copy link
Author

norayr commented Feb 24, 2022

can i continue the issue?

i am able now to setup sailfish, it boots, it asks for a home encryption password.

i may or may not encrypt the home, in both cases the result is the same.

then it reboots, and suggests to setup a login password/pin. then i do that, it asks to connect to wifi.

after i connect to wifi, it always dies, and reboots. it is probably not intended behaviour, sometimes it wants to go to the next screen, and hangs in between, and then boots again.

after booting i unencrypt the home (if it is encrypted), i enter login password, and i am suggested to create a jolla account or login. i login with the existing account, then it asks me to download to additional packages (i may refuse or not, doesn't matter), it asks me to pass a tutorial (i may refuse or not, doesn't matter), and then i get eventually the black screen with rotating progress bar forever.

if i connect at this point to the power, i'll get promptly 'unlock device first' message, if i disconnect, i get the sound that i have disconnected the wire.

but this rotating progress bar will be seen forever, and i never can login.

@norayr
Copy link
Author

norayr commented Feb 24, 2022

ok i found on forums that may be caused by me not having a sim card and having the modem disabled. will try to not use a login password.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants