Re: How to move netbsd to another drive?

[email protected] (Michael van Elst) Fri, 15 May 2020 17:14:40 -0000 (UTC)
Newsgroups gmane.os.netbsd.ports.i386
Organization Serpens User Group
Message-ID <[email protected]>
[email protected] ("Thomas Mueller") writes:

>from [email protected]:

>> man dd

>That doesn't always work.  I got an unmountable, unreadable file system when I dd'ed from a disk effectively with 512-byte sectors to a disk with 4096-byte sectors not pretending to be 512 bytes.

True.

First the filesystem cannot handle fragments smaller than a sector.

And second, if fragments are at least sector size you still need to
fix up the superblock, which you can do with tunefs -S,


-- 
-- 
                                Michael van Elst
Internet: [email protected]
                                "A potential Snark may lurk in every tree."