System partitions to hard disk
From Wiki at Neela Nurseries
- 2017-12-20 WED -
Ted backing up existing Raspberry Pi 2 Debian system image, which entails a vfat parition and a root file system partition formatted as type ext4. Utility cfdisk shows . . .
cfdisk (util-linux 2.20.1) Disk Drive: /dev/sde Size: 15811477504 bytes, 15.8 GB Heads: 64 Sectors per Track: 32 Cylinders: 15079 Name Flags Part Type FS Type [Label] Size (MB) ------------------------------------------------------------------------------------------------------------ Pri/Log Free Space 4.20 sde1 Primary vfat [boot] 43.84 * Pri/Log Free Space 0.21 * sde2 Primary ext4 15763.25 [ Help ] [ New ] [ Print ] [ Quit ] [ Units ] [ Write ] Create new partition from free space
Now looking to desktop PC (host system) disks for empty partitions, may be a couple unused on the hard disk holding Linux From Scratch book 8.1 work. Ted shrinking formatted 60GB /var from LFS project, shrinking this partition down to about 50GB. Ted now noting what is on the 43MB boot partition of the microSD card from Raspberry Pi 2 board on hand . . .
ted@localhost:/mnt/rpi-boot$ ls -l total 21197 -rwxr-xr-x 1 root root 18693 Aug 21 2015 COPYING.linux -rwxr-xr-x 1 root root 1494 Nov 18 2015 LICENCE.broadcom -rwxr-xr-x 1 root root 18974 Aug 16 00:22 LICENSE.oracle -rwxr-xr-x 1 root root 15660 May 15 2017 bcm2708-rpi-0-w.dtb -rwxr-xr-x 1 root root 15456 May 15 2017 bcm2708-rpi-b-plus.dtb -rwxr-xr-x 1 root root 15197 May 15 2017 bcm2708-rpi-b.dtb -rwxr-xr-x 1 root root 14916 May 15 2017 bcm2708-rpi-cm.dtb -rwxr-xr-x 1 root root 16523 May 15 2017 bcm2709-rpi-2-b.dtb -rwxr-xr-x 1 root root 17624 May 15 2017 bcm2710-rpi-3-b.dtb -rwxr-xr-x 1 root root 16380 May 15 2017 bcm2710-rpi-cm3.dtb -rwxr-xr-x 1 root root 50248 Aug 11 16:03 bootcode.bin -rwxr-xr-x 1 root root 142 Jan 1 1980 cmdline.txt -rwxr-xr-x 1 root root 1590 Aug 15 23:29 config.txt -rwxr-xr-x 1 root root 6688 Aug 11 16:03 fixup.dat -rwxr-xr-x 1 root root 2594 Aug 11 16:03 fixup_cd.dat -rwxr-xr-x 1 root root 9834 Aug 11 16:03 fixup_db.dat -rwxr-xr-x 1 root root 9830 Aug 11 16:03 fixup_x.dat -rwxr-xr-x 1 root root 145 Aug 16 00:22 issue.txt -rwxr-xr-x 1 root root 4381216 Aug 11 16:03 kernel.img -rwxr-xr-x 1 root root 4581064 Aug 11 16:03 kernel7.img drwxr-xr-x 2 root root 10240 Aug 15 23:22 overlays -rwxr-xr-x 1 root root 2868132 Aug 11 16:03 start.elf -rwxr-xr-x 1 root root 666404 Aug 11 16:03 start_cd.elf -rwxr-xr-x 1 root root 5007204 Aug 11 16:03 start_db.elf -rwxr-xr-x 1 root root 3952100 Aug 11 16:03 start_x.elf ted@localhost:/mnt/rpi-boot$ cat issue.txt Raspberry Pi reference 2017-08-16 Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, aaaf0aea13f1e4f0375c31c87d7389299228598d, stage2 ted@localhost:/mnt/rpi-boot$
References