Menu

Expanding on SD card doesn't work

Anonymous
2013-05-07
2013-05-28
  • Anonymous

    Anonymous - 2013-05-07

    Hey,

    I love this raspbian roll!

    However, the expand SD card parition in the initial setup wizard doesn't work, but instead spits out this error:

    bash: [: 15.8: integer expression expected
    -bash: [: 15.8: integer expression expected
    -bash: 15.8 - 500 : syntax error: invalid arithmetic operator (error token is ".8 - 500 ")

    Thanks for the otherwise great flavour though.

     
  • Andrea Benini

    Andrea Benini - 2013-05-08

    I have had few problems few days ago when I was uploading the new version. I suspect I have cut that image too much. I cannot replicate your problem right now but I plan to take a look at it from this evening. BTW if you want to have a working image until I apply the fix can you please make this test and tell me how it goes:
    - sudo dd bs=1M if=<the name="" of="" the="" image=""> of=<your sd="" card="" device="">
    - power on your Raspi with that SD card loaded
    - use the autoresize feature just right after boot and login (user: root, passwd: raspi)
    - wait until reboot and see how it goes</your></the>

    It's appreciated if you can please tell me:
    - SD card size (1Gb, 2Gb, 4Gb, ...)
    - Model board (256Mb, 512Mb, chinese version, ...)
    So I can strictly replicate your trouble.

    From what you wrote here seems to be a bug in my bash script but I cannot access the code until this evening, I'll post you something when done

    Cheers
    Ben

     
  • Anonymous

    Anonymous - 2013-05-08

    Did as you instructed and after choosing expand SD partition the wizard just exists and spits out this error:

    bash: [: 15.8: integer expression expected
    -bash: [: 15.8: integer expression expected
    -bash: 15.8 - 500 : syntax error: invalid arithmetic operator (error token is ".8 - 500 ")

    512MB non-chinese model with a 16GB class 10 SD card.

    Tried several other raspbian flavours but this was the best one by far, would love to have a working image!

     
  • Anonymous

    Anonymous - 2013-05-11

    Hello I have the same problem on a 32Gb SD card and 256Mb Raspberry Pi (old version)
    Thanks
    Oxy

     
  • Anonymous

    Anonymous - 2013-05-11

    root@raspberrypi:~# sudo moebius.config
    /usr/bin/moebius.config: line 44: [: 32.0: integer expression expected
    /usr/bin/moebius.config: line 47: [: 32.0: integer expression expected
    /usr/bin/moebius.config: line 55: 32.0 - 500 : syntax error: invalid arithmetic operator (error token is ".0 - 500 ")

     
  • Andrea Benini

    Andrea Benini - 2013-05-11

    Seems to be a weird output from fdisk command, can you please post the output of:
    "fdisk -l" (without quotes, from raspberry root shell) in this thread ? I'll fix it immediately, probably I'm using a wrong batch script...

     
  • Andrea Benini

    Andrea Benini - 2013-05-11

    Ok Folks,
    seems to be a bug of mine related to wrong disk space calculations, I was always supposing to work with small SD cards but obviously output changes a little bit when it comes from bigger cards.
    Can you please try to copy the attached script to your SD card ?
    Just save it in your PC and then copy it to your raspberry in /usr/bin, something like:
    scp moebius.config root@Your.IP.Address:/usr/bin
    and tell me how it goes, if it's fine for both of you I'll surely create a new img so you can just upload the new image from the site as usual

     
  • Andrea Benini

    Andrea Benini - 2013-05-14

    Just uploaded and upgraded Moebius to v1.1.1 with that utility loaded on it, download the new image to use it again.
    I'm planning to move my new repos to github or another source code hosting platform, sourceforge accounts are full and I cannot host something else requiring a lot of space (now).

     
  • Chaim Krause

    Chaim Krause - 2013-05-28

    I just tried Moebius for the first time tonight. I am using v1.1.1. I have a 1GB SDCard and I can get the initial boot up fine. However if I attempt to expand the file system using moebius.config, the system hangs on the reboot. The last thing on the screen when it hangs is:

    https://www.dropbox.com/s/pwke5ig5keaqjam/IMG_20130527_185548.jpg

     
  • Andrea Benini

    Andrea Benini - 2013-05-28

    Thanks for your feedback, I'll get a 1Gb SD card soon so I can make your own test as well. I'd like to do some serious tests tonight with a Sandisk card, what about your board, can you please tell me if you have a Model A/B, 256/512Mb ?
    Cheers
    Ben

     

Anonymous
Anonymous

Add attachments
Cancel