View Single Post
Old 01-18-2010, 02:27 AM   #18
rogue_ronin
Banned
rogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-books
 
Posts: 475
Karma: 796
Join Date: Sep 2008
Location: Honolulu
Device: Nokia 770 (fbreader)
Workaround -- kludge actually...

If you're using a Nokia 770 with Calibre, and you've added the "Boot from MMC" option to it, you can make an ugly little workaround.

As described in this thread, Calibre attempts to send books to the system that's been cloned to the ext2 partition on the exported MMC card when you're on a Linux system. (I use Xubuntu.) Windows cannot "see" the ext2 partition.

So, if we block that partition from being automounted, Calibre will use the FAT32/FAT16 partition.

Step One: label your system partition so a UUID can be generated in Step Two. It's easy to do from gparted. Use the unmount option in gparted first! And remember to close gparted or you won't be able to mount the disk again.

Step Two: find the UUID. While you're in gparted, note the /dev path to the system partition: mine was /dev/sde2.
Code:
sudo /sbin/vol_id -u /dev/sde2
My output was:
Code:
3d273a7c-e7fc-4dd8-8ff9-5f6311103257
Step Three: create a mount point for Step Four. In your /media folder make a folder, that belongs to root, named 770_System_Disk. I did this by launching my file manager from the command line, using sudo: ie: sudo thunar. Any folder you create from that instance of your file manager will be owned by root.

Step Four: Edit your fstab file to block automounting by users. Add the following, replacing my UUID with the one you got in Step Two.

Code:
# block system partion on Nokia 770 from automounting
UUID=3d273a7c-e7fc-4dd8-8ff9-5f6311103257	/media/770_System_Disk	ext2	user,noauto,noexec,utf8	0	0
Step Five: unmount, disconnect, reconnect the 770. Calibre should see the FAT partition now.

If you're on (X/K)Ubuntu, you'll probably get a permissions complaint like I do when you reconnect, but that's just a click or two. I said this was ugly.

Linux experts, please chime in.

m a r

Last edited by rogue_ronin; 01-18-2010 at 02:32 AM.
rogue_ronin is offline   Reply With Quote