[OpenTRV-dev] squashfs

Bo Herrmannsen EMAIL ADDRESS HIDDEN
Wed Apr 10 23:26:45 BST 2013


here is the complete process… it changed number from 4 to 5 after dd…:

Bos-Mac-Pro:~ boherrmannsen$ df -h
Filesystem      Size   Used  Avail Capacity  Mounted on
/dev/disk2s2   465Gi  153Gi  312Gi    33%    /
devfs          204Ki  204Ki    0Bi   100%    /dev
map -hosts       0Bi    0Bi    0Bi   100%    /net
map auto_home    0Bi    0Bi    0Bi   100%    /home
/dev/disk0s2   931Gi  908Gi   23Gi    98%    /Volumes/Itunes
/dev/disk3     1.9Gi  4.7Mi  1.9Gi     1%    /Volumes/-TINA-S IPO
/dev/disk1s1   100Mi   25Mi   75Mi    25%    /Volumes/Reserveret til systemet
/dev/disk1s2   116Gi   84Gi   33Gi    72%    /Volumes/Untitled
/dev/disk1s3   117Gi   81Gi   35Gi    70%    /Volumes/Untitled 1
/dev/disk4s1    56Mi   17Mi   39Mi    30%    /Volumes/Untitled 2
Bos-Mac-Pro:~ boherrmannsen$ sudo diskutil unmount /dev/disk4s1
Password:
Volume (null) on disk4s1 unmounted
Bos-Mac-Pro:~ boherrmannsen$ cd desktop
Bos-Mac-Pro:desktop boherrmannsen$ sudo dd bs=1m if=emoncmspi.img of=/dev/disk4
                                                                               
Broadcast Message from EMAIL ADDRESS HIDDEN                        
        (no tty) at 0:22 CEST...                                               
                                                                               
Apr 11 00:22:10 Bos-Mac-Pro kernel[0]:                                         
                                                                               
                                                                               
Broadcast Message from EMAIL ADDRESS HIDDEN                        
        (no tty) at 0:22 CEST...                                               
                                                                               
Apr 11 00:22:10 Bos-Mac-Pro kernel[0]:                                         
                                                                               
                                                                               
Broadcast Message from EMAIL ADDRESS HIDDEN                        
        (no tty) at 0:22 CEST...                                               
                                                                               
Apr 11 00:22:13 Bos-Mac-Pro kernel[0]:                                         
                                                                               
1886+0 records in
1886+0 records out
1977614336 bytes transferred in 1111.628898 secs (1779024 bytes/sec)
Bos-Mac-Pro:desktop boherrmannsen$ df -h
Filesystem      Size   Used  Avail Capacity  Mounted on
/dev/disk2s2   465Gi  153Gi  312Gi    33%    /
devfs          205Ki  205Ki    0Bi   100%    /dev
map -hosts       0Bi    0Bi    0Bi   100%    /net
map auto_home    0Bi    0Bi    0Bi   100%    /home
/dev/disk0s2   931Gi  908Gi   23Gi    98%    /Volumes/Itunes
/dev/disk3     1.9Gi  4.7Mi  1.9Gi     1%    /Volumes/-TINA-S IPO
/dev/disk1s1   100Mi   25Mi   75Mi    25%    /Volumes/Reserveret til systemet
/dev/disk1s2   116Gi   84Gi   33Gi    72%    /Volumes/Untitled
/dev/disk1s3   117Gi   81Gi   35Gi    70%    /Volumes/Untitled 1
/dev/disk5s1    56Mi   17Mi   39Mi    30%    /Volumes/Untitled 2
Bos-Mac-Pro:desktop boherrmannsen$ sudo diskutil eject /dev/disk5
disk5    disk5s1  disk5s2  
Bos-Mac-Pro:desktop boherrmannsen$ sudo diskutil eject /dev/disk5
Password:
Disk /dev/disk5 ejected
Bos-Mac-Pro:desktop boherrmannsen$ 
Den 10/04/2013 kl. 23.51 skrev Stuart Poulton:

