Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

Partition and Format SDCard from Pogoplug OS on PP Mobile (2 replies)

$
0
0
Hello,

I need a little help understanding what's going on. I'm trying to partition, format and setup the debian rootfs on a SDCard straight from the default Pogoplug OS.

When I insert my SD Card, DMESG shows that it's detected.

<6>[56558.770000] mmc0: new high speed SDHC card at address e624
<6>[56558.780000] mmcblk0: mmc0:e624 SU04G 3.69 GiB
<6>[56558.780000]  mmcblk0: p1
<6>[56558.950000] EXT3-fs: INFO: recovery required on readonly filesystem.
<6>[56558.950000] EXT3-fs: write access will be enabled during recovery.
<6>[56560.040000] kjournald starting.  Commit interval 5 seconds
<6>[56560.040000] EXT3-fs: recovery complete.
<6>[56560.050000] EXT3-fs: mounted filesystem with writeback data mode.
<6>[56560.260000] kjournald starting.  Commit interval 5 seconds
<6>[56560.270000] EXT3 FS on mmcblk0p1, internal journal
<6>[56560.270000] EXT3-fs: mounted filesystem with writeback data mode.
<6>[84487.040000] mmc0: card e624 removed
<6>[84490.790000] mmc0: new high speed SDHC card at address e624
<6>[84490.800000] mmcblk0: mmc0:e624 SU04G 3.69 GiB
<6>[84490.800000]  mmcblk0: p1

However, fdisk doesn't doesn't see it so I can't partition and format it. Only my USB drive is detected.
/tmp # /sbin/fdisk -l

Disk /dev/sda: 16.0 GB, 16016998400 bytes
16 heads, 36 sectors/track, 54311 cylinders
Units = cylinders of 576 * 512 = 294912 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1               1       13696     3944430  83 Linux
/tmp #

The my.pogoplug.com service can somehow see and (auto) mount the sd card though
/tmp # df -h
Filesystem                Size      Used Available Use% Mounted on
ubi0:rootfs              97.1M     15.1M     82.0M  16% /
none                     57.9M      2.2M     55.7M   4% /tmp
/tmp/.cemnt/sda1          3.7G      2.4G      1.1G  69% /tmp/.cemnt/mnt_sda1
/tmp/.cemnt/mmcblk0p1
                          3.6G    688.9M      2.8G  20% /tmp/.cemnt/mnt_mmcblk0p1

Any suggestions? I can definitely partition/format the sdcard from ArchLinux or Debian booting from a USB stick, but looking for a more direct method of setting up a SDCard without having to use a (temp) usb debian/arch stick. Thanks

Viewing all articles
Browse latest Browse all 3247

Trending Articles