Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Oct 2004 11:58:26 -0600
From:      Gary Aitken <garya@dreamchaser.org>
To:        cristobalmiguelo2@yahoo.com
Cc:        questions@freebsd.org
Subject:   Re: Booting to CD and the handing off to HD
Message-ID:  <4176A742.7040006@dreamchaser.org>

next in thread | raw e-mail | index | archive | help
Cristobal,

I may have missed some followups to this thread,
hope this isn't redundant.

If you copy /boot/boot1 to someplace like /root,
chmod 500 to make it executable
and do an
   exec /root/boot1
the system will reboot the hard drive,
eleminating all bios checks for boot sequence
and bypassing the cd boot preference.

I haven't gone through a complete sequence of what you need to make
this work (i.e. burning a cd, etc)
What I have tested is:

Dual boot system with microsoft boot loader,
Windows 2000 on first partition
FreeBSD 5.3b7 on second partition

Boot FreeBSD single user
exec /root/boot1

There may be all sorts of gotchas in this which you will have to
work out, but I think it's a path that might work.

Hope this helps

Gary

> I'm going to be working on a firewall box where I want to boot to CD
> and run an integrity check on the Hard Drive.  If the Hard Drive checks
> out OK, I want the CD to then hand off to the hard drive and boot the
> hard drive.
>
> Is that possible?   What man pages and/or web pages should I read to
> make it happen?
>



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