We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2020-03-04 20:04:52 +0200

nas gravatar image

How can I repair XperiaX filesystem from Rescue?

Hello guys,

After a pkcon update I had few problems (apps weren't starting etc) and I said to make a reboot. And I stuck at SONY screen at start, after the "unlocked bootloader" warning.

I managed to enter rescue mode (fastboot boot hybris-recovery.img), I did "4) Perform file system check" with the following results:

  Type the number of the desired action and press [Enter]: 
4
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error
  2 logical volume(s) in volume group "sailfish" now active
e2fsck 1.43.1 (08-Jun-2016)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
root: 77977/153600 files (0.6% non-contiguous), 534139/640000 blocks
e2fsck 1.43.1 (08-Jun-2016)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
home: 205986/1077216 files (1.2% non-contiguous), 4534578/4785152 blocks
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error
  0 logical volume(s) in volume group "sailfish" now active
Done
Press [Enter] to return to recovery menu...

It didn't seem to do any kind of repair after the error message, so I entered shell / ssh. From there I successfully mounted home partition which I got all the data via "cp -a" without any warning.

Now I would like to try any kind of filesystem check / repair. The Sailfish Image I downloaded 1.5 years ago is Sailfish 2.2.0.29 , I upgraded up to 3.0 ( can't remember exactly the version, for sure not the latest).

Does anyone know anything I could try? fsck seems to not work, and from lvm didn't find anything useful.

I would like to avoid the "Reset your device and spend half day on upgrades / updates / installs and restores"

How can I repair XperiaX filesystem from Rescue?

Hello guys,

After a pkcon update I had few problems (apps weren't starting etc) and I said to make a reboot. And I stuck at SONY screen at start, after the "unlocked bootloader" warning.

I managed to enter rescue mode (fastboot boot hybris-recovery.img), I did "4) Perform file system check" with the following results:

  Type the number of the desired action and press [Enter]: 
4
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error
  2 logical volume(s) in volume group "sailfish" now active
e2fsck 1.43.1 (08-Jun-2016)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
root: 77977/153600 files (0.6% non-contiguous), 534139/640000 blocks
e2fsck 1.43.1 (08-Jun-2016)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
home: 205986/1077216 files (1.2% non-contiguous), 4534578/4785152 blocks
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error
  0 logical volume(s) in volume group "sailfish" now active
Done
Press [Enter] to return to recovery menu...

It didn't seem to do any kind of repair after the error message, so I entered shell / ssh. From there I successfully mounted home partition which I got all the data via "cp -a" without any warning.

Now I would like to try any kind of filesystem check / repair. The Sailfish Image I downloaded 1.5 years ago is Sailfish 2.2.0.29 , I upgraded up to 3.0 ( can't remember exactly the version, for sure not the latest).

Does anyone know anything I could try? fsck seems to not work, and from lvm didn't find anything useful.

I would like to avoid the "Reset your device and spend half day on upgrades / updates / installs and restores"

How can I repair XperiaX filesystem from Rescue?

Hello guys,

After a pkcon update I had few problems (apps weren't starting etc) and I said thought to make a reboot. And I stuck at SONY screen at start, after the "unlocked bootloader" warning.

I managed to enter rescue mode (fastboot boot hybris-recovery.img), I did "4) Perform file system check" with the following results:

  Type the number of the desired action and press [Enter]: 
4
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error
  2 logical volume(s) in volume group "sailfish" now active
e2fsck 1.43.1 (08-Jun-2016)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
root: 77977/153600 files (0.6% non-contiguous), 534139/640000 blocks
e2fsck 1.43.1 (08-Jun-2016)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
home: 205986/1077216 files (1.2% non-contiguous), 4534578/4785152 blocks
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error
  0 logical volume(s) in volume group "sailfish" now active
Done
Press [Enter] to return to recovery menu...

It didn't seem to do any kind of repair after the error message, so I entered shell / ssh. From there I successfully mounted home partition which I got all the data via "cp -a" without any warning.

Now I would like to try any kind of filesystem check / repair. The Sailfish Image I downloaded 1.5 years ago is Sailfish 2.2.0.29 , I upgraded up to 3.0 ( can't remember exactly the version, for sure not the latest).

Does anyone know anything I could try? fsck seems to not work, and from lvm didn't find anything useful.

I would like to avoid the "Reset your device and spend half day on upgrades / updates / installs and restores"