Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Aug 2005 14:21:58 -0700
From:      Glenn Dawson <glenn@antimatter.net>
To:        rsh.lists@comcast.net
Cc:        freebsd-questions@freebsd.org
Subject:   Re: boot problem (stage 2 boot?)
Message-ID:  <6.2.3.4.2.20050827141554.04e436d0@cobalt.antimatter.net>
In-Reply-To: <4310D765.8030403@comcast.net>
References:  <431064F5.2020508@comcast.net> <6.2.3.4.2.20050827125557.05abd7d0@cobalt.antimatter.net> <4310D765.8030403@comcast.net>

next in thread | previous in thread | raw e-mail | index | archive | help
At 02:13 PM 8/27/2005, Sean wrote:
>Glenn Dawson wrote:
>>At 06:04 AM 8/27/2005, Sean wrote:
>>
>>>Just installed on a new system and I am unable to boot.
>>>
>>>Currently when that system boots it comes up with what looks like 
>>>the following example from the handbook
>>>
>>> >> FreeBSD/i386 BOOT
>>>Default: 0:ad(0,a)/kernel
>>>boot:
>>>
>>>from my reading this is a boot2 stage
>>>
>>>booting from cd and going into Fixit it fdisk shows partition 1, 
>>>2, and 3 unused, and Freebsd is on partition 4.
>>>I thought it should be on partition 1?
>>
>>How did you arrange the file systems when you installed.  Did you 
>>use the defaults, or your own layout?
>>The defaults would have given you 5 partitions inside of the first 
>>slice.  For example:
>>ad0s1a - /
>>ad0s1b - swap
>>ad0s1d - /var
>>ad0s1e - /tmp
>>ad0s1f - /usr
>>Did you not use the 'a' partition for your root file 
>>system?  Second stage boot code only knows how to find third stage 
>>on the 'a' partition.
>>More details on your installation would help in trying to figure 
>>out what the problem is.
>>-Glenn
>>
>>>Note: on install I choose the Standard boot manager.
>>>
>>>I have tried playing with fdisk and disklabel to try to cure this 
>>>problem, but continually get the example shown above.
>>>With none of the above efforts working I have tried changing the 
>>>boot manager and no luck, both by reinstalling and just by using 
>>>sysinstall to modify the boot manager.I did get F1 FreeBSD when 
>>>trying the FreeBSD boot manager option, but it still did not start the system.
>>>
>>>
>>>Thanks
>>>Sean
>
>I created the above partitions you listed manually and specified to 
>my choice sizes, and i did choose 'a', or entire disk on creation.

The "entire disk" option is in the screen that lest you create 
slices, which is completely different from the screen that lets you 
create your partitions. (a, b, d, e, f, etc)

Keep in mind that what is called a "partition" in other OS's is 
called a slice in FreeBSD.

You mentioned above that FreeBSD was installed in partition 
4.  Assuming that's slice 4, are the device names something like 
/dev/ads4x. where the x is the partition.


>No matter how I approach this problem I always wind up in the same place.
>I am guessing now that the MBR has a problem.

I doubt there's nothing wrong with the MBR per se, but if it's 
looking in the wrong place for the third stage loader you'll see 
exactly the problem you have.

-Glenn


>Thanks
>Sean
>_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.2.3.4.2.20050827141554.04e436d0>