Re: Boot Loader Issue

2013-06-24 Thread Warren Block
On Sun, 23 Jun 2013, Doug Hardie wrote: On 23 June 2013, at 20:39, Warren Block wrote: On Sun, 23 Jun 2013, Doug Hardie wrote: I had to convert a system from GPT to MBR. All went fine till I tried to reboot the system. It gets to mountroot and dies trying to mount from ufs:/dev/ada0p2.

Re: Boot Loader Issue

2013-06-23 Thread Polytropon
On Sun, 23 Jun 2013 21:35:20 -0700, Doug Hardie wrote: > > On 23 June 2013, at 20:39, Warren Block wrote: > > The loader should be getting that information from /etc/fstab. Have the > > entries there been changed? > > That was the problem. The system used GPT before and I can't > believe I fo

Re: Boot Loader Issue

2013-06-23 Thread Doug Hardie
On 23 June 2013, at 20:39, Warren Block wrote: > On Sun, 23 Jun 2013, Doug Hardie wrote: > >> I had to convert a system from GPT to MBR. All went fine till I tried to >> reboot the system. It gets to mountroot and dies trying to mount from >> ufs:/dev/ada0p2. That won't work. > > The load

Re: Boot Loader Issue

2013-06-23 Thread Warren Block
On Sun, 23 Jun 2013, Michael Sierchio wrote: On Sun, Jun 23, 2013 at 4:12 PM, Polytropon wrote: On Sun, 23 Jun 2013 15:47:53 -0700, Doug Hardie wrote: I need to alter mountroot so it tries the right partition/slice. How do I do that? I couldn't find anything in the handbook on that. You ne

Re: Boot Loader Issue

2013-06-23 Thread Warren Block
On Mon, 24 Jun 2013, Polytropon wrote: On Sun, 23 Jun 2013 15:47:53 -0700, Doug Hardie wrote: I need to alter mountroot so it tries the right partition/slice. How do I do that? I couldn't find anything in the handbook on that. You need to install the GPT boot code, e. g. # gpart add

Re: Boot Loader Issue

2013-06-23 Thread Warren Block
On Sun, 23 Jun 2013, Doug Hardie wrote: I had to convert a system from GPT to MBR. All went fine till I tried to reboot the system. It gets to mountroot and dies trying to mount from ufs:/dev/ada0p2. That won't work. The loader should be getting that information from /etc/fstab. Have the

Re: Boot Loader Issue

2013-06-23 Thread Michael Sierchio
On Sun, Jun 23, 2013 at 4:12 PM, Polytropon wrote: > On Sun, 23 Jun 2013 15:47:53 -0700, Doug Hardie wrote: >> I need to alter mountroot so it tries the right partition/slice. >> How do I do that? I couldn't find anything in the handbook on that. > > You need to install the GPT boot code, e. g. >

Re: Boot Loader Issue

2013-06-23 Thread Polytropon
On Sun, 23 Jun 2013 15:47:53 -0700, Doug Hardie wrote: > I need to alter mountroot so it tries the right partition/slice. > How do I do that? I couldn't find anything in the handbook on that. You need to install the GPT boot code, e. g. # gpart add -t freebsd-boot -l gpboot -b 40 -s 512

Boot Loader Issue

2013-06-23 Thread Doug Hardie
I had to convert a system from GPT to MBR. All went fine till I tried to reboot the system. It gets to mountroot and dies trying to mount from ufs:/dev/ada0p2. That won't work. If I enter ufs:/dev/ada0s1a then the system boots fine and runs. I need to alter mountroot so it tries the right