04-29-2020, 11:46 PM | #1 |
Junior Member
Posts: 4
Karma: 10
Join Date: Dec 2017
Device: Nook Glowlight 3
|
Reformatting Glowlight 3 usb storage
I recently had my usb storage (the emulated drive that gets exposed to the computer over USB when sideloading content) get corrupted due to a bad USB cable. Somehow, instead of just corrupting the file system, it managed to take the whole partition table with it. While I could have just factory-reset the device, I was hopping to avoid setting everything up again. Fortunately, I had access to a non-corrupted one I could use for reference. Here's what I discovered, in case it's useful for someone in a similar predicament.
The partition table is a standard MBR-style (DOS-style) partition table with a single FAT32 partition. Importantly, the partition must start on sector 1 (immediately after the MBR), otherwise it won't work. On Linux, I tried to use fdisk, but I couldn't figure out how to force it to start a partition on sector 1 (it wanted to start it on sector 2048), so I ended up using parted. Here are the steps I followed (comments in red, input in blue, output in black): Code:
# parted /dev/sdc (parted) unit s (this changes the units to sectors) (parted) mklabel msdos (parted) print Model: Linux File-CD Gadget (scsi) Disk /dev/sdc: 11439113s (this is the size of the disk in sectors) Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags (parted) mkpart primary fat32 1 11439112 (last number is disk size minus one) Warning: The resulting partition is not properly aligned for best performance. Ignore/Cancel? i (parted) quit (unlike most tools, parted writes as you go) Information: You may need to update /etc/fstab. # mkfs.vfat -n NOOK /dev/sdc1 mkfs.fat 4.1 (2017-01-24) # sync # eject /dev/sdc At this point, I rebooted the Nook and connected it back to my computer. The Nook had automatically created a few files and folders on the filesystem, and I was able to copy all of my books back over from Calibre. When I disconnected, my library was populated with my books once again, and my Nook even remembered where I was in the book I was reading. |
Tags |
glowlight 3 |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bricked and no usb storage | denmic | Kindle Developer's Corner | 3 | 05-19-2016 09:18 AM |
Nook glowlight USB problem | kevinrs | Barnes & Noble NOOK | 1 | 02-09-2016 02:10 AM |
Disabling mass storage over USB | Synthead | Kindle Developer's Corner | 2 | 07-12-2013 08:06 PM |
USB Storage deletes my library! | msxman | Kobo Tablets | 4 | 01-07-2012 05:58 PM |
USB vs CF as primary storage for Iliad? | TomJones | iRex | 14 | 06-01-2008 02:39 PM |