NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Disk label problem?



On Mon, 13 Jun 2022, Ted Spradley wrote:

Any suggestions how to fix in place?


If you cam convert your MBR to GPT, and label the GPT partitions, then
you can use those labels instead of device-names:

$ cat /boot.cfg
[...]
menu=Boot TEST:gop 0;rndseed /var/db/entropy-file;boot NAME=NetBSD_test:
menu=Boot TEST single user:rndseed /var/db/entropy-file;boot NAME=NetBSD_test: -s

$ cat /etc/fstab
NAME=NetBSD_test        /               ffs     rw,log,noatime  1 1
NAME=NetBSD_swap        none            swap    sw,dp
[...]

-RVP


Home | Main Index | Thread Index | Old Index