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

    Attempting PFI install from CD using USB disk for config has failure on fsck

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    3 Posts 3 Posters 2.0k 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.
    • E
      exetrix
      last edited by

      Hi,
      I'm attempting to prepare a backup machine for our firewall using the instructions for Pre-Flight Install from the Definitive Guide. I'm using a recently burned CD image of 2.0.
      It recognised the SanDisk Cruzer flash drive and saw the config file  config.xml during boot, and showed this on the console.
      I selected Recovery Install, and selected da0 as the device from the list offered, which it had clearly identified as a USB device.
      It bombed out saying:
      /sbin/fsck -t ufs -y /dev/da0s1a; /bin/mkdir /tmp/hdrescue; /sbin/mount /dev/da0s1a /tmp/hdrescue
      FAILED with a return code of 1
      /dev/da0s1a: No such file or directory Cannot stat /dev/da0s1a… blah blah

      I accepted the View Log option and paged thru, seeing that it had successfully performed fdisk on /dev/da0 and detected a 32-bit FAT (LBA) filesystem, and seen the config file.

      I am puzzled completely by the command it failed on, as it knows it's not a UFS filesystem, and the device file it tried to use is not obvious either.
      Any ideas?

      TIA
      Steve

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        The mount command probably failed, it's saying it can't find /dev/da0s1a

        Are you sure that memory stick is properly formatted/partitioned? You might try a different stick, or completely zero the drive out and then (in windows) use disk manager to redo the partition and then have it reformat the stick.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • W
          wallabybob
          last edited by

          @jimp:

          The mount command probably failed, it's saying it can't find /dev/da0s1a

          Because the slice is formatted with FAT32 there will be no a partition. It is probably the fsck that is failing because there is no FreeBSD a partition in a FAT32 slice.

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