Re: [pfSense] MBR restore

2017-06-30 Thread Steve Yates
Restoring the config will install packages on the new device, also, as I recall.


-Original Message-
From: List [mailto:list-boun...@lists.pfsense.org] On Behalf Of WebDawg
Sent: Friday, June 30, 2017 10:15 AM
To: pfSense Support and Discussion Mailing List <list@lists.pfsense.org>
Subject: Re: [pfSense] MBR restore

To pile on.  The config is manually editable also.

In fact sometimes you have to edit it when moving to new hardware because
the interface names are not the same.

It is by far the best way to move a pfsense install...

On Fri, Jun 30, 2017 at 10:35 AM, Steve Yates <st...@teamits.com> wrote:

> If you can log into the old one, use Diagnostics/Backup & Restore to
> download the config.  Restore it to the new one and it will prompt to remap
> the interfaces (WAN=em0, etc).
>
> Searching, it looks like the file on disk is /conf/config.xml?
>
> --
>
> Steve Yates
> ITS, Inc.
>
> -Original Message-
> From: List [mailto:list-boun...@lists.pfsense.org] On Behalf Of Nicola
> Ferrari (#554252)
> Sent: Friday, June 30, 2017 9:31 AM
> To: list@lists.pfsense.org
> Subject: Re: [pfSense] MBR restore
>
> On 30/06/2017 16:20, Steve Yates wrote:
> >  Even if the config wasn't exported (the original died) it might be
> faster to copy the file off the drive from wherever it lives?
> >
>
> Thanks Steve for your suggestion.
> I'm not an expert in PfSense.. What file(s) do we need to trasfer from
> the original install, to restore config in a new one?
>
> N
> ___
> pfSense mailing list
> https://lists.pfsense.org/mailman/listinfo/list
> Support the project with Gold! https://pfsense.org/gold
>
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


Re: [pfSense] MBR restore

2017-06-30 Thread WebDawg
To pile on.  The config is manually editable also.

In fact sometimes you have to edit it when moving to new hardware because
the interface names are not the same.

It is by far the best way to move a pfsense install...

On Fri, Jun 30, 2017 at 10:35 AM, Steve Yates <st...@teamits.com> wrote:

> If you can log into the old one, use Diagnostics/Backup & Restore to
> download the config.  Restore it to the new one and it will prompt to remap
> the interfaces (WAN=em0, etc).
>
> Searching, it looks like the file on disk is /conf/config.xml?
>
> --
>
> Steve Yates
> ITS, Inc.
>
> -Original Message-
> From: List [mailto:list-boun...@lists.pfsense.org] On Behalf Of Nicola
> Ferrari (#554252)
> Sent: Friday, June 30, 2017 9:31 AM
> To: list@lists.pfsense.org
> Subject: Re: [pfSense] MBR restore
>
> On 30/06/2017 16:20, Steve Yates wrote:
> >  Even if the config wasn't exported (the original died) it might be
> faster to copy the file off the drive from wherever it lives?
> >
>
> Thanks Steve for your suggestion.
> I'm not an expert in PfSense.. What file(s) do we need to trasfer from
> the original install, to restore config in a new one?
>
> N
> ___
> pfSense mailing list
> https://lists.pfsense.org/mailman/listinfo/list
> Support the project with Gold! https://pfsense.org/gold
>
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


Re: [pfSense] MBR restore

2017-06-30 Thread Steve Yates
If you can log into the old one, use Diagnostics/Backup & Restore to download 
the config.  Restore it to the new one and it will prompt to remap the 
interfaces (WAN=em0, etc).

Searching, it looks like the file on disk is /conf/config.xml?

--

Steve Yates
ITS, Inc.

-Original Message-
From: List [mailto:list-boun...@lists.pfsense.org] On Behalf Of Nicola Ferrari 
(#554252)
Sent: Friday, June 30, 2017 9:31 AM
To: list@lists.pfsense.org
Subject: Re: [pfSense] MBR restore

On 30/06/2017 16:20, Steve Yates wrote:
>  Even if the config wasn't exported (the original died) it might be faster to 
> copy the file off the drive from wherever it lives?
> 

Thanks Steve for your suggestion.
I'm not an expert in PfSense.. What file(s) do we need to trasfer from
the original install, to restore config in a new one?

N
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


Re: [pfSense] MBR restore

2017-06-30 Thread Nicola Ferrari (#554252)
On 30/06/2017 16:28, Paul Mather wrote:
> Boot a FreeBSD 10.3 installer image (either CD/DVD or memstick image), 
> depending upon your hardware.  You can download them from here: 
> https://www.freebsd.org/where.html 
> 
> The install media supports a "Live" mode.
> 

Thanks Paul! Really a good news!

Nick


-- 
+-+
| Linux User  #554252 |
+-+

___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


Re: [pfSense] MBR restore

2017-06-30 Thread Nicola Ferrari (#554252)
On 30/06/2017 16:20, Steve Yates wrote:
>  Even if the config wasn't exported (the original died) it might be faster to 
> copy the file off the drive from wherever it lives?
> 

Thanks Steve for your suggestion.
I'm not an expert in PfSense.. What file(s) do we need to trasfer from
the original install, to restore config in a new one?

N


-- 
+-+
| Linux User  #554252 |
+-+

___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


Re: [pfSense] MBR restore

2017-06-30 Thread Paul Mather
On Jun 30, 2017, at 10:11 AM, Nicola Ferrari (#554252)  
wrote:

> On 30/06/2017 16:04, Eric Landry wrote:
>> You could always write a new boot0 to your disk. If you load a FreeBSD disc 
>> and run the following command on your pfsense hard disk.
>> 
>> fdisk -B -b /boot/boot0 device
>> 
>> Where device is your pfsense drive.
>> 
>> This should do the trick.
>> 
>> Source: https://www.freebsd.org/doc/handbook/boot-introduction.html
>> 
>> Hope this helps!
> 
> Thanks to everybody!
> Sure it helps, that's what I was looking for.
> 
> Do you have any experience about what Live CD we could use to restore boot0?
> 
> This seems to be a deprecated project:
> http://livecd.sourceforge.net/
> 
> but this one seems to be more recent:
> http://www.freesbie.org/
> 
> Do you have any suggestion?


Boot a FreeBSD 10.3 installer image (either CD/DVD or memstick image), 
depending upon your hardware.  You can download them from here: 
https://www.freebsd.org/where.html 

The install media supports a "Live" mode.

Cheers,

Paul.

___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


Re: [pfSense] MBR restore

2017-06-30 Thread Steve Yates
Agreed that is likely the easiest way.  Installation is fast and config restore 
trivial.  Even if the config wasn't exported (the original died) it might be 
faster to copy the file off the drive from wherever it lives?

--

Steve Yates
ITS, Inc.

-Original Message-
From: List [mailto:list-boun...@lists.pfsense.org] On Behalf Of Kostas Backas
Sent: Friday, June 30, 2017 6:17 AM
To: list@lists.pfsense.org; pfSense Support and Discussion Mailing List 
<list@lists.pfsense.org>
Subject: Re: [pfSense] MBR restore

Maybe install a fresh version and restore a backup?

Kostas

Sent from my iPhone

From: List <list-boun...@lists.pfsense.org> on behalf of Nicola Ferrari 
(#554252) <nick-li...@posteo.eu>
Sent: Friday, June 30, 2017 2:02:47 PM
To: list@lists.pfsense.org
Subject: [pfSense] MBR restore

Hi guys!

I'm writing here since one of my collegues had to move a pfsense install
to new hardware, so imaged the pfsense using clonezilla but forgot to
enable the option to save MBR also.

So, after restoring the image, pfSense is no more able to boot.

What's the best way to restore the MBR on an existing and
already-configured pfSense install?

Thanks to everybody!
Nick

___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


Re: [pfSense] MBR restore

2017-06-30 Thread Nicola Ferrari (#554252)
On 30/06/2017 16:04, Eric Landry wrote:
> You could always write a new boot0 to your disk. If you load a FreeBSD disc 
> and run the following command on your pfsense hard disk.
> 
> fdisk -B -b /boot/boot0 device
> 
> Where device is your pfsense drive.
> 
> This should do the trick.
> 
> Source: https://www.freebsd.org/doc/handbook/boot-introduction.html
> 
> Hope this helps!

Thanks to everybody!
Sure it helps, that's what I was looking for.

Do you have any experience about what Live CD we could use to restore boot0?

This seems to be a deprecated project:
http://livecd.sourceforge.net/

but this one seems to be more recent:
http://www.freesbie.org/

Do you have any suggestion?

Thanks again!
Nick


-- 
+-+
| Linux User  #554252 |
+-+

___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


Re: [pfSense] MBR restore

2017-06-30 Thread Eric Landry
You could always write a new boot0 to your disk. If you load a FreeBSD disc and 
run the following command on your pfsense hard disk.

fdisk -B -b /boot/boot0 device

Where device is your pfsense drive.

This should do the trick.

Source: https://www.freebsd.org/doc/handbook/boot-introduction.html

Hope this helps!

-Original Message-
From: List [mailto:list-boun...@lists.pfsense.org] On Behalf Of Kostas Backas
Sent: Friday, June 30, 2017 6:17 AM
To: list@lists.pfsense.org; pfSense Support and Discussion Mailing List
Subject: Re: [pfSense] MBR restore

Maybe install a fresh version and restore a backup?

Kostas

Sent from my iPhone

From: List <list-boun...@lists.pfsense.org> on behalf of Nicola Ferrari 
(#554252) <nick-li...@posteo.eu>
Sent: Friday, June 30, 2017 2:02:47 PM
To: list@lists.pfsense.org
Subject: [pfSense] MBR restore

Hi guys!

I'm writing here since one of my collegues had to move a pfsense install to new 
hardware, so imaged the pfsense using clonezilla but forgot to enable the 
option to save MBR also.

So, after restoring the image, pfSense is no more able to boot.

What's the best way to restore the MBR on an existing and already-configured 
pfSense install?

Thanks to everybody!
Nick


--
+-+
| Linux User  #554252 |
+-+

___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold 
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


Re: [pfSense] MBR restore

2017-06-30 Thread Kostas Backas
Maybe install a fresh version and restore a backup?

Kostas

Sent from my iPhone

From: List <list-boun...@lists.pfsense.org> on behalf of Nicola Ferrari 
(#554252) <nick-li...@posteo.eu>
Sent: Friday, June 30, 2017 2:02:47 PM
To: list@lists.pfsense.org
Subject: [pfSense] MBR restore

Hi guys!

I'm writing here since one of my collegues had to move a pfsense install
to new hardware, so imaged the pfsense using clonezilla but forgot to
enable the option to save MBR also.

So, after restoring the image, pfSense is no more able to boot.

What's the best way to restore the MBR on an existing and
already-configured pfSense install?

Thanks to everybody!
Nick


--
+-+
| Linux User  #554252 |
+-+

___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


[pfSense] MBR restore

2017-06-30 Thread Nicola Ferrari (#554252)
Hi guys!

I'm writing here since one of my collegues had to move a pfsense install
to new hardware, so imaged the pfsense using clonezilla but forgot to
enable the option to save MBR also.

So, after restoring the image, pfSense is no more able to boot.

What's the best way to restore the MBR on an existing and
already-configured pfSense install?

Thanks to everybody!
Nick


-- 
+-+
| Linux User  #554252 |
+-+

___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold