I am new in Ubuntu, Raspberry Pi and PanStamp. So, I found a “tutorial” to help me understand how can I work with them. I found this:
https://code.google.com/p/panstamp/wiki/RaspberryPi
The steps seem easy.
- Download the latest image here:www.panstamp.org/lagarto_imag...pi_0.8_2gb.zip
- Unzip and write the image to the SD card (at least 2 GB) according to the Raspberry Pi Wiki: For Windows, use Win32 Disk Imager For Linux, use dd if=lagarto_rpi_xyz.img of=/dev/sdc
- Insert the SD card in your Raspberry Pi and boot it up.
- By default, Raspbian comes with with DHCP enabled so you need to get the IP-address from your DHCP server.
- Once started, you should be able to access: ip-address:8001 for Lagarto-SWAP ip-address:8002 for Lagarto-MAX
- You can SSH to the Raspberry and login using username "pi" and password "raspberry"
My first target is to write the Lagarto Server into the SD Card. My SD Card has already Raspbian and has 3 partitions. The 3 partitions are:
- file system FAT32, with size 1,43GB (SETTINGS)
- file system FAT32, with size 60MB (BOOT)
- file system ext4, with size 5,68GB (root)
So I try to write the image in the 3rd partition, because Lagarto demands 2GB. The 3rd partition was /dev/sdb6. I edit the command above, as: if=lagarto_rpi_xyz.img of=/dev/sdb6 I waited enough time but no error was showed. So, I supposed that the procedure was fine.
Then, I put out the SD card from the laptop and carefully, I put it in the Raspberry Pi B+. But, it shows me problem. “ No filesystem could mount root, tried: ext4” “kernet panic – not syncing: VFS: Unable to mount root FS on unknown -block (179,6)”
So, I turn off the Raspberry and I put the SD card again to the laptop. I run Gparted and I noticed that “/dev/sdb6” has problem. “File system is damaged”, “file system is unknown to Gparted”, “The device entry /dev/sdb6 is missing”.
Obviously, I have stuck in Step 2. What should I do now, so I can continue my work? How can I un-done the command “if=lagarto...” or I repair the “damaged” partition?