maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   N9, "hanging" NOKIA logo. (https://talk.maemo.org/showthread.php?t=100841)

n e w b i e 2019-09-24 09:50

N9, "hanging" NOKIA logo.
 
Hello.
On working N9 (64) as root, the command was executed
Quote:

chmod -x / usr / share / sheep startup
https://cs5-2.4pda.to/17419139.jpg
Due to extra spaces, the chmod -x command on the root directory / and all the files in it had the right to run.
When connecting in ubuntu, rootfs is not visible:
https://cs5-2.4pda.to/17421045.jpg
https://cs5-2.4pda.to/17421044.jpg
https://cs5-2.4pda.to/17421043.jpg
Please help restore the system’s functionality without reinstalling programs and settings.

Macros 2019-09-24 12:10

Re: N9, "hanging" NOKIA logo.
 
If you have access to the filesystem the solution is simple:

chmod +x / usr

With chmod -x you disallowed listing of the directory contents.
With chmod +x you allow listing them.
chmod takes each parameter as argument and tried to remove the listing right from "/" (the root directory) "usr" "share" "sheep" and "startup" files/directories. Only the first two where accessible from the root path so only these two are affected.

If you don't know how to access the filesystem of the N9 take a look here: https://wiki.maemo.org/N9/N950_Rescue_CD

Additional info: If you chmod -x on a file you forbid execution of it, so a program can not be started anymore. With chmod +x you allow it.

peterleinchen 2019-09-25 06:44

Re: N9, "hanging" NOKIA logo.
 
@macros is right.

Should be easy fixable with Rescue OS. You may also check out ubiboot by juceme.
The attempt tou made loaded the kernel and tried to run your system which is not executableable/listable anymore.

One remark: your command "only" affected the root / of your file system.
root: with great power comes great responsibility :)

n e w b i e 2019-09-25 09:12

Re: N9, "hanging" NOKIA logo.
 
Thanks for the decision, I will try.
Please tell me in the article https://wiki.maemo.org/N9/N950_Rescue_CD there are links to download "Debian Live CD" or "rescue9-binary-hybrid.iso" or "livecd9-config.7z", but they do not work, where can I get the necessary files? Thank.

aspergerguy 2019-09-25 14:05

Re: N9, "hanging" NOKIA logo.
 
Quote:

Originally Posted by n e w b i e (Post 1560554)
"rescue9-binary-hybrid.iso"

Here's a start:
https://docs.google.com/uc?id=0BxyCp...626&e=download

n e w b i e 2019-09-25 19:18

Re: N9, "hanging" NOKIA logo.
 
http://cs5-2.4pda.to/17447333.jpg
http://cs5-2.4pda.to/17447332.jpg
2 drives, should it be so?

Halftux 2019-09-27 17:06

Re: N9, "hanging" NOKIA logo.
 
Quote:

Originally Posted by n e w b i e (Post 1560562)
2 drives, should it be so?

What I know it should be 3 partitions. Here in your example the rootfs is missing.

Did the flasher were sending kernel image and initfs image successful?

With my N950 it sending the files but nothing happens. So it was only working with --enable-rd-mode --set-rd-flags=serial-console.

Did you get a warranty warning on N9?

But there should be somewhere a moslo rescue kernel with usb network and telnet from juiceme. I think this could be better.

n e w b i e 2019-09-28 15:56

Re: N9, "hanging" NOKIA logo.
 
1 Attachment(s)
Quote:

Originally Posted by Halftux (Post 1560605)
Did the flasher were sending kernel image and initfs image successful?

Yes, successfully.
Quote:

Originally Posted by Halftux (Post 1560605)
Did you get a warranty warning on N9?

Yes, I got it, here is the photo.

n e w b i e 2019-09-28 16:03

Re: N9, "hanging" NOKIA logo.
 
I have another N9. I performed on it
Quote:

chmod -x / usr / share / sheep startup
Booted into rescue9-binary-hybrid.iso and saw 2 disks. After executed the command
Quote:

flasher -F ape.bin --flash-only=rootfs -f -R
And booted into rescue9-binary-hybrid.iso and saw 3 disks (there was rootfs). But when you make a command
Quote:

flasher -F ape.bin --flash-only=rootfs -f -R
all installed applications disappear :(
And you need to restore everything that was installed :(

peterleinchen 2019-09-28 17:12

Re: N9, "hanging" NOKIA logo.
 
Oops.

I guess.your -x left your rootfs in an unvisible state. Even for exporting.
I do hpe you will be able to mount your N9 rootfs manually from PC.
Something like mount /dev/sdb1 /mnt possibly needing some flags. And you need to find correct naming for exported partition. Have a look how (under which name) home and MyDocs are exported. And /mnt is any directory where content of your N9 rootfs will be shown.
But there will be nothing because you prohibited (with chmod -x) to display any content of that directory.
And I do not know how you may achieve to set some rights to something you are not allowed to see (even as root).

You will need Google to help you out to get the right file system rights back.
Have a look here e.g.
https://unix.stackexchange.com/quest...-777-in-ubuntu
as you have another N9 with intact file system. But do not execute that command as it will try to change every file rights recursively and you only need it for the first level items.

Sorry, this is kind of vague. But I was never in such circumstance.


All times are GMT. The time now is 05:33.

vBulletin® Version 3.8.8