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
Reply
  • 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
Children
  • slikk66
    0 slikk66 over 9 years ago in reply to tuctboh

    Thanks for replying!

     

    I just restarted the whole process over again, I continued to dig and think I got myself to a point where it's time to start over.

     

    I just reflashed the latest rasbian + pixel image, and it's currently going through the apt-get update/upgrade process.

     

    If I run your command, I get:

     

    pi@raspberrypi:~ $ ls -la /dev/sd*
    brw-rw---- 1 root disk 8, 0 Apr 10 10:09 /dev/sda
    brw-rw---- 1 root disk 8, 1 Apr 10 10:09 /dev/sda1

     

    I tried to install gparted as I read in another thread I would need to format the ssd first, but when running "sudo startx" it would give me an error about "agent already running" or similar, seemed like it couldn't run another graphical interface while I was already in one? Not sure about that.  Then I tried to run "parted" and gave it a gpt label, and tried to make a primary ext4 partition, but that didn't seem to do anything, so starting over.

     

    Any advice?

     

    Edit: bit more info about current status:

     

    pi@raspberrypi:~ $ df -h
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/root       7.2G  3.7G  3.3G  54% /
    devtmpfs        459M     0  459M   0% /dev
    tmpfs           463M     0  463M   0% /dev/shm
    tmpfs           463M   13M  451M   3% /run
    tmpfs           5.0M  4.0K  5.0M   1% /run/lock
    tmpfs           463M     0  463M   0% /sys/fs/cgroup
    /dev/mmcblk0p1   41M   21M   21M  51% /boot
    tmpfs            93M     0   93M   0% /run/user/1000
    pi@raspberrypi:~ $ cat /etc/fstab
    proc            /proc           proc    defaults          0       0
    PARTUUID=038c4707-01  /boot           vfat    defaults          0       2
    PARTUUID=038c4707-02  /               ext4    defaults,noatime  0       1
    # a swapfile is not a swap partition, no line here
    #   use  dphys-swapfile swap[on|off]  for that

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

    Kept poking, think I found a work around.

     

    I found that in the start menu -> accessories there is a "sd card copier" utility.  This seemed to be exactly the same as what popped up after running "ppp-hdclone" except this one allowed me to select the source card and my ssd.

     

    I ran this, and then ran "ppp-hdclone" closing the UI that popped up (same issue with unselectable items) but then I entered "Y" when it asked if it worked, I then restarted the Pi3.  Now it seems my /dev/root is pointing to the SSD:

     

    I did notice that the SD card still seems to need to be in the Pi or it won't boot, I assumed I could remove it, but here's the df view after this:

     

    pi@raspberrypi:~ $ df -h
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/root       118G  4.0G  108G   4% /
    devtmpfs        458M     0  458M   0% /dev
    tmpfs           462M   75M  388M  17% /dev/shm
    tmpfs           462M   13M  450M   3% /run
    tmpfs           5.0M  4.0K  5.0M   1% /run/lock
    tmpfs           462M     0  462M   0% /sys/fs/cgroup
    /dev/mmcblk0p1   41M   21M   20M  52% /boot
    tmpfs            93M     0   93M   0% /run/user/1000
    /dev/sda1        41M   21M   20M  52% /media/pi/boot
    /dev/mmcblk0p2  7.2G  3.9G  3.0G  57% /media/pi/b105f9a8-f450-4976-8ac8-69053f57bab4

     

    All done?

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

    Hi slikk66 ,

     

    If you've set the 'bit' on your Raspberry Pi 3 as per the user manual for the Pi Desktop, and setup your SSD appropriately, you don't need your SDCard in the Pi 3 to boot from the SSD. So long as it has been setup properly with the image.

     

    If ppp-hdclone is setting it up so that it copies from the sdcard and then still boots from the SDCard, but points the root file system to the SSD, this is kinda useful I guess, but superfluous.

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

    I'd be happy to do it the right way.. but following the instructions from the PiDesktop documentation it's not working for me.

     

    I've explained the situation above, do you have any insight into the issue?

    • 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
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