Thread: Aura HD Debian for Aura HD
View Single Post
Old 10-15-2014, 08:01 AM   #8
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,171
Karma: 437844
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
@AxaRu
You're probably aware, but I figured I should mention that messing with the boot and Linux image stuff is a lot riskier than anything else you could do. Make an extra backup or two of the whole internal microSD first, that kind of thing. :P

@guang6321
I'd also be really interested in the sources or configuration for the stuff you modified, especially u-boot, the kernel, and X.org. I assume the customs DEBs are simply compiled against the custom xserver without any modifications of their own? And there's also all of these fun little utilities under /opt/kobo/bin.

@Those interested in browsing the contents of the image.

Figure out the internal partitions:
Code:
$ sudo parted kobo-hd-debian-rootfs-20141013.img 
[sudo] password for blabla: 
GNU Parted 3.2
Using /home/blabla/kobo-hd-debian-rootfs-20141013.img
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) unit                                                             
Unit?  [compact]? B                                                       
(parted) print                                                            
Model:  (file)
Disk /home/blabla/kobo-hd-debian-rootfs-20141013.img: 7818182656B
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start        End          Size         Type     File system  Flags
 1      67108864B    6507462655B  6440353792B  primary  ext4
 2      6541017088B  6675234815B  134217728B   primary  fat32
 3      6708789248B  7782531071B  1073741824B  primary  fat32

(parted) quit
Okay, so the offset of the actual Debian system is 67108864. Now we can mount it:

Code:
$ mkdir mount-deb
$ sudo mount -o loop,ro,offset=67108864 kobo-hd-debian-rootfs-20141013.img mount-deb
Be sure to take a look at /opt/kobo.
Frenzie is offline   Reply With Quote