element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum boot from ssd in pi desktop
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 73 replies
  • Answers 11 answers
  • Subscribers 715 subscribers
  • Views 13001 views
  • Users 0 members are here
  • raspberry_pi_space
Related

boot from ssd in pi desktop

gdenicolas
gdenicolas over 9 years ago

I couldnt find the file pidesktop.deb. The webpage is really complicated.

  • Sign in to reply
  • Cancel
Parents
  • slikk66
    0 slikk66 over 9 years ago

    Hi Just am trying to setup my pi desktop.

     

    Stuck an 8GB microSD in the pi, booted it, updated/upgraded, installed dpkg of pidesktop-base.deb, but when I run ppp-hdclone, it has no selectable options for source or dest.

     

    Source is blank, dest says "no items available"

     

    I have an adata msata 128GB drive connected.  Do I need to setup/format this drive first?  Any steps I'm missing?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • tuctboh
    0 tuctboh over 9 years ago in reply to slikk66

    Whats the results of :

     

     

    ls -la /dev/sd*

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • tomgeorge
    0 tomgeorge over 9 years ago in reply to slikk66

    I followed instructions to boot pi from a usb ignoring the fact I had a

    ssd not a usb. Worked perfectly. When finished pi booted from the ssd

    and the cd card was moved /media/pi/. I can no longer find the link to

    these instructions but I copied them down as I executed them. I could

    post them if anyone is interested.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • balearicdynamics
    0 balearicdynamics over 9 years ago in reply to tomgeorge

    It is correct Thomas, as by the point of view of the Pi an SSD connected via SATA to USB is a bare USB Memory stick. No matter what is the speed of the SSD itself or the data transfer available to the SATA side as the speed of data transfer is determined by the USB 2 protocol that is the physical connection between the devie and the PI.

     

    As a matter of fact, - despite some issues related to some firmware problem - any storage device connected to the USB is saw by the PI as an external USB storage. To call it in the instructions USB memory stick is just a formal convention. Nothing to do with electronic as the interface (USB data storage) is the same for all.

     

    Enrico

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • slikk66
    0 slikk66 over 9 years ago in reply to tomgeorge

    Hi Thomas, yes please paste them if you can!

     

    Thanks!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • tomgeorge
    0 tomgeorge over 9 years ago in reply to balearicdynamics

    I did not use a usb connection. The ssd drive was connected to the hat.

    Started booting from the cd card. After following all the instructions

    turned the pi off then on to reboot. At a terminal entered the command

    df -h. Response was /dev/root size 230G mounted on /.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • balearicdynamics
    0 balearicdynamics over 9 years ago in reply to tomgeorge

    Thank you for the specification Thomas. This can make the difference. So the value added to this device is a HAT accepting SSD storage directly connected as SATA. I am curious to see how if is connected internally, what real protocol does it uses for data transfer and know the bus speed.

     

    Enrico

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • tomgeorge
    0 tomgeorge over 9 years ago in reply to slikk66

    OK

     

     

    pi booted from cd. Downloaded raspbian image to pi

     

     

    from root terminal proceed as follows:

     

    lsblk to confirm ssd is /dev/sda

     

    dd bs=4M if=2017-04-10-raspbian-jessie.img of=/dev/sda (doesn't matter

    if ssd is unformated)

     

    lsblk now shows sda1 /media/pi/boot and sda2 /media/pi/disk#

     

    use gparted to enlarge the sda2 partition

     

    mkdir /mnt/slash

     

    mount /dev/sda2 /mnt/slash  (slash is just any name you choose)

     

    rsync -avxS / /mnt/      (I think -a = archive necessary to copy entire

    content of /)l

     

    lsblk now shows sda1 /media/pi/boot and sda2 /mnt/slash

     

    ls /dev/disk/by-partuuid to list the partuuids for both the cd card and

    the ssd

     

    cd /boot

     

    vi cmdline.txt

     

    You will find root=partuuid=cd card #-2

     

    change this to root=partuuid=ssd #-2

     

    close the edit with the new root id.

     

    Hold your breath and reboot. It worked for me

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • tomgeorge
    0 tomgeorge over 9 years ago in reply to balearicdynamics

    Not sure how to measure bus speed. Used rsync --stats to transfer the

    contents of one directory to another.

     

     

    Total size is 51,616,761 speed up is 1.01.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • tomgeorge
    0 tomgeorge over 9 years ago in reply to balearicdynamics

    Gave you wrong result. Tried again rsync copy of raspbian image ( 4G )

    to empty directory. Five minutes thirty six seconds which works out to

    12Mps.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • slikk66
    0 slikk66 over 9 years ago in reply to tomgeorge

    Giving this a shot now, I'll let you know how it works.

     

    For this:

     

    rsync -avxS / /mnt/      (I think -a = archive necessary to copy entire

    content of /)l

     

    Should it be:

     

    rsync -avxS / /mnt/slash

     

    ?

     

    Seems odd to rsync to only /mnt/

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • tomgeorge
    0 tomgeorge over 9 years ago in reply to slikk66

    Right, my error - Tom George

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • tomgeorge
    0 tomgeorge over 9 years ago in reply to slikk66

    Right, my error - Tom George

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • slikk66
    0 slikk66 over 9 years ago in reply to tomgeorge

    OK thanks, unfortunately this didn't work for me.

     

    Followed the steps, when I got here:

     

    lsblk now shows sda1 /media/pi/boot and sda2 /media/pi/disk#

     

    Mine showed sda1=/media/usb0 and sda2=(nothing)

     

    Then,

     

    ls /dev/disk/by-partuuid to list the partuuids for both the cd card and

    the ssd

     

    I was able to list the partID's here (only for the sda1/2), but in the cmdline.txt file, I had:

     

    root=/dev/mcblock02 (or whatever it is) but not part UID

     

    I changed this to /dev/sda2 and shut it down, pulled the SD card but it didn't boot up.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • tomgeorge
    0 tomgeorge over 9 years ago in reply to slikk66

    Sorry it didn't work for you. Why usb0? wasn't the ssd connected

    directly to the tophat? Incidentally if you get the intermediate steps

    to work right, don't remove the cd card. It will become a storage device

    at /media/pi/cd#.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • slikk66
    0 slikk66 over 9 years ago in reply to tomgeorge

    Im using the pi desktop, so its an msata drive connected on the separate board that comes with the kit. Is there a different way to set it up so that it isn't listed as a usb?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • tomgeorge
    0 tomgeorge over 9 years ago in reply to slikk66

    I am using the pi desktop too. If the msata drive is connected the

    separate board that comes with the kit it should be /dev/sda and after

    dd'ing the raspbian image to /dev/sda the drive should be mountable

    (check /media/pi) and have a small boot partition and a larger program

    partition exactly the same as dd'ing a raspbian image from a pc to a cd

    card.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube