Here is my fstab. It still does not work. Does the entire fstab need to be rewritten? I found gpt in section 8. I believe my system (and all drives) are booted by a UEFI menu that comes up when the machine restarted.
# NetBSD /etc/fstab # See /usr/share/examples/fstab/ for more examples. /dev/wd0a / ffs rw 1 1 /dev/wd0e /usr ffs rw 1 2 /dev/wd0f /var ffs rw 1 2 # /dev/wd0b none swap sw,dp 0 0 /dev/wd0b none swap sw 0 0 tmpfs /tmp tmpfs rw,-m=1777,-s=ram%10 kernfs /kern kernfs rw ptyfs /dev/pts ptyfs rw procfs /proc procfs rw /dev/cd0a /cdrom cd9660 ro,noauto tmpfs /var/shm tmpfs rw,-m1777,-sram%25 # ROOT.a / ffs rw,log 1 1 # ROOT.b swap swap sw 0 0 ROOT.a=NetBSD_9.2 / ffs rw,noatime 1 1 ROOT.b=NetBSD_swap none swap sw,dp On Mon, May 31, 2021 at 3:43 AM Thomas Mueller <mueller6...@twc.com> wrote: > > from Todd Gruhn: > > > I know nothing about GPT. How do I know I can do this? > > > On Sun, May 30, 2021 at 6:40 PM RVP <r...@sdf.org> wrote: > > > > On Sun, 30 May 2021, Todd Gruhn wrote: > > > > > I got back to this. I still cant get it > > > > Here is the link to a message from David Brownlee: > > > > > https://mail-index.netbsd.org/netbsd-users/2020/09/28/msg025785.html > > > > > It totally slipped my mind. I have since updated to NetBSD-9.2. > > > > I still cant get anything to work here... > > > > If you have GPT, then you can just use the GPT labels: > > > > $ fgrep NAME /etc/fstab > > > NAME=NetBSD_9.2 / ffs rw,noatime 1 1 > > > NAME=NetBSD_swap none swap sw,dp > > $ > > > -RVP > > Rod Smith was perhaps my first reference on GPT: http://rodsbooks.com > > Rod Smith explains GPT, wrote a program, gdisk (gptfdisk). > > NetBSD uses gpt in the base system as does DragonFlyBSD; FreeBSD has their > own gpart which partitions for both GPT and MBR. > > GPT labels provide a dependable, consistent way to identify disk partitions, > more dependable than /dev/sd*, /dev/wd*, /dev/dk* which can vary from one > boot or USB stick insertion to the next. > > With GPT, there is no distinction between primary and logical partitions as > with MBR, and no need for traditional BSD disklabels, which I am glad to be > rid of. > > GPT default allows 128 partitions on a disk, which is usually more than > enough. > > Tom > >