I couldnt find the file pidesktop.deb. The webpage is really complicated.
I couldnt find the file pidesktop.deb. The webpage is really complicated.
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?
Whats the results of :
ls -la /dev/sd*
Whats the results of :
ls -la /dev/sd*
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
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?
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.
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?
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.
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
Hi Thomas, yes please paste them if you can!
Thanks!
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 /.
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
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