Creating a distro on a sim card

Rodney Myers rdmyers at mtpalomar.net
Sat Nov 29 23:32:58 CET 2008


On Nov 29, 2008, at 1:04 PM, Paul wrote:

>>
>> and format the 1st partition vfat, I get this error when booting
>> (using magnifying glass);
>>
>> [2.68000]    mmcblk0: error -84 sending read/write command
>> [2.68000]    buffer I/O error on device mmcblk0, logical block 0
>> [2.68500]    mmcblk0:  error -110 sending read/write command
>> [2.69000]    buffer I/O error on device mmcblk0, logical block 0
>> [8.15000]    kernel panic - not syncing: VFS: Unable to mount root fs
>> on unknown-block(179,2)
>
> What did you do to the 2nd partition? You need to format that ext2,  
> and
> put a rootfs on that.
> Judging from the last error message, there is no defined or formated  
> 2nd
> partition.
>
> Paul

2nd partition is an ext2 partition with the rootfs.*.gz untarred as  
per the wiki.

I just checked again, and this is what I have for the SD card;

I'm doing this on a Debian Stable machine


/dev/sdd1             7.8M  1.9M  5.5M  26% /home/rodney/MokoKernel
/dev/sdd2             949M  157M  745M  18% /home/rodney/Moko

fdisk -l /dev/sdd

Disk /dev/sdd: 1019 MB, 1019216384 bytes
14 heads, 45 sectors/track, 3159 cylinders
Units = cylinders of 630 * 512 = 322560 bytes

    Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1          26        8167+   6  FAT16
/dev/sdd2              27        3159      986895   83  Linux

ls -la MokoKernel/
total 1872
drwxr-xr-x  2 root   root     16384 1969-12-31 16:00 .
drwxr-xr-x 81 rodney rodney    4096 2008-11-29 11:18 ..
-rwxr-xr-x  1 root   root   1894716 2008-11-29 13:48 uImage.bin


ls -la Moko/
total 84
drwxr-xr-x 18 root   root    4096 2008-09-15 17:24 .
drwxr-xr-x 81 rodney rodney  4096 2008-11-29 11:18 ..
drwxr-xr-x  2 root   root    4096 2008-11-29 12:12 bin
drwxr-xr-x  2 root   root    4096 2008-09-15 17:25 boot
drwxr-xr-x  2 root   root    4096 2008-08-06 23:27 dev
drwxr-xr-x 46 root   root    4096 2008-11-29 12:12 etc
drwxr-xr-x  3 root   root    4096 2008-09-15 17:23 home
drwxr-xr-x  4 root   root    4096 2008-08-07 15:26 lib
drwx------  2 root   root   16384 2008-11-29 12:11 lost+found
drwxr-xr-x 10 root   root    4096 2008-09-15 17:23 media
drwxr-xr-x  3 root   root    4096 2008-11-29 12:12 mnt
drwxr-xr-x  3 root   root    4096 2008-08-06 23:28 opt
drwxr-xr-x  2 root   root    4096 2008-08-06 23:27 proc
drwxr-xr-x  2 root   root    4096 2008-11-29 12:12 sbin
drwxr-xr-x  2 root   root    4096 2008-08-06 23:27 sys
drwxrwxrwt  2 root   root    4096 2008-08-06 23:27 tmp
drwxr-xr-x 10 root   root    4096 2008-08-06 23:27 usr
drwxr-xr-x  7 root   root    4096 2008-08-06 23:26 var


Bloody wierd. Mounted, looked at, umounted, the SD card, reinserted  
into the, and it appears to be boot, but the IP address I edited into  
the "/etc/network/interfaces" card. does not appear to  have taken.

This is why it is so frustrating. One time, nothing works, then things  
start working

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://lists.openmoko.org/pipermail/community/attachments/20081129/ed687db1/attachment.pgp 


More information about the community mailing list