Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2017 20:33:59 -0700
From:      Elxa Kiltse <whereisalext@gmail.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   new GPT/UFS ssd drive not booting
Message-ID:  <CAO5s6PkH7QByfKP=RQnehnx4-kCKbjcLF9=0Hij--xBL4ajn4w@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello,

    I installed a new ssd, following the instructions at:

http://www.wonkity.com/~wblock/docs/html/ssd.html

It all went fine, but when I try to boot the system it says:


Trying to mount root from ufs:/dev/ufs/gptroot
ROOT MOUNT ERROR:
If you have invalid mount options, reboot, and first try the following from
the loader prompt:
  set vfs.root.mountfrom.options=rw

Loader variables:
vfs.root.mountfrom=ufs:/dev/ufs/gptroot
vfs.root.mountfrom.options=rw


"gpart show" gives me this on the original hdd:

=>        34  5860533101  ada1  GPT  (2.7T)

          34          64     1  (null)  (32K)

          98        1950        - free -  (975K)

        2048     2097152     2  gptroot  (1.0G)

     2099200     8388608     3  (null)  (4.0G)

    10487808    83886080     4  gptusr  (40G)

    94373888  5766159247     5  gpthome  (2.7T)


the ssd gpart looks like this:


=>        34  1953525101  ada0  GPT  (932G)

          34           6        - free -  (3.0K)

          40        1024     1  ssdboot  (512K)

        1064         984        - free -  (492K)

        2048     4194304     2  ssdrootfs  (2.0G)

     4196352  1048576000     3  ssdvarfs  (500G)

  1052772352   900752783     4  ssdusrfs  (430G)


I modified my /boot/loader.conf with these lines:


vfs.root.mountfrom=ufs:/dev/gpt/ssdrootfs

vfs.root.mountfrom.options=rw


but still no luck. Even with the loader.conf lines it's still trying to
load /dev/ufs/gptroot. Any idea how I can get the ssd to be recognized by
the loader system?


Thanks



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAO5s6PkH7QByfKP=RQnehnx4-kCKbjcLF9=0Hij--xBL4ajn4w>