Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 9 of 9
  1. #1
    Senior Member th00ht's Avatar
    Join Date
    Feb 2008
    Location
    Romanshorn
    Posts
    395

    [SOLVED] 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?

  2. #2
    Senior Member th00ht's Avatar
    Join Date
    Feb 2008
    Location
    Romanshorn
    Posts
    395
    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.

  3. #3
    Senior Member sbp's Avatar
    Join Date
    Apr 2010
    Location
    Denmark
    Posts
    1,028
    Quote Originally Posted by th00ht View Post
    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://sites.google.com/site/picoreplayer/home

    Please donate if you like the piCorePlayer

  4. #4
    Senior Member
    Join Date
    Jan 2006
    Location
    South Coast, NSW, Australia
    Posts
    1,099
    Quote Originally Posted by th00ht View Post
    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

  5. #5
    Senior Member Greg Erskine's Avatar
    Join Date
    Sep 2006
    Location
    Sydney, Australia
    Posts
    1,143
    Quote Originally Posted by Wirrunna View Post
    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

  6. #6
    Senior Member
    Join Date
    Jan 2006
    Location
    South Coast, NSW, Australia
    Posts
    1,099
    Quote Originally Posted by Greg Erskine View Post
    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

  7. #7
    Senior Member
    Join Date
    Jan 2006
    Location
    South Coast, NSW, Australia
    Posts
    1,099
    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

  8. #8
    Senior Member Greg Erskine's Avatar
    Join Date
    Sep 2006
    Location
    Sydney, Australia
    Posts
    1,143
    Quote Originally Posted by Wirrunna View Post
    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

  9. #9
    Senior Member
    Join Date
    Jan 2006
    Location
    South Coast, NSW, Australia
    Posts
    1,099
    Quote Originally Posted by Greg Erskine View Post
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •