Copying an OS to a SSD
#4
OK, this seems odd.  I created the partitions in gparted but remembered that I hadn't specified mountpoints in it.  There's no place to do that.  There is for the eMMC, I don't see why one has them and the other doesn't.



   



Notice this doesn't show mount point options



   



The exclamation point has to do with not finding superblocks.  Gparted isn't quite right in places, I knew that.



   



There are superblocks:

Code:
mke2fs -n /dev/nvme0n1p2
mke2fs 1.43.4 (31-Jan-2017)
/dev/nvme0n1p2 contains a ext4 file system labelled 'Linux'
last mounted on /mnt on Wed Oct 21 00:39:06 2020
Proceed anyway? (y,N) y
Creating filesystem with 51200000 4k blocks and 12804096 inodes
Filesystem UUID: 8b8f8fc5-edb8-465f-b3d3-cc7d3907bbbc
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872



There's nothing I have to do to set the boot order as I recall.
Actually I'm not sure what mke2fs is really doing here.  I think it isn't actually finding superblocks, it's calculating the locations based on drive size, block size, etc.  It's more theoretical than an observation.

Probably the right thing to do is study man pages, blow away this partition, write a little script that feeds all the right arguments to mke2fs (and fdisk), then copy the contents in from the sd again.  It usually takes me a few tries before I get a drive set up the way I want it.  Seeing that eMMCs are starting to fail ups the priority, I can't use one of those forever.




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)