[Voyage-linux] Raspberry install problems

Kim-man 'Punky' TSE (spam-protected)
Mon May 18 21:26:38 HKT 2015


Hi Steen,

Oh, the script does not support mmc device name (e.g. mmcblk0). You need to modify the script to add "p" in between, 
i.e. mmcblk0p1, device and partition.

Sorry on that.  And I welcome patch on this ;-).

Regards,
Punky

On 5/18/2015 9:18 PM, Steen Pedersen wrote:
> Hi
>
> I would like to use Voyage on my Raspberry 2. However, I can't get the install script to work.
> I'm using an Debian 3.2.0-4-686-pae #1 SMP Debian 3.2.65-1+deb7u2 i686 GNU/Linux system.
>
> When I start the mubox-install script I get this output. And nothing is written to the SD-card.
>
> Please help
>
> Steen
>
>
> root at debian-dell:/home/sbp# /home/sbp/Downloads/install-mubox-rpi.sh /dev/mmcblk0
> 1+0 records in
> 1+0 records out
> 512 bytes (512 B) copied, 0.000791931 s, 647 kB/s
> Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
> Building a new DOS disklabel with disk identifier 0xf6f14b8d.
> Changes will remain in memory only, until you decide to write them.
> After that, of course, the previous content won't be recoverable.
>
> Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
>
> Command (m for help): Building a new DOS disklabel with disk identifier 0x7333616f.
> Changes will remain in memory only, until you decide to write them.
> After that, of course, the previous content won't be recoverable.
>
> Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
>
> Command (m for help): Partition type:
>    p   primary (0 primary, 0 extended, 4 free)
>    e   extended
> Select (default p): Partition number (1-4, default 1): First sector (2048-15605759, default 2048): Using default value 
> 2048
> Last sector, +sectors or +size{K,M,G} (2048-15605759, default 15605759):
> Command (m for help): Selected partition 1
> Hex code (type L to list codes): Changed system type of partition 1 to c (W95 FAT32 (LBA))
>
> Command (m for help): Partition type:
>    p   primary (1 primary, 0 extended, 3 free)
>    e   extended
> Select (default p): Partition number (1-4, default 2): First sector (133120-15605759, default 133120): Using default 
> value 133120
> Last sector, +sectors or +size{K,M,G} (133120-15605759, default 15605759): Using default value 15605759
>
> Command (m for help): The partition table has been altered!
>
> Calling ioctl() to re-read partition table.
>
> WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
> The kernel still uses the old table. The new table will be used at
> the next reboot or after you run partprobe(8) or kpartx(8)
>
> WARNING: If you have created or modified any DOS 6.x
> partitions, please see the fdisk manual page for additional
> information.
> Syncing disks.
> mkfs.vfat 3.0.13 (30 Jun 2012)
> /dev/mmcblk01: No such file or directory
> mke2fs 1.42.5 (29-Jul-2012)
> Could not stat /dev/mmcblk02 --- No such file or directory
>
> The device apparently does not exist; did you specify it correctly?
> tune2fs 1.42.5 (29-Jul-2012)
> tune2fs: No such file or directory while trying to open /dev/mmcblk02
> Couldn't find valid filesystem superblock.
>
> Disk /dev/mmcblk0: 7990 MB, 7990149120 bytes
> 4 heads, 16 sectors/track, 243840 cylinders, total 15605760 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: 0x7333616f
>
>         Device Boot      Start         End      Blocks Id  System
> /dev/mmcblk0p1            2048      133119       65536  c  W95 FAT32 (LBA)
> /dev/mmcblk0p2          133120    15605759     7736320 83  Linux
> mount: special device /dev/mmcblk02 does not exist
>   % Total    % Received % Xferd  Average Speed   Time  Time     Time  Current
>                                  Dload  Upload   Total Spent    Left  Speed
> 100 42.1M  100 42.1M    0     0   176k      0  0:04:04  0:04:04 --:--:--  146k
> umount: /tmp/cf: not mounted
> mount: special device /dev/mmcblk02 does not exist
>   % Total    % Received % Xferd  Average Speed   Time  Time     Time  Current
>                                  Dload  Upload   Total Spent    Left  Speed
> 100   168    0   168    0     0    277      0 --:--:-- --:--:-- --:--:--   379
> 100 46.2M  100 46.2M    0     0  83318      0  0:09:41  0:09:41 --:--:-- 90095
> umount: /tmp/cf: not mounted
> mount: special device /dev/mmcblk01 does not exist
> mount: special device /dev/mmcblk02 does not exist
>  *** depmod 3.18.13-v7+
>  *** depmod 3.18.13+
>   % Total    % Received % Xferd  Average Speed   Time  Time     Time  Current
>                                  Dload  Upload   Total Spent    Left  Speed
>   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
> 100  9823  100  9823    0     0   3661      0  0:00:02  0:00:02 --:--:-- 20989
> mkdir: cannot create directory `/tmp/cf/boot.bak': File exists
> mv: cannot move `/tmp/cf/boot/modules' to `/tmp/cf/boot.bak/modules': Directory not empty
> mv: cannot move `/tmp/cf/boot/overlays' to `/tmp/cf/boot.bak/overlays': Directory not empty
> mv: cannot move `/tmp/cf/boot/vc' to `/tmp/cf/boot.bak/vc': Directory not empty
> umount: /tmp/cf1: not mounted
> umount: /tmp/cf: not mounted
>
> Voyage MuBox for RaspBerry Pi installed!
> root at debian-dell:/home/sbp#
>
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux


-- 
Regards,
Kim-man "Punky" Tse

* Open Source Embedded Solutions and Systems
   - Voyage Linux (http://linux.voyage.hk)
   - Voyage MPD   (http://linux.voyage.hk/voyage-mpd)
   - Voyage MuBox (http://mubox.voyage.hk)
* Voyage Store   (http://store.voyage.hk)




More information about the Voyage-linux mailing list