Re: FreeBSD boot menu is missing

2008-11-28 Thread Rick C. Petty
On Thu, Nov 27, 2008 at 11:45:10AM +0100, Dag-Erling Smørgrav wrote: > > Just make sure you leave a few unallocated blocks at the end of the disk > (for gmirror metadata). In most cases, this happens automatically, Well, you only need to leave room for 512 bytes or one hard drive sector, in the

Re: FreeBSD boot menu is missing

2008-11-28 Thread Dag-Erling Smørgrav
"Garrett Cooper" <[EMAIL PROTECTED]> writes: > That's a good brief guide, but a lot of the information is already > contained in: > . That's five years out of date, and even five years ago it was a ridiculously compli

Re: FreeBSD boot menu is missing

2008-11-27 Thread Kevin Day
On Nov 27, 2008, at 2:30 PM, Garrett Cooper wrote: On Thu, Nov 27, 2008 at 12:03 PM, Kevin Day <[EMAIL PROTECTED]> wrote: Just in case anyone needs a real step-by-step guide to getting a diskless PXE/NFS boot going, I wrote this up a little while ago. http://sigsegv.org/wiki/How_to_do_a_PXE

Re: FreeBSD boot menu is missing

2008-11-27 Thread Garrett Cooper
On Thu, Nov 27, 2008 at 12:03 PM, Kevin Day <[EMAIL PROTECTED]> wrote: > > On Nov 27, 2008, at 1:44 PM, Dag-Erling Smørgrav wrote: >> >> I wouldn't use a sysinstall script. >> >> Set up a file system (say /nfsroot) on an NFS server in your lab. > > > Just in case anyone needs a real step-by-step gu

Re: FreeBSD boot menu is missing

2008-11-27 Thread Kevin Day
On Nov 27, 2008, at 1:44 PM, Dag-Erling Smørgrav wrote: I wouldn't use a sysinstall script. Set up a file system (say /nfsroot) on an NFS server in your lab. Just in case anyone needs a real step-by-step guide to getting a diskless PXE/NFS boot going, I wrote this up a little while ago.

RE: FreeBSD boot menu is missing

2008-11-27 Thread Peter Steele
>I wouldn't use a sysinstall script. Yeah, I should probably have done it that way but I inherited the existing sysinstall framework from someone else and ended up extending it to use gmirror. I know more about this area now and I'd like to redo the whole thing, avoiding sysinstall. That will h

Re: FreeBSD boot menu is missing

2008-11-27 Thread Dag-Erling Smørgrav
"Peter Steele" <[EMAIL PROTECTED]> writes: > The problem is I was unable to get multiple slices defined in a > sysinstall config script. I tried many variations of parameters to > pump into diskPartitionEditor and diskLabelEditor so that we could > create three slices during the install but I could

RE: FreeBSD boot menu is missing

2008-11-27 Thread Peter Steele
>So what you do, instead, is make sure there is a little space left over >at the end of the slice that you create in the first step. Then, once >gmirror is available, you gmirror label the slice, then gmirror insert >the corresponding slice on the other disk(s), and gmirror rebuild. No >copying i

Re: FreeBSD boot menu is missing

2008-11-27 Thread Dag-Erling Smørgrav
"Peter Steele" <[EMAIL PROTECTED]> writes: > Dag-Erling Smørgrav <[EMAIL PROTECTED]> writes: > > Mirroring the entire slice is far simpler. If you mirror individual > > partitions, you have to label them *before* you newfs them. > What we're really trying to accomplish is an automated install via

RE: FreeBSD boot menu is missing

2008-11-27 Thread Peter Steele
>Mirroring the entire slice is far simpler. If you mirror individual >partitions, you have to label them *before* you newfs them. What we're really trying to accomplish is an automated install via a PXE boot server. Unfortunately gmirror isn't available in mfsroot at the point the file systems

Re: FreeBSD boot menu is missing

2008-11-27 Thread Dag-Erling Smørgrav
"Peter Steele" <[EMAIL PROTECTED]> writes: > Man, I wish I'd known this. I built a whole automated framework around > this, assuming you couldn't set up the initial mirror drive with a live > file system. I'll have to try your solution; it is definitely the way to > go. We are dealing with identica

RE: FreeBSD boot menu is missing

2008-11-26 Thread Peter Steele
>He had you install a stock MBR on the second disk. You never copied >the boot loader from the first disk, so that's what you're going to >use when you boot from the second disk. You need to install the boot >block you want on the second disk. Which probably means >boot0. boot0cfg will do that for

Re: FreeBSD boot menu is missing

2008-11-26 Thread Mike Meyer
On Wed, 26 Nov 2008 14:46:44 -0800 "Peter Steele" <[EMAIL PROTECTED]> wrote: > >The phrase "and copy the file systems over to the mirror" worries > >me. Do you actually copy the file systems, or do you let the mirror > >system do it for you? In particular, are you mirroring file systems or > >the

RE: FreeBSD boot menu is missing

2008-11-26 Thread Peter Steele
>The phrase "and copy the file systems over to the mirror" worries >me. Do you actually copy the file systems, or do you let the mirror >system do it for you? In particular, are you mirroring file systems or >the entire disk? Because the boot blocks aren't part of any file >system, so you won't hav

Re: FreeBSD boot menu is missing

2008-11-26 Thread Mike Meyer
On Wed, 26 Nov 2008 10:46:29 -0800 "Peter Steele" <[EMAIL PROTECTED]> wrote: > I have a procedure for converting a FreeBSD box to use a mirrored slice > for the OS. Everything working fine except that after I've made the > conversion I am no longer getting the normal boot menu, the one that > coun

FreeBSD boot menu is missing

2008-11-26 Thread Peter Steele
I have a procedure for converting a FreeBSD box to use a mirrored slice for the OS. Everything working fine except that after I've made the conversion I am no longer getting the normal boot menu, the one that counts down 10 seconds waiting for the user to pick on option. I see a single line sh