TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: VINCE COEN
from: CHRIS ELVIDGE
date: 2019-01-03 23:38:00
subject: Re: 3B+ new install with

On 03/01/2019 06:06, Vince Coen wrote:
> Hello All!
>
> A few weeks ago I bought and installed a new computer - a Pi 3B+
> I also installed a 1 Tb hard drive connected via a powered USB Caddy.
>
> Then I tried to follow the instructions to copy over the NOOBS system to it
> which failed badly using my
> Magiea v6 Linux system so used the Rasbian CD copier to copy to the HDD and
> this finished without any
> reported errors.
>
> How ever trying to boot to the HDD did not happen so I guess the CD copier
did
> not do the job.
>
> Any one with ideas of how to create a NEW HDD using the SD card that is no
> longer as a fresh install as
> there has been many updates.
>
> I can install the HDD into my system and have a SD card reader as well as a
> adapter for the baby card
> used in the Pi.  The problem appears to be the tool to use.
>
>
> Currently the existing usb  HDD is using only two partitions having clean
what
> was created up a bit,
> namely a swap partition with the rest as /home
>
> I mount it at / where user pi and myself have our home directories but
clearly
> this is a bit of a bodge
> as it still boots to the SD card as near as I can tell.
>
> Would be handy to speed the thing up as all system tools, libraries etc are
> used via the SD card.
>
> I do want to run the Pi as a backup to my main system as I have installed a
> bbs (mbse), apache, samba,
> mysql servers and yes have noticed it is not that quick :)
>
> Could do with more Ram, Sata or two ports, USB 3.x+ ports but I am guessing I
> am wishing for the
> impossible.
>
> It is a pity there is not a Pi +++ version with these extras even if it costs
> more
>
> Any other minor issue is that the OS is ony 32bit as I could not find a x64
> version any where which I
> think would help to speed some process up a tad.
>
> Any one with any ideas as I have run out.
>
> Thanks for any help,
>
> Vince
>

I use a Pi3+ with a 5Tb powered HDD for media data (NTFS), a 120Gb M2
NGFF in USB enclosure for system (BTRFS) and 2Gb SD card for /boot.
I used rsync -avx to copy the system (except boot) to the SSD and then
changed cmdline.txt to refer to the UUID of the SSD partition.

New cmdline.txt (note there must be no line breaks) (note root=PARTUUID=):

dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1
root=PARTUUID=b23968df-fe3a-4a6d-aa38-4eac23db856e rootfstype=btrfs
elevator=deadline fsck.repair=yes rootwait quiet splash
plymouth.ignore-serial-consoles net.ifnames=0 biosdevname=0

New fstab:

# cat /etc/fstab
# disk setup
#NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
#sda           8:0    0 119.2G  0 disk
#├─sda1        8:1    0     2G  0 part [SWAP]
#└─sda2        8:2    0 117.2G  0 part /
#mmcblk0     179:0    0   1.9G  0 disk
#└─mmcblk0p1 179:1    0   1.9G  0 part /boot

proc    /proc   proc    defaults        0 0

# this is /dev/mmcblk0p1 - used for booting - see below
#/dev/mmcblk0p1: LABEL="boot" UUID="DDAB-3A15" TYPE="vfat"
PARTUUID="00b6388a-01"

# vfat boot partition
/dev/mmcblk0p1  /boot   vfat    defaults        0 2

#/dev/sda1: LABEL="swap" UUID="63d874be-dbe6-49b1-8796-aedb55e0ab39"
TYPE="swap" PARTLABEL="Linux swap"
PARTUUID="ac357f3a-5b14-43dc-8b6b-ac1594183fd8"
#/dev/sda2: LABEL="root" UUID="3e90c9df-302a-4ed2-847d-0852fd05d83e"
UUID_SUB="242af7a8-dbc0-4ade-a6da-7fe6b7ec347e" TYPE="btrfs"
PARTLABEL="Linux filesystem" PARTUUID="b23968df-fe3a-4a6d-aa38-4eac23db856e"

# swap partition on USB "disk" sda1
PARTUUID=ac357f3a-5b14-43dc-8b6b-ac1594183fd8   none    swap    defaults
        0 0

# btrfs root partition on USB "disk" sda2
PARTUUID=b23968df-fe3a-4a6d-aa38-4eac23db856e   /               btrfs
defaults,noatime,compress       0 1

I took the setup instructions from here:
https://syonyk.blogspot.com/2018/03/project-pi3desk-building-awesome-pi3.html
and here:
https://hackmd.io/FP-7sHiPTJGaJvzSa3nw8A#

HIH


--

Chris Elvidge, England

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.