Active Topics

 


Reply
Thread Tools
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#11
When system boots my card is detected as
mmcblk0: mmc0:b368 SDC 7879168KiB
this can be found by typing 'dmesg' in osso-xterm right after boot. If your card is same, here is zipped MBR. unzip it and write it to card as root
Code:
dd if=8GBSDHC.bin of=/dev/mmcblkX
partition layout in both sectors and cylinders is here
Code:
Nokia-N800-26:~$ sfdisk -uS -l 8GBSDHC.bin
...
Warning: The partition table looks like it was made
  for C/H/S=*/233/20 (instead of 0/0/0).
For this listing I'll assume that geometry.
Units = sectors of 512 bytes, counting from 0

   Device Boot    Start       End   #sectors  Id  System
8GBSDHC.bin1          8192  15758335   15750144   b  W95 FAT32
                start: (c,h,s) expected (1,176,13) found (0,130,3)
                end: (c,h,s) expected (1023,232,20) found (980,232,20)
8GBSDHC.bin2             0         -          0   0  Empty
8GBSDHC.bin3             0         -          0   0  Empty
8GBSDHC.bin4             0         -          0   0  Empty
Nokia-N800-26:~$ sfdisk -l 8GBSDHC.bin
...
Warning: The partition table looks like it was made
  for C/H/S=*/233/20 (instead of 0/0/0).
For this listing I'll assume that geometry.
Units = cylinders of 2385920 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
8GBSDHC.bin1          1+   3381-   3380-   7875072    b  W95 FAT32
                start: (c,h,s) expected (1,176,13) found (0,130,3)
                end: (c,h,s) expected (1023,232,20) found (980,232,20)
8GBSDHC.bin2          0       -       0          0    0  Empty
8GBSDHC.bin3          0       -       0          0    0  Empty
8GBSDHC.bin4          0       -       0          0    0  Empty
Attached Files
File Type: zip 8gb.zip (179 Bytes, 196 views)
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 

The Following 2 Users Say Thank You to fanoush For This Useful Post:
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#12
Originally Posted by GeraldKo View Post
What does one do to "save a master boot record with partition table"?
It is the first sector on disk/card. As root copy it to file like:
Code:
dd if=/dev/mmcblk0 of=my4gbsandisk.bin bs=512 count=1
This makes copy of master boot record of card in internal slot to my4gbsandisk.bin file (1 sector of 512 bytes), store it somewhere safe (not to the card itself :-)

you can later restore it by switching if (input file) and of (output file) arguments in the dd command above
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 

The Following 2 Users Say Thank You to fanoush For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 11:45.