Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Mounting on another system to modify /boot/device.hints

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    5 Posts 2 Posters 1.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      opethfan
      last edited by

      Howdy. I'm setting up a new rig with a VIA Nano CPU and the latest 2.2 RC (although this isn't really a 2.2-specific issue)
      FreeBSD's Intel HDA audio driver doesn't play nice with VIA hardware, and hard-locks the system. For installation, I can exit to the boot prompt to set hint.hdac.0.disabled="1" as described here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=163164

      However, on first boot of the new install, my USB keyboard isn't recognized in the BTX bootloader, and after the 2 second countdown it boots and crashes in the same spot. I can't seem to get the bootloader to recognize the keyboard (maybe a BIOS issue?)

      So I thought I would mount the pfSense install on another machine and edit /boot/device.hints there, but I'm struggling to get it to go. My main system runs openSUSE 13.2, and refuses to mount the ufs2 volume. Booting from the drive on my main system via a USB to SATA adapter causes the FreeBSD boot to say it can't find the volume.

      What's the easiest way I can mount this device to add one line to one file? Thanks.

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        You can use a live bsd cd (or usb key) such as pc-bsd or ghostbsd or even the pfsense install cd. All will read ufs.
        That hint should be put in /boot/loader.conf.local which will need to be created.

        Steve

        1 Reply Last reply Reply Quote 0
        • O
          opethfan
          last edited by

          Thanks, I'll check that out. I'll admit my newbiness and say that though I tried booting from a FreeBSD install CD on my primary machine, I couldn't create a mount point using mkdir as the live CD is a read-only device. Should I go RTFM?

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Hmm. The only time I've had to do this I used GhostBSD, because I had the CD to hand, and I don't remember having any difficulties. I think I just opened the drive in the GUI file manager. Something behind the scenes took care of the mount point.

            Steve

            1 Reply Last reply Reply Quote 0
            • O
              opethfan
              last edited by

              Holy moley GhostBSD is really nice! And worked perfectly, thanks!

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.