Copying an OS to a SSD
#1
This is probably not the normal way to do it, but I installed the mrfixit image to an SD, updated it to Buster, seems to work fine.  Now I'm trying to copy it to my 1 TB Intel SSD.
I made a 1 GB (generous) FAT32 partition and a 200 GB ext4 with gparted on the SSD.  Then following piclone's example I used cp -ar to copy the files in the partitions on the SD to the SSD.  Then edited the root= specification in extlinux.conf on it to the nvme path.

But it doesn't boot, it boots the eMMC instead.  My notes:
Code:
ssd: Device        Boot  Start      End  Sectors  Size Id Type /dev/nvme0n1p1        2048  2050047  2048000  1000M  b W95 FAT32 /dev/nvme0n1p2      2050048 411650047 409600000 195.3G 83 Linux sd: Device    Boot  Start      End  Sectors  Size Id Type /dev/sda1  *    32768  163839  131072  64M  c W95 FAT32 (LBA) /dev/sda2  *    262144 62333951 62071808 29.6G 83 Linux Mounted the sd on /sd mounted the ssd on /mnt cp -ar /sd/* /mnt umount /sd umount /mnt mount /dev/nvme0n1p2 /mnt mount /dev/sda2 /sd cp -ar /sd/* /mnt [wait] root@pbp:/usr# umount /mnt root@pbp:/usr# umount /sd root@pbp:/usr# mount /dev/nvme0n1p1 /mnt joe /mnt/extlinux/extlinux.conf root=/dev/nvme0n1p2 twice including the bak, important


I copied a Raspberry Pi SD to a USB hard drive and got it booting this way once.  Maybe I forgot something here.

Duh, forgot up update the /etc/fstab on the SSD, working on that but it's time to eat.


Messages In This Thread
Copying an OS to a SSD - by ab1jx - 10-20-2020, 05:37 PM
RE: Copying an OS to a SSD - by wdt - 10-20-2020, 08:58 PM
RE: Copying an OS to a SSD - by ab1jx - 10-20-2020, 09:56 PM
RE: Copying an OS to a SSD - by ab1jx - 10-21-2020, 06:27 AM
RE: Copying an OS to a SSD - by ab1jx - 10-21-2020, 01:42 PM
RE: Copying an OS to a SSD - by ab1jx - 10-21-2020, 06:53 PM
RE: Copying an OS to a SSD - by ab1jx - 10-31-2020, 04:42 PM
RE: Copying an OS to a SSD - by ab1jx - 11-29-2020, 05:16 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)