Netgate SG-1000 microFirewall

Author Topic: Pfsense Nanobsd flash image with rufus  (Read 291 times)

0 Members and 1 Guest are viewing this topic.

Offline Steven_be

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Pfsense Nanobsd flash image with rufus
« on: December 21, 2017, 08:34:49 pm »
Hi all,

I worked with Pfsense before and had no problems with installing or configuring this software.
But now I run into a problem

I am trying to image a microsd memory card with nanobsd 2.3.5. with Rufus. According to the guidelines on the Pfsense website. Rufus images the flash card and messages a correct installation. Still the partitions are not shown in Windows. Only in disk management they are shown without drive indication. Is this correct?

Still when I try to boot this flashcard it wont work. Anybody else has this problem or has an solution for this problem?

I also tried Windows disk imager but the problem  is the same.

3 partitions are created
2 data partions, 1 boot partition
the bootpartion is at the end of all partitions




Offline johnkeates

  • Hero Member
  • *****
  • Posts: 739
  • Karma: +57/-1
    • View Profile
Re: Pfsense Nanobsd flash image with rufus
« Reply #1 on: December 22, 2017, 04:32:23 am »
You cannot see the partition in windows. Windows isn't smart enough to do that. It can only see MBR and GPT, and only basic stuff like FAT and NTFS.

Offline Steven_be

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Pfsense Nanobsd flash image with rufus
« Reply #2 on: December 22, 2017, 06:13:32 am »
Hi John,

There is a boot partition created in GPT or MBR, shouldn't at least that be visible?

It is not clear to me if there is something wrong with the nanobsd image or with the partition created with Rufus?

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 21486
  • Karma: +1456/-26
    • View Profile
Re: Pfsense Nanobsd flash image with rufus
« Reply #3 on: December 22, 2017, 08:11:51 am »
Don't try using anything in Windows to read/understand the drive format, it just won't.

Unless Rufus mangled the image somehow, it should be fine. It's important that the exact nanobsd disk image you downloaded be written bit for bit exactly to the target card.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline johnkeates

  • Hero Member
  • *****
  • Posts: 739
  • Karma: +57/-1
    • View Profile
Re: Pfsense Nanobsd flash image with rufus
« Reply #4 on: December 22, 2017, 08:48:22 am »
Hi John,

There is a boot partition created in GPT or MBR, shouldn't at least that be visible?

It is not clear to me if there is something wrong with the nanobsd image or with the partition created with Rufus?

Nope, windows can't see that.

Offline Steven_be

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Pfsense Nanobsd flash image with rufus
« Reply #5 on: December 23, 2017, 07:32:20 am »
Don't try using anything in Windows to read/understand the drive format, it just won't.

Unless Rufus mangled the image somehow, it should be fine. It's important that the exact nanobsd disk image you downloaded be written bit for bit exactly to the target card.

Hi Jimp,

I have one image, when writing this to the disk it creates 3 partitions. One of them is the boot partition, the to others are data partitions. My thought is that the data partition must be readable as the file system is MBR or GPT.

I am trying to run the image on a raspberry pi. This doesn't boot.

Offline ptt

  • Hero Member
  • *****
  • Posts: 2315
  • Karma: +389/-46
    • View Profile
Re: Pfsense Nanobsd flash image with rufus
« Reply #6 on: December 23, 2017, 08:04:36 am »

I am trying to run the image on a raspberry pi. This doesn't boot.



It won't boot, it is for x86 HW (not for ARM)

Offline johnkeates

  • Hero Member
  • *****
  • Posts: 739
  • Karma: +57/-1
    • View Profile
Re: Pfsense Nanobsd flash image with rufus
« Reply #7 on: December 23, 2017, 09:00:34 am »
There is no Raspberry Pi pfSense image. Not gonna work.

Offline DeLorean

  • Full Member
  • ***
  • Posts: 147
  • Karma: +19/-0
    • View Profile
Re: Pfsense Nanobsd flash image with rufus
« Reply #8 on: January 01, 2018, 07:15:42 pm »
I found rufus to much whistles and bells for simply imaging a MicroSD or CF card,
and always used Win32 Disk Imager which has a simple interface.

After all the previous attemps, it's best to reset the MicroSD to a clean state (formatting is not enough).
Download Win32 Disk Imager :
https://sourceforge.net/projects/win32diskimager/

Download Western Digital Data Lifeguard Diagnostic for Windows :
https://support.wdc.com/downloads.aspx?lang=en

After download and installation of the Western Digital program, plug the MicroSD card in your computer/laptop
Open Western Digital Data Lifeguard Diagnostic , and accept the user agreement and click next.
Select from the list your MicroSD card and click the yellow icon and choose "erase".
Ignore the warnings and proceed, and choose "Quick erase".
This takes a few seconds to a few minutes.
When ready, close the Western Digital program and go to Windows diskmanagement.
The MicroSD card will appear as RAW, richtclick on the MicroSD and choose to format,
and select quick and Fat32.

Your card is now clean and ready to proceed for the next step

Open Win32 Disk Imager and choose the driveletter that corresponds with your MicroSD card,
click on the diskette icon and browse to the location of your .IMG file and click write.
This writing can take a while, depending on the speed of your MicroSD.

If the MicroSD card boots, and everything is set up, then you can take a image also with the
Win32 Disk Imager tool.
You must then select the diskette icon, select a location where you want to store your image,
and type a name for your image.
Then click the button "read", and the imaging will start.

Grtz
DeLorean