> You are ejecting the device after the dd ?
> 
> 
> On 10 Apr 2013, at 22:40, Bo Herrmannsen wrote:
> 
>> no boot :-(
>> 
>> Den 10/04/2013 kl. 23.26 skrev Stuart Poulton:
>> 
>>> Ok.
>>> 
>>> Try 
>>> 
>>> sudo dd if=path_of_your_image.img of=/dev/diskn bs=1m
>>> 
>>> Basically what you've previously done but with diskn not rdiskn
>>> 
>>> 
>>> 
>>> On 10 Apr 2013, at 22:24, Bo Herrmannsen wrote:
>>> 
>>>> Bos-Mac-Pro:~ boherrmannsen$ ls -l /dev/disk4
>>>> brw-r-----  1 boherrmannsen  operator   14,  11 10 Apr 23:23 /dev/disk4
>>>> Bos-Mac-Pro:~ boherrmannsen$
>>>> 
>>>> 
>>>> Den 10/04/2013 kl. 23.21 skrev Stuart Poulton:
>>>> 
>>>>> Long shot
>>>>> 
>>>>> Can you paste the output of 
>>>>> 
>>>>> ls -l /dev/disk4 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>>>>> sudo dd bs=1m if=emoncmspi.img of=/dev/rdisk4
>>>>> 
>>>>> 
>>>>> On 10 Apr 2013, at 22:18, Bo Herrmannsen wrote:
>>>>> 
>>>>>> the message was to big… over 40 kb….
>>>>>> 
>>>>>> trying to put them i dropbox
>>>>>> 
>>>>>> Den 10/04/2013 kl. 23.05 skrev Stuart Poulton:
>>>>>> 
>>>>>>> Are you sure it's still /dev/rdisk4 ?
>>>>>>> 
>>>>>>> Stuart
>>>>>>> On 10 Apr 2013, at 21:59, Bo Herrmannsen wrote:
>>>>>>> 
>>>>>>>> so i tried to format it in diskutil and then run it all again…. did not work:
>>>>>>>> 
>>>>>>>> sudo dd bs=1m if=emoncmspi.img of=/dev/rdisk4dd: /dev/rdisk4: Device not configured
>>>>>>>> 277+0 records in
>>>>>>>> 276+0 records out
>>>>>>>> 289406976 bytes transferred in 26.220936 secs (11037248 bytes/sec)
>>>>>>>> 
>>>>>>>> /bo
>>>>>>>> 
>>>>>>>> 
>>>>>>>> Den 10/04/2013 kl. 22.26 skrev Stuart Poulton:
>>>>>>>> 
>>>>>>>>> Try the instructions listed here
>>>>>>>>> 
>>>>>>>>> http://elinux.org/RPi_Easy_SD_Card_Setup#Copying_an_image_to_the_SD_card_in_Mac.C2.A0OS.C2.A0X_.28command_line.29
>>>>>>>>> 
>>>>>>>>> Obviously PLEASE PLEASE PLEASE make sure you get the right device.
>>>>>>>>> 
>>>>>>>>> Stuart
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> On 10 Apr 2013, at 21:17, Bo Herrmannsen wrote:
>>>>>>>>> 
>>>>>>>>>> so i came around to using DD…. but now it will still not boot on the pi…
>>>>>>>>>> 
>>>>>>>>>> i put it back in my mac but the partition is listed as inactive…. what could be wrong?
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> /bo
>>>>>>>>>> 
>>>>>>>>>> Den 10/04/2013 kl. 15.22 skrev Stuart Poulton:
>>>>>>>>>> 
>>>>>>>>>>> Bo.
>>>>>>>>>>> 
>>>>>>>>>>> you can use dd on a mac :)
>>>>>>>>>>> 
>>>>>>>>>>> Stuart
>>>>>>>>>>> 
>>>>>>>>>>> On 10/04/13 14:18, Bo Herrmannsen wrote:
>>>>>>>>>>>> i could go out an buy one so yes…. they are not that expensive…
>>>>>>>>>>>> 
>>>>>>>>>>>> but what is the for dummies step by step to write the image?
>>>>>>>>>>>> 
>>>>>>>>>>>> mvh bo
>>>>>>>>>>>> 
>>>>>>>>>>>> Den 10/04/2013 kl. 15.16 skrev Stuart Poulton:
>>>>>>>>>>>> 
>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>> 
>>>>>>>>>>>>> Honestly I think you're fighting a losing battle. Can you get an SD card reader for your MAC ?
>>>>>>>>>>>>> Failing that I'm happy to write an SD card for you.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> Stuart
>>>>>>>>>>>>> 
>>>>>>>>>>>>> On 10/04/13 12:45, Bo Herrmannsen wrote:
>>>>>>>>>>>>>> thats what i'm trying… but berry boot says its not in squashes format….
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> Den 10/04/2013 kl. 07.42 skrev Stuart Poulton:
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> Any reason not to use the emonCMS raspberry PI image ?
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> Stuart
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> On 10/04/13 00:44, Bo Herrmannsen wrote:
>>>>>>>>>>>>>>>> hi
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> a minor side Q…. is ist possible to convert a rasberry pi sd card image to squashfs format?
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> why i ask is that while i can download and extract the image for open energy's cms system i can't get it to boot….
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> so i tried to use berry boot and most of the way it going smooth…
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> 1 i boot with berry boot from a 2 gb sd card… on a sub stick i have the img file from open energy
>>>>>>>>>>>>>>>> 2. when berry ask where to install i swap the sd card for a 4 gb class 10… it formats the card…
>>>>>>>>>>>>>>>> 3. when i'm asked what os to install i click cancel and get an option to click on add os… i just hold down the mouse buttom a bit to get an option to load from usb stick
>>>>>>>>>>>>>>>> 4. i select the img file but i am told its not in squashfs format….
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> is there a way to convert?
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> i have a mac pc and windows 7… no linux sorry…
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> /bo
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>> OpenTRV-dev mailing list
>>>>>>>>>>>>>>>> EMAIL ADDRESS HIDDEN
>>>>>>>>>>>>>>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>> OpenTRV-dev mailing list
>>>>>>>>>>>>>>> EMAIL ADDRESS HIDDEN
>>>>>>>>>>>>>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>> OpenTRV-dev mailing list
>>>>>>>>>>>>>> EMAIL ADDRESS HIDDEN
>>>>>>>>>>>>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> OpenTRV-dev mailing list
>>>>>>>>>>>>> EMAIL ADDRESS HIDDEN
>>>>>>>>>>>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> OpenTRV-dev mailing list
>>>>>>>>>>>> EMAIL ADDRESS HIDDEN
>>>>>>>>>>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>>>>>>>>>> 
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> OpenTRV-dev mailing list
>>>>>>>>>>> EMAIL ADDRESS HIDDEN
>>>>>>>>>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>>>>>>>>> 
>>>>>>>>>> _______________________________________________
>>>>>>>>>> OpenTRV-dev mailing list
>>>>>>>>>> EMAIL ADDRESS HIDDEN
>>>>>>>>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>>>>>>>> 
>>>>>>>>> _______________________________________________
>>>>>>>>> OpenTRV-dev mailing list
>>>>>>>>> EMAIL ADDRESS HIDDEN
>>>>>>>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>>>>>>> 
>>>>>>>> _______________________________________________
>>>>>>>> OpenTRV-dev mailing list
>>>>>>>> EMAIL ADDRESS HIDDEN
>>>>>>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>>>>>> 
>>>>>>> _______________________________________________
>>>>>>> OpenTRV-dev mailing list
>>>>>>> EMAIL ADDRESS HIDDEN
>>>>>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>>>>> 
>>>>>> _______________________________________________
>>>>>> OpenTRV-dev mailing list
>>>>>> EMAIL ADDRESS HIDDEN
>>>>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>>>> 
>>>>> _______________________________________________
>>>>> OpenTRV-dev mailing list
>>>>> EMAIL ADDRESS HIDDEN
>>>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>>> 
>>>> _______________________________________________
>>>> OpenTRV-dev mailing list
>>>> EMAIL ADDRESS HIDDEN
>>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>> 
>>> _______________________________________________
>>> OpenTRV-dev mailing list
>>> EMAIL ADDRESS HIDDEN
>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>> 
>> _______________________________________________
>> OpenTRV-dev mailing list
>> EMAIL ADDRESS HIDDEN
>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
> 
> _______________________________________________
> OpenTRV-dev mailing list
> EMAIL ADDRESS HIDDEN
> http://lists.opentrv.org.uk/listinfo/opentrv-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opentrv.org.uk/pipermail/opentrv-dev/attachments/20130411/2f30cbb4/attachment-0001.html>


More information about the OpenTRV-dev mailing list