Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 12-15-2020, 03:15 AM   #1
menneske
Enthusiast
menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.
 
menneske's Avatar
 
Posts: 45
Karma: 20564
Join Date: Feb 2009
Location: Denmark
Device: LBook (Hanlin v.3), iPad1+3, GloHD 32GB, ClaraHD 8GB, iPadPro2 512GB
Non-destructive way to grow clone FAT32 partition w/ Mac?

On an OSX.11.6 El Capitan. Could do the work on a High Sierra, if it made any difference.

- I have made an .img of my Glo HD.

- Cloning it to an SD works.

- Resizing the SD (with Paragon's Hard Disk Manager and iPartition) containing the KoboOS destroys the OS.

- Can't figure out how to clone it After resizing.

Also, it seems max size to FAT32 is 32GB... meaning larger SDs on the Glo is out. But iPartition claims that KOBO is on a Linux partition ext2FS, which has hardly any limits to size.

11 hours into this, and I am very tired. Anyone?
menneske is offline   Reply With Quote
Old 12-15-2020, 05:17 AM   #2
menneske
Enthusiast
menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.
 
menneske's Avatar
 
Posts: 45
Karma: 20564
Join Date: Feb 2009
Location: Denmark
Device: LBook (Hanlin v.3), iPad1+3, GloHD 32GB, ClaraHD 8GB, iPadPro2 512GB
https://tinymicros.com/wiki/Resize_E...tion_Under_OSX

I found this, have installed brew, but I understand too little to make it work:

Resize EXT2/EXT3 Partition Under OSX
Jump to navigationJump to search
e2fsprogs must be installed.

brew update
brew install ext2fuse
brew install Caskroom/cask/osxfuse
brew install e2fsprogs
Insert the SD card

sudo diskutil list
Find the disk number for SD card, typically last the entry

sudo diskutil unmountdisk /dev/diskX
sudo zxcat imagename.xz | dd bs=16m of=/dev/diskX
sudo diskutil unmountdisk /dev/diskX
sudo fdisk -e /dev/diskX
e 2
n
<enter>
<enter>
w
q
sudo /usr/local/Cellar/e2fsprogs/1.42.11/sbin/resize2fs -f /dev/diskXs2
sudo diskutil eject /dev/diskX

--
e2fsprogs is now at v. 1.45.6
menneske is offline   Reply With Quote
Advert
Old 12-15-2020, 05:24 AM   #3
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
the system and recovery partitions are ext, the user data partition is fat

to resize the fat partition, you can try my magic memory mod (resize variant), that way the kobo resizes it by itself

haven't updated it in ages though but if you have already a backup of your sd card, not much to lose from trying

if you have telnet/ssh access, you can use the parted binary in the resize mod to do it manually from shell (parted resize command)

kobo did update their version of busybox at some point which broke various mods of mine, magic memory might be among them

Last edited by frostschutz; 12-15-2020 at 05:27 AM.
frostschutz is offline   Reply With Quote
Old 12-15-2020, 05:27 AM   #4
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,906
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
You have this right and wrong.

The SD card in the Kobo devices contain three partition:
  • root - holds the OS. Should be 256MB in size
  • recovery - used when doing a factory reset. Should be 256MB.
  • books - Used for all the user accessible data including the books. The size is usually the rest of the card. This is the only partition visible when the device is connected to a computer.

Of the three, you only want to resize the books partition. The others could be resized, but, there is no need to. And it would be a lot more complicated.

And do the resizing after restoring the image. Any image writing tool you use will be OK with this. And the simplest way to do this is with the partition resizing from Magic Memory Upgrade Mod. You do that after you put the updated card back in the device and have checked that it is working. Just download the file from that thread, extract the KoboRoot.tgz and put that in the .kobo directory on the device. Then eject the device and let it do its stuff.
davidfor is offline   Reply With Quote
Old 12-15-2020, 11:18 AM   #5
menneske
Enthusiast
menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.
 
menneske's Avatar
 
Posts: 45
Karma: 20564
Join Date: Feb 2009
Location: Denmark
Device: LBook (Hanlin v.3), iPad1+3, GloHD 32GB, ClaraHD 8GB, iPadPro2 512GB
Quote:
Originally Posted by frostschutz View Post
the system and recovery partitions are ext, the user data partition is fat

to resize the fat partition, you can try my magic memory mod (resize variant), that way the kobo resizes it by itself

haven't updated it in ages though but if you have already a backup of your sd card, not much to lose from trying
did it a million times before I slept :-D.

If I make it work, I will make a bulldog list for other Mac-users using oldish eReader hardware without great understanding.

Last edited by menneske; 12-15-2020 at 03:34 PM. Reason: progression of events in life
menneske is offline   Reply With Quote
Advert
Old 12-15-2020, 03:33 PM   #6
menneske
Enthusiast
menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.menneske can self-interpret dreams as they happen.
 
menneske's Avatar
 
Posts: 45
Karma: 20564
Join Date: Feb 2009
Location: Denmark
Device: LBook (Hanlin v.3), iPad1+3, GloHD 32GB, ClaraHD 8GB, iPadPro2 512GB
Quote:
Originally Posted by davidfor View Post
You have this right and wrong.

The SD card in the Kobo devices contain three partition:
  • root - holds the OS. Should be 256MB in size
  • recovery - used when doing a factory reset. Should be 256MB.
  • books - Used for all the user accessible data including the books. The size is usually the rest of the card. This is the only partition visible when the device is connected to a computer.

Of the three, you only want to resize the books partition. The others could be resized, but, there is no need to. And it would be a lot more complicated.

And do the resizing after restoring the image. Any image writing tool you use will be OK with this. And the simplest way to do this is with the partition resizing from Magic Memory Upgrade Mod. You do that after you put the updated card back in the device and have checked that it is working. Just download the file from that thread, extract the KoboRoot.tgz and put that in the .kobo directory on the device. Then eject the device and let it do its stuff.
Thank you, David. Your directions and SLEEP worked. I made it work.
menneske is offline   Reply With Quote
Reply

Tags
ext2fs, fat32, kobo glo hd, partition, resizing


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
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
reformat cybook gen3 to fat32 from fat16 on a mac pinkpixie26 Bookeen 12 12-27-2009 04:37 PM


All times are GMT -4. The time now is 04:48 PM.


MobileRead.com is a privately owned, operated and funded community.