Re: How to move netbsd to another drive?

[email protected]
Newsgroups gmane.os.netbsd.ports.x86-64,gmane.os.netbsd.ports.i386
Message-ID <[email protected]>
>>> man dd
>> That doesn't always work.  I got an unmountable, unreadable file system
>> when$

Assuming the new filesystem is formatted and mountable and you just want
to migrate, why not use pax as described in the RAID guide:

16.3.7. Migrating System to RAID[s/RAID/new file system/]

# mount /dev/raid0a /mnt
# df -h /mnt
Filesystem        Size       Used      Avail %Cap Mounted on
/dev/raid0a       8.9G       2.0K       8.5G   0% /mnt
# cd /; pax -v -X -rw -pe . /mnt
[NOTE - does not cross mount points - need to repeat in each mount directory]
[...snip...]
The NetBSD install now exists on the RAID filesystem.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.