Closed procount closed 5 years ago
Ok I'll get a 64 GB sad card from tesco, will a SanDisk ultra be ok? It's £17 compared to the extreme edition which is £28
Sandisk ultra is ok. Sizewise is up to you. What size was your bad one? If you are only going to use it to boot your hard disk then 64gb would be a waste, ultimately. But you do need something big enough temporarily to store the 2 raspbians and retorpie onto (not incl. Game roms). 16gb might be ok. 32 would definitely be big enough. If you bought a 64gb card, I would use it temporarily to install the oses and create your boot disk. Then copy the boot disk to a smaller 8gb card to boot the hard drive and use the 64gb card for something else.
If all 3 oses can install to a 16gb card, then I might just use one of those and then keep it as a boot card aswell.
Depends on how big your pockets are and what you're going to use them for afterwards.
Sorry, but I don't have time to test how big a card you need at the moment (busy weekend) but I'll write some instructions as soon as possible. Step 1 is get sd card. Step 2 install Raspbian on sd card so you can access your hard disk and get some info off it. Step3 remove hdd Step4 install pinn on new sd card Step 5 install 2x raspbian and retropie as before but onto sd card Step 6 edit sd card to boot OSes off hdd. Step 7 (optional) remove rootfs from sd card and just leave boot partitions. Then you can copy it to a smaller boot only sd card.
Let me know when you have done step 2
My previous one was 8 GB. I'll get a 32 GB SD card. Do I have to start a fresh installation of Raspbian? I can't just use the OS on the HDD?
It has no boot partition. Actually you could just install pinn to 32gb card. Then install 2 raspbian & retropie to 32gb card. Then you can use one of those raspbians to probe your hdd. That would save a step.
So basically what you mean is 1. Download PINN on SD card, 2. Install 2 raspbian and 1 retro pie to SD card from online... Then? Also my HDD has multiple OS on it, i just use 2 raspbian and retropie mainly. The others are extra. I have several project spaces as well.
I have downloaded: 2x Raspbian, 1x RetroPi, 1x LibreELEC And 7x project spaces on SD card.
What you need to do is to install on the SD card EXACTLY what you installed on your HDD. More OSes would not be a problem, but you need to at least install what you had on the HDD.
When you've done that we will examine your HDD to find out which partitions have which OSes installed on them, then we will rebuild the data files for PINN so that it knows about them.
The thing is I've forgotten EXACTLY what OS I have downloaded on my SD card. Looking at the filesystem on the HDD I can see what exactly is retropie, and the raspbians. Would it be possible to delete some of the filesystems that I don't really need and add it to the free space that is automatically put in the filesystem?
No matter. Will find out and adjust if necessary. Have you now installed PINN and at least Raspbian? When you have done that, boot PINN and select one of the Raspbians and boot into that. In Raspbian open a terminal. Enter the following commands and cut&paste the output of each command here.
mount
sudo fdisk -l
Here is mount
WITHOUT HDD plugged in:
pi@raspberrypi:~ $ mount /dev/mmcblk0p9 on / type ext4 (rw,noatime,data=ordered) devtmpfs on /dev type devtmpfs (rw,relatime,size=470116k,nr_inodes=117529,mode=755) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd) cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct) cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=34,pgrp=1,timeout=0,minproto=5,maxproto=5,direct) mqueue on /dev/mqueue type mqueue (rw,relatime) sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime) debugfs on /sys/kernel/debug type debugfs (rw,relatime) configfs on /sys/kernel/config type configfs (rw,relatime) /dev/mmcblk0p8 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro) tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=94944k,mode=700,uid=1000,gid=1000) fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime) gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000) /dev/mmcblk0p7 on /media/pi/root_rp44 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) /dev/mmcblk0p6 on /media/pi/boot_rp44 type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2) /dev/mmcblk0p5 on /media/pi/SETTINGS type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) /dev/mmcblk0p21 on /media/pi/prjroot3 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) /dev/mmcblk0p20 on /media/pi/prjboot3 type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2) /dev/mmcblk0p19 on /media/pi/prjroot2 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) /dev/mmcblk0p18 on /media/pi/prjboot2 type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2) /dev/mmcblk0p17 on /media/pi/prjroot1 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) /dev/mmcblk0p16 on /media/pi/prjboot1 type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2) /dev/mmcblk0p15 on /media/pi/prjroot0 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) /dev/mmcblk0p14 on /media/pi/prjboot0 type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2) /dev/mmcblk0p13 on /media/pi/prjroot type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) /dev/mmcblk0p12 on /media/pi/prjboot type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2) /dev/mmcblk0p11 on /media/pi/Storage type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) /dev/mmcblk0p10 on /media/pi/System type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
fdisk -l: `pi@raspberrypi:~ $ sudo fdisk -l Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram1: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram2: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram3: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram4: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram5: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram6: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram7: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram8: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram9: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram10: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram11: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram12: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram13: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram14: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram15: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mmcblk0: 29.7 GiB, 31914983424 bytes, 62333952 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x07189166
Device Boot Start End Sectors Size Id Type /dev/mmcblk0p1 8192 137215 129024 63M e W95 FAT16 (LBA) /dev/mmcblk0p2 137216 62333951 62196736 29.7G 5 Extended /dev/mmcblk0p5 139264 204797 65534 32M 83 Linux /dev/mmcblk0p6 204800 321535 116736 57M c W95 FAT32 (LBA) /dev/mmcblk0p7 327680 9936893 9609214 4.6G 83 Linux /dev/mmcblk0p8 9936896 10084349 147454 72M c W95 FAT32 (LBA) /dev/mmcblk0p9 10084352 22732797 12648446 6G 83 Linux /dev/mmcblk0p10 22732800 23781373 1048574 512M c W95 FAT32 (LBA) /dev/mmcblk0p11 23781376 30048253 6266878 3G 83 Linux /dev/mmcblk0p12 30048256 30253053 204798 100M c W95 FAT32 (LBA) /dev/mmcblk0p13 30253056 36495357 6242302 3G 83 Linux /dev/mmcblk0p14 36495360 36700157 204798 100M c W95 FAT32 (LBA) /dev/mmcblk0p15 36700160 42942461 6242302 3G 83 Linux /dev/mmcblk0p16 42942464 43147261 204798 100M c W95 FAT32 (LBA) /dev/mmcblk0p17 43147264 49389565 6242302 3G 83 Linux /dev/mmcblk0p18 49389568 49594365 204798 100M c W95 FAT32 (LBA) /dev/mmcblk0p19 49594368 55836669 6242302 3G 83 Linux /dev/mmcblk0p20 55836672 56041469 204798 100M c W95 FAT32 (LBA) /dev/mmcblk0p21 56041472 62333951 6292480 3G 83 Linux pi@raspberrypi:~ $ `
Sorry. I should have said to plug your hdd in because that is what I need to look at.
I may be a bit slow in responding as I'm busy, but don't worry. We'll get there.
Not a problem.
mount:
pi@raspberrypi:~ $ mount /dev/mmcblk0p9 on / type ext4 (rw,noatime,data=ordered) devtmpfs on /dev type devtmpfs (rw,relatime,size=470116k,nr_inodes=117529,mode=755) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd) cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct) cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=34,pgrp=1,timeout=0,minproto=5,maxproto=5,direct) mqueue on /dev/mqueue type mqueue (rw,relatime) sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime) debugfs on /sys/kernel/debug type debugfs (rw,relatime) configfs on /sys/kernel/config type configfs (rw,relatime) /dev/mmcblk0p8 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro) tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=94944k,mode=700,uid=1000,gid=1000) fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime) gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000) /dev/mmcblk0p7 on /media/pi/root_rp44 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) /dev/mmcblk0p6 on /media/pi/boot_rp44 type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2) /dev/mmcblk0p5 on /media/pi/SETTINGS type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) /dev/mmcblk0p21 on /media/pi/prjroot3 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) /dev/mmcblk0p20 on /media/pi/prjboot3 type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2) /dev/mmcblk0p19 on /media/pi/prjroot2 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) /dev/mmcblk0p18 on /media/pi/prjboot2 type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2) /dev/mmcblk0p17 on /media/pi/prjroot1 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) /dev/mmcblk0p16 on /media/pi/prjboot1 type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2) /dev/mmcblk0p15 on /media/pi/prjroot0 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) /dev/mmcblk0p14 on /media/pi/prjboot0 type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2) /dev/mmcblk0p13 on /media/pi/prjroot type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) /dev/mmcblk0p12 on /media/pi/prjboot type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2) /dev/mmcblk0p11 on /media/pi/Storage type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) /dev/mmcblk0p10 on /media/pi/System type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2) /dev/sdb10 on /media/pi/Storage1 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) /dev/sdb6 on /media/pi/root type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) /dev/sdb9 on /media/pi/root_raspx type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) /dev/sdb11 on /media/pi/root-rbp2 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) /dev/sdb8 on /media/pi/root0 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) /dev/sdb13 on /media/pi/prjroot01 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) /dev/sdb12 on /media/pi/prjroot4 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) /dev/sdb18 on /media/pi/prjroot5 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) /dev/sdb14 on /media/pi/prjroot11 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) /dev/sdb16 on /media/pi/prjroot31 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) /dev/sdb17 on /media/pi/prjroot41 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) /dev/sdb19 on /media/pi/prjroot6 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) /dev/sdb15 on /media/pi/prjroot21 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) /dev/sdb7 on /media/pi/root_gen type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
fdisk -l (left out the /dev/ram to prevent spam): `Disk /dev/mmcblk0: 29.7 GiB, 31914983424 bytes, 62333952 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x07189166
Device Boot Start End Sectors Size Id Type /dev/mmcblk0p1 8192 137215 129024 63M e W95 FAT16 (LBA) /dev/mmcblk0p2 137216 62333951 62196736 29.7G 5 Extended /dev/mmcblk0p5 139264 204797 65534 32M 83 Linux /dev/mmcblk0p6 204800 321535 116736 57M c W95 FAT32 (LBA) /dev/mmcblk0p7 327680 9936893 9609214 4.6G 83 Linux /dev/mmcblk0p8 9936896 10084349 147454 72M c W95 FAT32 (LBA) /dev/mmcblk0p9 10084352 22732797 12648446 6G 83 Linux /dev/mmcblk0p10 22732800 23781373 1048574 512M c W95 FAT32 (LBA) /dev/mmcblk0p11 23781376 30048253 6266878 3G 83 Linux /dev/mmcblk0p12 30048256 30253053 204798 100M c W95 FAT32 (LBA) /dev/mmcblk0p13 30253056 36495357 6242302 3G 83 Linux /dev/mmcblk0p14 36495360 36700157 204798 100M c W95 FAT32 (LBA) /dev/mmcblk0p15 36700160 42942461 6242302 3G 83 Linux /dev/mmcblk0p16 42942464 43147261 204798 100M c W95 FAT32 (LBA) /dev/mmcblk0p17 43147264 49389565 6242302 3G 83 Linux /dev/mmcblk0p18 49389568 49594365 204798 100M c W95 FAT32 (LBA) /dev/mmcblk0p19 49594368 55836669 6242302 3G 83 Linux /dev/mmcblk0p20 55836672 56041469 204798 100M c W95 FAT32 (LBA) /dev/mmcblk0p21 56041472 62333951 6292480 3G 83 Linux
Disk /dev/sdb: 931.5 GiB, 1000204885504 bytes, 1953525167 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x2b2efe32
Device Boot Start End Sectors Size Id Type /dev/sdb1 8192 137215 129024 63M e W95 FAT16 (LBA) /dev/sdb2 137216 1953525166 1953387951 931.5G 5 Extended /dev/sdb5 139264 204797 65534 32M 83 Linux /dev/sdb6 204800 146096125 145891326 69.6G 83 Linux /dev/sdb7 146096128 294264829 148168702 70.7G 83 Linux /dev/sdb8 294264832 453754877 159490046 76.1G 83 Linux /dev/sdb9 453754880 595910653 142155774 67.8G 83 Linux /dev/sdb10 595910656 731004925 135094270 64.4G 83 Linux /dev/sdb11 731004928 869244925 138239998 65.9G 83 Linux /dev/sdb12 869244928 1004314621 135069694 64.4G 83 Linux /dev/sdb13 1004314624 1139384317 135069694 64.4G 83 Linux /dev/sdb14 1139384320 1274454013 135069694 64.4G 83 Linux /dev/sdb15 1274454016 1409523709 135069694 64.4G 83 Linux /dev/sdb16 1409523712 1544593405 135069694 64.4G 83 Linux /dev/sdb17 1544593408 1679663101 135069694 64.4G 83 Linux /dev/sdb18 1679663104 1814732797 135069694 64.4G 83 Linux /dev/sdb19 1814732800 1953525166 138792367 66.2G 83 Linux pi@raspberrypi:~ $ `
Can you post the contents of /media/pi/SETTINGS/installed_os.json plesae?
[ { "bootable" : true, "description" : "Retropie2 v4.4 gaming distro using Emulation Station for RPi2/3", "folder" : "/settings/os/Retropie2", "group" : "Games", "icon" : "/settings/os/Retropie2/icon.png", "name" : "Retropie2", "partitions" : [ "/dev/mmcblk0p6", "/dev/mmcblk0p7" ], "password" : "raspberry", "release_date" : "2018-04-14", "supported_models" : [ "Pi 2", "Pi 3" ], "url" : "https://retropie.org.uk/", "username" : "pi" }, { "bootable" : true, "description" : "A port of Debian Stretch for the Raspberry Pi (full desktop version)", "folder" : "/settings/os/Raspbian", "group" : "", "icon" : "/settings/os/Raspbian/icon.png", "name" : "Raspbian", "partitions" : [ "/dev/mmcblk0p8", "/dev/mmcblk0p9" ], "password" : "raspberry", "release_date" : "2018-10-09", "supported_models" : [ "Pi Model", "Pi 2", "Pi Zero", "Pi 3", "Pi Compute Module 3" ], "url" : "http://www.raspbian.org/", "username" : "pi" }, { "bootable" : true, "description" : "LibreELEC is a fast and user-friendly Kodi Entertainment Center distribution.", "folder" : "/settings/os/LibreELEC_RPi2", "group" : "", "icon" : "/settings/os/LibreELEC_RPi2/icon.png", "name" : "LibreELEC_RPi2", "partitions" : [ "/dev/mmcblk0p10", "/dev/mmcblk0p11" ], "password" : "libreelec", "release_date" : "2018-04-13", "supportedmodels" : [ "Pi 2", "Pi 3" ], "url" : "", "username" : "root" }, { "bootable" : false, "description" : "A Project Space to partition the SD card equally", "folder" : "/mnt/os/ProjectSpace", "group" : "Utility", "icon" : "/mnt/os/ProjectSpace/ProjectSpace-_1.png", "name" : "ProjectSpace - 1", "partitions" : [ "/dev/mmcblk0p12", "/dev/mmcblk0p13" ], "password" : "?", "release_date" : "2018-05-14", "supportedmodels" : [ "Pi Zero", "Pi Model", "Pi Compute Module", "Pi 2", "Pi 3" ], "url" : "https://", "username" : "?" }, { "bootable" : false, "description" : "A Project Space to partition the SD card equally", "folder" : "/mnt/os/ProjectSpace", "group" : "Utility", "icon" : "/mnt/os/ProjectSpace/ProjectSpace-_2.png", "name" : "ProjectSpace - 2", "partitions" : [ "/dev/mmcblk0p14", "/dev/mmcblk0p15" ], "password" : "?", "release_date" : "2018-05-14", "supportedmodels" : [ "Pi Zero", "Pi Model", "Pi Compute Module", "Pi 2", "Pi 3" ], "url" : "https://", "username" : "?" }, { "bootable" : false, "description" : "A Project Space to partition the SD card equally", "folder" : "/mnt/os/ProjectSpace", "group" : "Utility", "icon" : "/mnt/os/ProjectSpace/ProjectSpace-_3.png", "name" : "ProjectSpace - 3", "partitions" : [ "/dev/mmcblk0p16", "/dev/mmcblk0p17" ], "password" : "?", "release_date" : "2018-05-14", "supportedmodels" : [ "Pi Zero", "Pi Model", "Pi Compute Module", "Pi 2", "Pi 3" ], "url" : "https://", "username" : "?" }, { "bootable" : false, "description" : "A Project Space to partition the SD card equally", "folder" : "/mnt/os/ProjectSpace", "group" : "Utility", "icon" : "/mnt/os/ProjectSpace/ProjectSpace-_4.png", "name" : "ProjectSpace - 4", "partitions" : [ "/dev/mmcblk0p18", "/dev/mmcblk0p19" ], "password" : "?", "release_date" : "2018-05-14", "supportedmodels" : [ "Pi Zero", "Pi Model", "Pi Compute Module", "Pi 2", "Pi 3" ], "url" : "https://", "username" : "?" }, { "bootable" : false, "description" : "A Project Space to partition the SD card equally", "folder" : "/mnt/os/ProjectSpace", "group" : "Utility", "icon" : "/mnt/os/ProjectSpace/ProjectSpace-_5.png", "name" : "ProjectSpace - 5", "partitions" : [ "/dev/mmcblk0p20", "/dev/mmcblk0p21" ], "password" : "?", "release_date" : "2018-05-14", "supported_models" : [ "Pi Zero", "Pi Model", "Pi Compute Module", "Pi 2", "Pi 3" ], "url" : "https://", "username" : "?" } ]
My first guess is that you had the following installed on your HDD: Raspbian Gentoo64 Raspbian Raspex OpenELEC or LibreELEC? rbp2? 8 project spaces
I can't remember what rb2 is - I'll have to look it up, but does that sound right? PLesae correct any Ihave got wrong.
2 x raspbian yes, Gentoo pretty sure raspex think so... LibreELEC yes, rbp2 pretty sure remebering downloading another OS but not sure what it was. I know it was one of the desktop versions though, not CLI.
We'll need to go through them in turn to make sure what they are. Can you post the contents of /media/pi/root/etc/fstab?
proc /proc proc defaults 0 0 PARTUUID=c27920ee-06 /boot vfat defaults 0 2 PARTUUID=2b2efe32-06 / ext4 defaults,noatime 0 1
I'm going to keep looking to see what rbp2 is, but meanwhile, maybe you can have a browse in /media/pi/root-rbp2 and see if you can identify what it is.
Sure.
/media/pi/root is retropie, /media/pi/root0 is Raspbian 1, /media/pi/root-rbp2 is Raspbian 2.
Going to turn in for the night. Will be on tommorow.
Really? you sure? That's not what I expected. But Raspbian might be renaming the mountpoints to avoid having 2 mountpoints called the same name.
How did you get 2 versions of Raspbian on there anyway? Is one full Raspbian and the other Raspbian-Lite?
OK. tomorrow.
Yes I am sure, the second raspbian had some windows 98 QEMU files. Found them in there.They are both full Raspbians as well. Maybe something to do with having 2 of exactly the same images?
Goodnight
So I this is what you need to do. Remove HDD (to avoid making mistakes) Boot PINN on your SD card and install the following OSes on to it (to match what is on your HDD and removing the previous ones you put on the SD card)
Retropie Gentoo64 Raspbian Raspex LibreELEC PiTop (just temporarily) ProjectSpace1 ProjectSpace2 ProjectSpace3 ProjectSpace4 ProjectSpace5 ProjectSpace6 ProjectSpace7 ProjectSpace8
Once installed, replace PiTop with another copy of Raspbian (so you have 2 Raspbians)
Then boot into one of the Raspbians and paste a new copy of /media/pi/SETTINGS/installed_os.json here.
[ { "bootable" : true, "description" : "A port of Debian Stretch for the Raspberry Pi (full desktop version)", "folder" : "/settings/os/Raspbian", "group" : "", "icon" : "/settings/os/Raspbian/icon.png", "name" : "Raspbian", "partitions" : [ "/dev/mmcblk0p6", "/dev/mmcblk0p7" ], "password" : "raspberry", "release_date" : "2018-10-09", "supported_models" : [ "Pi Model", "Pi 2", "Pi Zero", "Pi 3", "Pi Compute Module 3" ], "url" : "http://www.raspbian.org/", "username" : "pi" }, { "bootable" : true, "description" : "Retropie2 v4.4 gaming distro using Emulation Station for RPi2/3", "folder" : "/settings/os/Retropie2", "group" : "Games", "icon" : "/settings/os/Retropie2/icon.png", "name" : "Retropie2", "partitions" : [ "/dev/mmcblk0p8", "/dev/mmcblk0p9" ], "password" : "raspberry", "release_date" : "2018-04-14", "supported_models" : [ "Pi 2", "Pi 3" ], "url" : "https://retropie.org.uk/", "username" : "pi" }, { "bootable" : true, "description" : "A port of Debian Stretch for the Raspberry Pi (full desktop version)", "folder" : "/settings/os/Raspbian", "group" : "", "icon" : "/settings/os/Raspbian/icon.png", "name" : "Raspbian", "partitions" : [ "/dev/mmcblk0p10", "/dev/mmcblk0p11" ], "password" : "raspberry", "release_date" : "2018-10-09", "supported_models" : [ "Pi Model", "Pi 2", "Pi Zero", "Pi 3", "Pi Compute Module 3" ], "url" : "http://www.raspbian.org/", "username" : "pi" }, { "bootable" : true, "description" : "64-bit Gentoo Linux for the RPi3, with Xfce4 desktop", "folder" : "/settings/os/gentoo64", "group" : "General", "icon" : "/settings/os/gentoo64/icon.png", "name" : "gentoo64", "partitions" : [ "/dev/mmcblk0p12", "/dev/mmcblk0p13" ], "password" : "raspberrypi64", "release_date" : "2018-09-26", "supported_models" : [ "Pi 3" ], "url" : "https://github.com/sakaki-/gentoo-on-rpi3-64bit", "username" : "demouser" }, { "bootable" : true, "description" : "Raspex with LXDE based on Ubuntu 18.04 LTS", "folder" : "/settings/os/Raspex", "group" : "", "icon" : "/settings/os/Raspex/icon.png", "name" : "Raspex", "partitions" : [ "/dev/mmcblk0p14", "/dev/mmcblk0p15" ], "password" : "raspex", "release_date" : "2018-03-28", "supported_models" : [ "Pi 2", "Pi 3" ], "url" : "http://raspex.exton.se/?p=843", "username" : "raspex" }, { "bootable" : true, "description" : "LibreELEC is a fast and user-friendly Kodi Entertainment Center distribution.", "folder" : "/settings/os/LibreELEC_RPi2", "group" : "", "icon" : "/settings/os/LibreELEC_RPi2/icon.png", "name" : "LibreELEC_RPi2", "partitions" : [ "/dev/mmcblk0p16", "/dev/mmcblk0p17" ], "password" : "libreelec", "release_date" : "2018-04-13", "supported_models" : [ "Pi 2", "Pi 3" ], "url" : "", "username" : "root" }, { "bootable" : false, "description" : "A Project Space to partition the SD card equally", "folder" : "/mnt/os/ProjectSpace", "group" : "Utility", "icon" : "/mnt/os/ProjectSpace/ProjectSpace_-_1.png", "name" : "ProjectSpace - 1", "partitions" : [ "/dev/mmcblk0p18", "/dev/mmcblk0p19" ], "password" : "?", "release_date" : "2018-05-14", "supported_models" : [ "Pi Zero", "Pi Model", "Pi Compute Module", "Pi 2", "Pi 3" ], "url" : "https://", "username" : "?" }, { "bootable" : false, "description" : "A Project Space to partition the SD card equally", "folder" : "/mnt/os/ProjectSpace", "group" : "Utility", "icon" : "/mnt/os/ProjectSpace/ProjectSpace_-_2.png", "name" : "ProjectSpace - 2", "partitions" : [ "/dev/mmcblk0p20", "/dev/mmcblk0p21" ], "password" : "?", "release_date" : "2018-05-14", "supported_models" : [ "Pi Zero", "Pi Model", "Pi Compute Module", "Pi 2", "Pi 3" ], "url" : "https://", "username" : "?" }, { "bootable" : false, "description" : "A Project Space to partition the SD card equally", "folder" : "/mnt/os/ProjectSpace", "group" : "Utility", "icon" : "/mnt/os/ProjectSpace/ProjectSpace_-_3.png", "name" : "ProjectSpace - 3", "partitions" : [ "/dev/mmcblk0p22", "/dev/mmcblk0p23" ], "password" : "?", "release_date" : "2018-05-14", "supported_models" : [ "Pi Zero", "Pi Model", "Pi Compute Module", "Pi 2", "Pi 3" ], "url" : "https://", "username" : "?" }, { "bootable" : false, "description" : "A Project Space to partition the SD card equally", "folder" : "/mnt/os/ProjectSpace", "group" : "Utility", "icon" : "/mnt/os/ProjectSpace/ProjectSpace_-_4.png", "name" : "ProjectSpace - 4", "partitions" : [ "/dev/mmcblk0p24", "/dev/mmcblk0p25" ], "password" : "?", "release_date" : "2018-05-14", "supported_models" : [ "Pi Zero", "Pi Model", "Pi Compute Module", "Pi 2", "Pi 3" ], "url" : "https://", "username" : "?" }, { "bootable" : false, "description" : "A Project Space to partition the SD card equally", "folder" : "/mnt/os/ProjectSpace", "group" : "Utility", "icon" : "/mnt/os/ProjectSpace/ProjectSpace_-_5.png", "name" : "ProjectSpace - 5", "partitions" : [ "/dev/mmcblk0p26", "/dev/mmcblk0p27" ], "password" : "?", "release_date" : "2018-05-14", "supported_models" : [ "Pi Zero", "Pi Model", "Pi Compute Module", "Pi 2", "Pi 3" ], "url" : "https://", "username" : "?" }, { "bootable" : false, "description" : "A Project Space to partition the SD card equally", "folder" : "/mnt/os/ProjectSpace", "group" : "Utility", "icon" : "/mnt/os/ProjectSpace/ProjectSpace_-_6.png", "name" : "ProjectSpace - 6", "partitions" : [ "/dev/mmcblk0p28", "/dev/mmcblk0p29" ], "password" : "?", "release_date" : "2018-05-14", "supported_models" : [ "Pi Zero", "Pi Model", "Pi Compute Module", "Pi 2", "Pi 3" ], "url" : "https://", "username" : "?" }, { "bootable" : false, "description" : "A Project Space to partition the SD card equally", "folder" : "/mnt/os/ProjectSpace", "group" : "Utility", "icon" : "/mnt/os/ProjectSpace/ProjectSpace_-_7.png", "name" : "ProjectSpace - 7", "partitions" : [ "/dev/mmcblk0p30", "/dev/mmcblk0p31" ], "password" : "?", "release_date" : "2018-05-14", "supported_models" : [ "Pi Zero", "Pi Model", "Pi Compute Module", "Pi 2", "Pi 3" ], "url" : "https://", "username" : "?" }, { "bootable" : false, "description" : "A Project Space to partition the SD card equally", "folder" : "/mnt/os/ProjectSpace", "group" : "Utility", "icon" : "/mnt/os/ProjectSpace/ProjectSpace_-_8.png", "name" : "ProjectSpace - 8", "partitions" : [ "/dev/mmcblk0p32", "/dev/mmcblk0p33" ], "password" : "?", "release_date" : "2018-05-14", "supported_models" : [ "Pi Zero", "Pi Model", "Pi Compute Module", "Pi 2", "Pi 3" ], "url" : "https://", "username" : "?" } ]
The next step is to match up the existing partitions on your HDD with the new OSes you've just installed on your SD card.
Your previous posts had the HDD mounted as /dev/sdb, but I didn't see a /dev/sda - maybe that was just the way it happened.
I will assume though that if you start PINN with the HDD as the only USB device, that it will be mounted as /dev/sda. So I used that notation below.
I have replaced the device for the root partition for each OS with what I THINK is the correct mapping, according to your posts and what you told me about what was on various partitions. YOU SHOULD CHECK THESE BELOW TO MAKE SURE THEY ARE OK.
I only mapped the main OSes and stopped after the first project space, so you will need to fill in the remainder, but I think that should be straight forward for you to do.
Once you have checked and edited the content below, you need to replace the /media/pi/SETTINGS/installed_os.json file with that.
Once you have done that, reboot PINN with your HDD connected and go to the maintenance menu. Select (tick) the first Raspbian OS and click the FIX UP button. In the list, you can uncheck the first File System Check option, and check the Re-Run parition setup script option. Then execute it.
Now go to the main menu, click on Exit and select the first Raspbian OS to boot. Check it does actually boot off your Hard Disk and you have your previous files.
If that works, you need to fix up each of your other OSes in the same way and check they each boot. Check your HDD lights flash to indicate it is loading off your HDD rather than the SD card.
Hopefully that should get all your previous OSes working and accessible again. There is some more tidying up you could do on the SD card, but that's for another time.
Will be out for most of the afternoon, but post any progress./questions as you go and I may be able to answer them sporadically.
new Installed_os.json (partial - to be edited & checked):
[
{ "bootable" : true,
"description" : "A port of Debian Stretch for the Raspberry Pi (full desktop version)",
"folder" : "/settings/os/Raspbian",
"group" : "",
"icon" : "/settings/os/Raspbian/icon.png",
"name" : "Raspbian",
"partitions" : [
"/dev/mmcblk0p6",
"/dev/sda8"
],
"password" : "raspberry",
"release_date" : "2018-10-09",
"supported_models" : [ "Pi Model", "Pi 2", "Pi Zero", "Pi 3", "Pi Compute Module 3" ],
"url" : "http://www.raspbian.org/",
"username" : "pi"
},
{ "bootable" : true,
"description" : "Retropie2 v4.4 gaming distro using Emulation Station for RPi2/3",
"folder" : "/settings/os/Retropie2",
"group" : "Games",
"icon" : "/settings/os/Retropie2/icon.png",
"name" : "Retropie2",
"partitions" : [
"/dev/mmcblk0p8",
"/dev/sda6"
],
"password" : "raspberry",
"release_date" : "2018-04-14",
"supported_models" : [ "Pi 2", "Pi 3" ],
"url" : "https://retropie.org.uk/",
"username" : "pi"
},
{ "bootable" : true,
"description" : "A port of Debian Stretch for the Raspberry Pi (full desktop version)",
"folder" : "/settings/os/Raspbian",
"group" : "",
"icon" : "/settings/os/Raspbian/icon.png",
"name" : "Raspbian",
"partitions" : [
"/dev/mmcblk0p10",
"/dev/sda11"
],
"password" : "raspberry",
"release_date" : "2018-10-09",
"supported_models" : [ "Pi Model", "Pi 2", "Pi Zero", "Pi 3", "Pi Compute Module 3" ],
"url" : "http://www.raspbian.org/",
"username" : "pi"
},
{ "bootable" : true,
"description" : "64-bit Gentoo Linux for the RPi3, with Xfce4 desktop",
"folder" : "/settings/os/gentoo64",
"group" : "General",
"icon" : "/settings/os/gentoo64/icon.png",
"name" : "gentoo64",
"partitions" : [
"/dev/mmcblk0p12",
"/dev/sda7"
],
"password" : "raspberrypi64",
"release_date" : "2018-09-26",
"supported_models" : [ "Pi 3" ],
"url" : "https://github.com/sakaki-/gentoo-on-rpi3-64bit",
"username" : "demouser"
},
{ "bootable" : true,
"description" : "Raspex with LXDE based on Ubuntu 18.04 LTS",
"folder" : "/settings/os/Raspex",
"group" : "",
"icon" : "/settings/os/Raspex/icon.png",
"name" : "Raspex",
"partitions" : [
"/dev/mmcblk0p14",
"/dev/sda9"
],
"password" : "raspex",
"release_date" : "2018-03-28",
"supported_models" : [ "Pi 2", "Pi 3" ],
"url" : "http://raspex.exton.se/?p=843",
"username" : "raspex"
},
{ "bootable" : true,
"description" : "LibreELEC is a fast and user-friendly Kodi Entertainment Center distribution.",
"folder" : "/settings/os/LibreELEC_RPi2",
"group" : "",
"icon" : "/settings/os/LibreELEC_RPi2/icon.png",
"name" : "LibreELEC_RPi2",
"partitions" : [
"/dev/mmcblk0p16",
"/dev/sda10"
],
"password" : "libreelec",
"release_date" : "2018-04-13",
"supported_models" : [ "Pi 2", "Pi 3" ],
"url" : "",
"username" : "root"
},
{ "bootable" : false,
"description" : "A Project Space to partition the SD card equally",
"folder" : "/mnt/os/ProjectSpace",
"group" : "Utility",
"icon" : "/mnt/os/ProjectSpace/ProjectSpace_-_1.png",
"name" : "ProjectSpace - 1",
"partitions" : [
"/dev/mmcblk0p18",
"/dev/sda12"
],
"password" : "?",
"release_date" : "2018-05-14",
"supported_models" : [ "Pi Zero", "Pi Model", "Pi Compute Module", "Pi 2", "Pi 3" ],
"url" : "https://",
"username" : "?"
},
{ "bootable" : false,
"description" : "A Project Space to partition the SD card equally", "folder" : "/mnt/os/ProjectSpace", "group" : "Utility", "icon" : "/mnt/os/ProjectSpace/ProjectSpace_-_2.png", "name" : "ProjectSpace - 2", "partitions" : [ "/dev/mmcblk0p20", "/dev/mmcblk0p21" ], "password" : "?", "release_date" : "2018-05-14", "supported_models" : [ "Pi Zero", "Pi Model", "Pi Compute Module", "Pi 2", "Pi 3" ], "url" : "https://", "username" : "?" }, { "bootable" : false, "description" : "A Project Space to partition the SD card equally", "folder" : "/mnt/os/ProjectSpace", "group" : "Utility", "icon" : "/mnt/os/ProjectSpace/ProjectSpace_-_3.png", "name" : "ProjectSpace - 3", "partitions" : [ "/dev/mmcblk0p22", "/dev/mmcblk0p23" ], "password" : "?", "release_date" : "2018-05-14", "supported_models" : [ "Pi Zero", "Pi Model", "Pi Compute Module", "Pi 2", "Pi 3" ], "url" : "https://", "username" : "?" }, { "bootable" : false, "description" : "A Project Space to partition the SD card equally", "folder" : "/mnt/os/ProjectSpace", "group" : "Utility", "icon" : "/mnt/os/ProjectSpace/ProjectSpace_-_4.png", "name" : "ProjectSpace - 4", "partitions" : [ "/dev/mmcblk0p24", "/dev/mmcblk0p25" ], "password" : "?", "release_date" : "2018-05-14", "supported_models" : [ "Pi Zero", "Pi Model", "Pi Compute Module", "Pi 2", "Pi 3" ], "url" : "https://", "username" : "?" }, { "bootable" : false, "description" : "A Project Space to partition the SD card equally", "folder" : "/mnt/os/ProjectSpace", "group" : "Utility", "icon" : "/mnt/os/ProjectSpace/ProjectSpace_-_5.png", "name" : "ProjectSpace - 5", "partitions" : [ "/dev/mmcblk0p26", "/dev/mmcblk0p27" ], "password" : "?", "release_date" : "2018-05-14", "supported_models" : [ "Pi Zero", "Pi Model", "Pi Compute Module", "Pi 2", "Pi 3" ], "url" : "https://", "username" : "?" }, { "bootable" : false, "description" : "A Project Space to partition the SD card equally", "folder" : "/mnt/os/ProjectSpace", "group" : "Utility", "icon" : "/mnt/os/ProjectSpace/ProjectSpace_-_6.png", "name" : "ProjectSpace - 6", "partitions" : [ "/dev/mmcblk0p28", "/dev/mmcblk0p29" ], "password" : "?", "release_date" : "2018-05-14", "supported_models" : [ "Pi Zero", "Pi Model", "Pi Compute Module", "Pi 2", "Pi 3" ], "url" : "https://", "username" : "?" }, { "bootable" : false, "description" : "A Project Space to partition the SD card equally", "folder" : "/mnt/os/ProjectSpace", "group" : "Utility", "icon" : "/mnt/os/ProjectSpace/ProjectSpace_-_7.png", "name" : "ProjectSpace - 7", "partitions" : [ "/dev/mmcblk0p30", "/dev/mmcblk0p31" ], "password" : "?", "release_date" : "2018-05-14", "supported_models" : [ "Pi Zero", "Pi Model", "Pi Compute Module", "Pi 2", "Pi 3" ], "url" : "https://", "username" : "?" }, { "bootable" : false, "description" : "A Project Space to partition the SD card equally", "folder" : "/mnt/os/ProjectSpace", "group" : "Utility", "icon" : "/mnt/os/ProjectSpace/ProjectSpace_-_8.png", "name" : "ProjectSpace - 8", "partitions" : [ "/dev/mmcblk0p32", "/dev/mmcblk0p33" ], "password" : "?", "release_date" : "2018-05-14", "supported_models" : [ "Pi Zero", "Pi Model", "Pi Compute Module", "Pi 2", "Pi 3" ], "url" : "https://", "username" : "?" } ]
Does it matter what order the project spaces are in? here is df -h:
`/dev/sda6 69G 18G 47G 28% /media/pi/root1
/dev/sda13 64G 52M 60G 1% /media/pi/prjroot01
/dev/sda7 70G 6.2G 60G 10% /media/pi/root_gen1
/dev/sda8 75G 15G 57G 21% /media/pi/root0
/dev/sda10 64G 84M 60G 1% /media/pi/Storage1
/dev/sda12 64G 4.1G 56G 7% /media/pi/prjroot7
/dev/sda11 65G 25G 37G 41% /media/pi/root-rbp2
/dev/sda14 64G 52M 60G 1% /media/pi/prjroot11
/dev/sda15 64G 52M 60G 1% /media/pi/prjroot21
/dev/sda16 64G 52M 60G 1% /media/pi/prjroot31
/dev/sda17 64G 52M 60G 1% /media/pi/prjroot41
/dev/sda18 64G 52M 60G 1% /media/pi/prjroot51
/dev/sda19 66G 52M 62G 1% /media/pi/prjroot61
/dev/sda9 67G 2.9G 61G 5% /media/pi/root_raspx1 `
The oses before the last project space are correct. The HDD shows up as sda now instead of sdb
The reason why i asked if it is ok in any order is because I have prjroot 01, then next is prjroot 7, then prjroot 11 to prjroot61
And you put the first project space as prjroot7
No not really but it might make it more consistent to put them in the same order.
Sent from my Samsung device
-------- Original message -------- From: darkplatinum notifications@github.com Date: 04/11/2018 16:22 (GMT+00:00) To: procount/pinn pinn@noreply.github.com Cc: procount kevin@procount.co.uk, Author author@noreply.github.com Subject: Re: [procount/pinn] How to restore dead SD card used to boot a HDD? (#195)
Does it matter what order the project spaces are in? here is df -h: /dev/sda6 69G 18G 47G 28% /media/pi/root1 /dev/sda13 64G 52M 60G 1% /media/pi/prjroot01 /dev/sda7 70G 6.2G 60G 10% /media/pi/root_gen1 /dev/sda8 75G 15G 57G 21% /media/pi/root0 /dev/sda10 64G 84M 60G 1% /media/pi/Storage1 /dev/sda12 64G 4.1G 56G 7% /media/pi/prjroot7 /dev/sda11 65G 25G 37G 41% /media/pi/root-rbp2 /dev/sda14 64G 52M 60G 1% /media/pi/prjroot11 /dev/sda15 64G 52M 60G 1% /media/pi/prjroot21 /dev/sda16 64G 52M 60G 1% /media/pi/prjroot31 /dev/sda17 64G 52M 60G 1% /media/pi/prjroot41 /dev/sda18 64G 52M 60G 1% /media/pi/prjroot51 /dev/sda19 66G 52M 62G 1% /media/pi/prjroot61 /dev/sda9 67G 2.9G 61G 5% /media/pi/root_raspx1
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/procount/pinn","title":"procount/pinn","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/procount/pinn"}},"updates":{"snippets":[{"icon":"PERSON","message":"@darkplatinum in #195: Does it matter what order the project spaces are in? here is df -h: \r\n\r\n/dev/sda6 69G 18G 47G 28% /media/pi/root1\r\n/dev/sda13 64G 52M 60G 1% /media/pi/prjroot01\r\n/dev/sda7 70G 6.2G 60G 10% /media/pi/root_gen1\r\n/dev/sda8 75G 15G 57G 21% /media/pi/root0\r\n/dev/sda10 64G 84M 60G 1% /media/pi/Storage1\r\n/dev/sda12 64G 4.1G 56G 7% /media/pi/prjroot7\r\n/dev/sda11 65G 25G 37G 41% /media/pi/root-rbp2\r\n/dev/sda14 64G 52M 60G 1% /media/pi/prjroot11\r\n/dev/sda15 64G 52M 60G 1% /media/pi/prjroot21\r\n/dev/sda16 64G 52M 60G 1% /media/pi/prjroot31\r\n/dev/sda17 64G 52M 60G 1% /media/pi/prjroot41\r\n/dev/sda18 64G 52M 60G 1% /media/pi/prjroot51\r\n/dev/sda19 66G 52M 62G 1% /media/pi/prjroot61\r\n/dev/sda9 67G 2.9G 61G 5% /media/pi/root_raspx1\r\n
"}],"action":{"name":"View Issue","url":"https://github.com/procount/pinn/issues/195#issuecomment-435683434"}}}
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/procount/pinn/issues/195#issuecomment-435683434",
"url": "https://github.com/procount/pinn/issues/195#issuecomment-435683434",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [procount/pinn] How to restore dead SD card used to boot a HDD? (#195)",
"sections": [
{
"text": "",
"activityTitle": "darkplatinum",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@darkplatinum",
"facts": [
] } ], "potentialAction": [ { "name": "Add a comment", "@type": "ActionCard", "inputs": [ { "isMultiLine": true, "@type": "TextInput", "id": "IssueComment", "isRequired": false } ], "actions": [ { "name": "Comment", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"procount/pinn\",\n\"issueId\": 195,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}" } ] }, { "name": "Close issue", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"procount/pinn\",\n\"issueId\": 195\n}" }, { "targets": [ { "os": "default", "uri": "https://github.com/procount/pinn/issues/195#issuecomment-435683434" } ], "@type": "OpenUri", "name": "View on GitHub" }, { "name": "Unsubscribe", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 406012190\n}" } ], "themeColor": "26292E" } ]
Ok, Ill continue placing them in some sort of order.
Im doing the final checks and i think i see issues with the mmcblk numbers. let me double check
No idea why te project space 1 is going into code format even though i did not select it.
Does it look like }, and { need to be the same indentation? My original os json file shows it?
No idea why te project space 1 is going into code format even though i did not select it.
You need to put the whole file into code blocks to avoid this. Attaching the file by dragging it onto the post may be better. JSON parsers are a bit pinickity about the format (e.g. missing commas etc) but indentation should not matter.
The original file you posted did not retain any formatiing, so I adjusted it a bit to make it readable. If there is a problem with the formatting you could start again with your original file and just replace the 2nd partition file for each OS to map it to the HDD as I did.
I'll have a look at your last posted file now I'm home.
And how do I save the .json file? When i try to save it, it says "Can't open file to write". If you post my posted file after making any changes to it. Thanks.
Your posted file passed the JSON lint checker so it should be ok. If it can't be read you'll probably have no installed OSes listed. The partitions look ok to me.
Do you mean you are having trouble saving the installed_os.json file to /media/pi/SETTINGS/installed_os.json?
Yes, I have saved it to my desktop. Should i log i as root and try again?
It should not be necessary to login as root, but it might be mounted readonly. In a terminal window try
sudo mount -o remount,rw /media/pi/SETTINGS
and then try copying it again. You can do it from the terminal with something like:
cp /home/pi/<desktop?>/installed_os.json /media/pi/SETTINGS
No harm in adding a sudo at the front if that doesn't work.
So I can go ahead and reboot the Pi now?
Yep Then you need to rerun the partition_setup script from the fix up ment on one Raspbian OS to test it works.
Ok here goes nothing... will report back...
I forgot to say - Before you re-run the partition setup script - set the destination drive to the HDD.
Raspbian 1 ok, raspbian 2, I'm getting an error, "failed to start kernel modules" the mouse and keyboard not working.
The GUI loads up on raspbian 2 but I get that error on boot
But you don't get the error on Raspbian 1?
Ok, I ran the partition setup with the other OS. The retropie setup succeeded, Gentoo failed, LIBRE ELEC suceeded, raspex suceeded, all project spaces say cannot find setup script for projects space, Maybe insert source USB stick.
Pro count uh I need help. So basically last night I shutdown my raspberry pi 3B+, turned it on this morning and nothing happens. I plugged the SD card into a reader on my Mac and the card could not be initialised. I am thinking the card is dead. Basically I had the boot on the SD card, and installed the OS on a HDD. The HDD still works. How can I get the Raspberry pi working again?
Thanks DarkPlatinim