07-25-2018, 11:00 AM | #1 |
Member
Posts: 17
Karma: 222284
Join Date: Jul 2018
Device: PW3
|
Quick help with debrick, format partition 4?
Hi,
sooo, last prime day I got a PW3, the day after it I bricked it I wanted to try chroot. First I tried Arch because I'm a dumbass - the kernel obviosly is way too old for that. Then I saw this "UPDATE" hint under the debootstrap boxes: https://wiki.mobileread.com/wiki/Deb...t_architecture Thus I made a jessie image. And here is where the fuckup happened: I connected my Kindle to usb, while the Arch image was still mounted, and excanged the image file. In the wiki it says "This seems to be safe as long as userstore is not used as USB drive" (below "Setup Chroot Environment" box: https://wiki.mobileread.com/wiki/Deb...ot_Environment ). Well I can tell you that it is certainly not safe to use it as usb drive while the image is mounted So fortunately I can still log into the kindle via serial connection, and it seems like my partition 4 got wrecked: Code:
[root@kindle root]# fsck /dev/mmcblk0p /dev/mmcblk0p1 /dev/mmcblk0p2 /dev/mmcblk0p3 /dev/mmcblk0p4 [root@kindle root]# fsck /dev/mmcblk0p1 fsck 1.41.10 (10-Feb-2009) e2fsck 1.41.10 (10-Feb-2009) /dev/mmcblk0p1: clean, 5024/14520 files, 314857/450000 blocks [root@kindle root]# fsck /dev/mmcblk0p2 fsck 1.41.10 (10-Feb-2009) e2fsck 1.41.10 (10-Feb-2009) /dev/mmcblk0p2: clean, 1084/2112 files, 35710/64000 blocks [root@kindle root]# fsck /dev/mmcblk0p3 fsck 1.41.10 (10-Feb-2009) e2fsck 1.41.10 (10-Feb-2009) /dev/mmcblk0p3 is mounted. WARNING!!! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage. Do you really want to continue (y/n)? no check aborted. [root@kindle root]# fsck /dev/mmcblk0p4 fsck 1.41.10 (10-Feb-2009) e2fsck 1.41.10 (10-Feb-2009) fsck.ext2: Superblock invalid, trying backup blocks... fsck.ext2: Bad magic number in super-block while trying to open /dev/mmcblk0p4 The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device> [root@kindle root]# I'm completely new to all this Kindle stuff, so hint would make me very happy Attached
|
07-25-2018, 11:29 AM | #2 |
Member
Posts: 17
Karma: 222284
Join Date: Jul 2018
Device: PW3
|
Sooo, I found this article: https://wiki.mobileread.com/wiki/Repartition_the_Kindle
Couldn't hold my temptation and a quick Code:
[root@kindle root]# mkfs.vfat /dev/mmcblk0p4 mkfs.vfat 2.11 (12 Mar 2005) [root@kindle root]# So I'll get KUAL und usbnetwork to work again and then make backups of all the partitions first thing Edit: In case someone has to do the same: Reset the Kindle from its device menu after formating, it fixed mounting issues for me Last edited by schuhumi; 07-25-2018 at 11:49 AM. |
Advert | |
|
07-25-2018, 12:54 PM | #3 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
There is a script posted (by me) for the purpose of making re-usable backup files of everything.
All you had to do was clear (zero) the first four sectors of /mnt/us and then re-boot the device. That way, the user store would be rebuilt with the special collection of options that it needs (which your post shows you did not do yourself). |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle PW after I. Initialize Partition Table (fdisk) and format FAT | artec | Kindle Developer's Corner | 8 | 09-20-2017 09:56 AM |
PW K5 accidentally format user partition & need help with ssh | ponso | Kindle Developer's Corner | 13 | 03-06-2013 09:31 PM |
How to copy apps from unrooted partition to a rooted partition? | fredlave | Nook Color & Nook Tablet | 2 | 06-16-2012 12:46 PM |
kindle touch partition within a partition? | geekmaster | Kindle Developer's Corner | 8 | 03-12-2012 08:53 AM |
Quick Format Question | MarcusStringer | General Discussions | 9 | 07-13-2010 04:51 AM |