View Single Post
Old 08-17-2012, 08:28 PM   #54
e-ink
partly refreshed
e-ink could sell banana peel slippers to a Deveel.e-ink could sell banana peel slippers to a Deveel.e-ink could sell banana peel slippers to a Deveel.e-ink could sell banana peel slippers to a Deveel.e-ink could sell banana peel slippers to a Deveel.e-ink could sell banana peel slippers to a Deveel.e-ink could sell banana peel slippers to a Deveel.e-ink could sell banana peel slippers to a Deveel.e-ink could sell banana peel slippers to a Deveel.e-ink could sell banana peel slippers to a Deveel.e-ink could sell banana peel slippers to a Deveel.
 
Posts: 36
Karma: 3026
Join Date: Aug 2012
Device: It's a Sony :P prs-t1
Here is the fdisk output of my system disk (the flash memory including the partitions). I called it system disk in contrast to the external SDCard.
Quote:
Originally Posted by fdisk -l /dev/sda
Disk /dev/sda: 1958 MB, 1958739968 bytes
4 heads, 16 sectors/track, 59776 cylinders, total 3825664 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sda1 51200 71679 10240 83 Linux
/dev/sda2 71680 92159 10240 83 Linux
/dev/sda3 92160 866687 387264 5 Extended
/dev/sda4 866688 3825663 1479488 83 Linux
/dev/sda5 92176 124991 16408 83 Linux
/dev/sda6 125008 403583 139288 83 Linux
/dev/sda7 403600 424127 10264 83 Linux
/dev/sda8 424144 506111 40984 83 Linux
/dev/sda9 506128 604479 49176 83 Linux
/dev/sda10 604496 866687 131096 83 Linux
The first partition starts at sector 51200, which means there is ~51200*512b = 25MB unallocated space at the start of the disk. See also the attached screenshot of gparted for better illustration (link). So I was wondering if that area contains any sensitive data?

Please correct me if I'm wrong with the following assumptions:
My understanding of booting up linux is that the BIOS (lets call it flash ROM) loads the boot manger which loads a ramdisk with the kernel which mounts the filesystem.

uboot talks about the stock recovery here: link
So if I understand this right, pressing HOME+Menu while powering up loads the stock rescue kernel which then looks for an image (your rescue) to load from the scard!???

Going by their names, it seems like Partition 1 [RECOVERY] and Partition 2 [DIAG] might contain crucial data for booting a rescue system!?



Basically I just wanna find out which data on the flash disk should not be touched in order to be still able to boot into rescue to apply a backup.
Thats why I'm interested in how the early system start works (in particular the rescue boot)
Sorry, I feel like derailing your thread. If it is misplaced, I might just open another thread.
Attached Thumbnails
Click image for larger version

Name:	gparted.jpg
Views:	84
Size:	109.6 KB
ID:	90944  
e-ink is offline   Reply With Quote