piCorePlayer - Backup fails

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • th00ht
    Senior Member
    • Feb 2008
    • 496

    piCorePlayer - Backup fails

    the piCorePlayer is awesome but I need to replace the uSD stick for a smaller one. Therefor I thought: make a backup, prepare a new uSD card and restore the backup.

    Clicking Save to USB results in
    Code:
     piCorePlayer
    
    [ INFO ] Mounting /mnt/sda1...
    
    [ ERROR ] /mnt/sda1 has NOT mounted.
    
    [ ERROR ] Insert USB stick and try again.
    Clicking Backup gives no errors

    But both seem to do nothing to a USB attached memory stick with ample space (8GB)

    Is my approach right? Is there another way to copy the current image to another? Should I attempt a dd?
    Last edited by th00ht; 2017-03-13, 19:35.
    Living:Transporter Second Edition (smashing wiki page!), Touch, Denon AVR 1912 + two CM8, two CM1, CMC
    Study:Classic, Quad 303 + two Quad ESL 57 & Grace Design m900 with AKG 240 MK11
    Kitchen:piCorePlayer/Hifiberry DAC+ pro, Kanto YU2
    last.fm, SoS, EAC
  • th00ht
    Senior Member
    • Feb 2008
    • 496

    #2
    Ok, I did a simple dd for the first couple of 800 64K blocks so it will cover most of the payload of the disk. Booting the new device worked fine.
    Code:
    dd if=/dev/<locationA> of=/dev/<locationB> bs=65k count=800

    still not sure how the backup and Save to USB function are supposed to work.
    Living:Transporter Second Edition (smashing wiki page!), Touch, Denon AVR 1912 + two CM8, two CM1, CMC
    Study:Classic, Quad 303 + two Quad ESL 57 & Grace Design m900 with AKG 240 MK11
    Kitchen:piCorePlayer/Hifiberry DAC+ pro, Kanto YU2
    last.fm, SoS, EAC

    Comment

    • sbp
      Senior Member
      • Apr 2010
      • 1214

      #3
      Originally posted by th00ht
      Ok, I did a simple dd for the first couple of 800 64K blocks so it will cover most of the payload of the disk. Booting the new device worked fine.
      Code:
      dd if=/dev/<locationA> of=/dev/<locationB> bs=65k count=800

      still not sure how the backup and Save to USB function are supposed to work.
      The "save to USB" approach is not going to backup your piCorePlayer image. It is simply a method to save your config file with the new name: newconfig.cfg on the USB stick.

      So if you then boot a fresh copy of pCP with the USB inserted it should read the "newconfig.cfg" file so that you have e new pCP with your current setup. It is a way to update pCP via USB stick or to setup a piZero (without keyboard or connection).
      piCorePlayer a small player for the Raspberry Pi in RAM.
      Homepage: https://www.picoreplayer.org

      Please donate if you like piCorePlayer

      Comment

      • Wirrunna
        Senior Member
        • Jan 2006
        • 1309

        #4
        Originally posted by th00ht
        Clicking Save to USB results in
        Code:
         piCorePlayer
        
        [ INFO ] Mounting /mnt/sda1...
        
        [ ERROR ] /mnt/sda1 has NOT mounted.
        
        [ ERROR ] Insert USB stick and try again.
        Clicking Backup gives no errors

        But both seem to do nothing to a USB attached memory stick with ample space (8GB)

        Is my approach right? Is there another way to copy the current image to another? Should I attempt a dd?
        This query has not been answered, how do you save your current configuration to the USB flash drive as newconfig.cfg ?
        A camel is a racehorse designed by a committee.

        Seen sprayed on the outside wall of the local library -
        Three things I hate in life :
        1. Vandalism
        2. Irony
        3. Lists

        Comment

        • Greg Erskine
          Senior Member
          • Sep 2006
          • 2808

          #5
          Originally posted by Wirrunna
          This query has not been answered, how do you save your current configuration to the USB flash drive as newconfig.cfg ?
          Hi Wirrunna,

          This seems to work OK for me.

          There could be an issue if you have more than one USB media device!

          Does yours mount as sda1?

          regards
          Greg

          Comment

          • Wirrunna
            Senior Member
            • Jan 2006
            • 1309

            #6
            Originally posted by Greg Erskine
            Hi Wirrunna,

            This seems to work OK for me.

            There could be an issue if you have more than one USB media device!

            Does yours mount as sda1?

            regards
            Greg
            Greg,
            Thank you for the reply, you explained how to do this once before but I can't find it.
            I plugged a 16GB Verbatim stick in a USB socket on the rPi and then clicked the "Save to USB" box on the main page and get the exact same error as originally posted by th00ht.
            A camel is a racehorse designed by a committee.

            Seen sprayed on the outside wall of the local library -
            Three things I hate in life :
            1. Vandalism
            2. Irony
            3. Lists

            Comment

            • Wirrunna
              Senior Member
              • Jan 2006
              • 1309

              #7
              Greg, I also tried from the How To -

              Second method for setting up a Raspberry A+

              Burn the piCorePlayer image on your SD-card
              Keep you SD-card in your computer, open it via filemanager.
              Download the newconfig.cfg file from HERE
              Edit the first section of newconfig.cfg file so it fits your wireless lan:

              #########################
              # Edit the variables below to setup a wifi based system without LAN access
              # Change Wifi to "on". Valid options for Encryption are "WEP", "WPA" or "OPEN"
              WIFI="off"
              SSID="wireless"
              PASSWORD="password"
              ENCRYPTION="WPA"
              # End Wifi setup

              ##########################

              Save the newconfig.cfg file to the SD-card.
              Use your SD-card for booting up the raspberry, then it will load your settings from the newconfig.cfg file and automatically connect to your wifi.

              My SSID is "Spotty Dogs" and watching the rPi display as during the boot process it parses the SSID as "Spotty\\ Dogs" and can't connect
              A camel is a racehorse designed by a committee.

              Seen sprayed on the outside wall of the local library -
              Three things I hate in life :
              1. Vandalism
              2. Irony
              3. Lists

              Comment

              • Greg Erskine
                Senior Member
                • Sep 2006
                • 2808

                #8
                Originally posted by Wirrunna
                Greg,
                Thank you for the reply, you explained how to do this once before but I can't find it.
                I plugged a 16GB Verbatim stick in a USB socket on the rPi and then clicked the "Save to USB" box on the main page and get the exact same error as originally posted by th00ht.
                Hi Wirrunna,

                The command assumes it can mount the USB flash drive on /mnt/sda1.

                If it will not mount, then probably /mnt/sda1 is used buy some other USB drive, or the format of the USB flash drive is incompatible?

                regards
                Greg

                Comment

                • Wirrunna
                  Senior Member
                  • Jan 2006
                  • 1309

                  #9
                  Originally posted by Greg Erskine
                  Hi Wirrunna,

                  The command assumes it can mount the USB flash drive on /mnt/sda1.

                  If it will not mount, then probably /mnt/sda1 is used buy some other USB drive, or the format of the USB flash drive is incompatible?

                  regards
                  Greg
                  Right both times - swapped WiFi dongle to a different USB, then tried an Emtec 8GB and it worked.

                  Thank you.
                  A camel is a racehorse designed by a committee.

                  Seen sprayed on the outside wall of the local library -
                  Three things I hate in life :
                  1. Vandalism
                  2. Irony
                  3. Lists

                  Comment

                  Working...