Ghost for FreeBSD
vince at oahu.WURLDLINK.NET
Wed Sep 3 14:21:14 PDT 2003
On Wed, 3 Sep 2003, Ruben de Groot wrote:
> On Wed, Sep 03, 2003 at 07:58:35AM -0700, Joshua Oreman typed:
> > > Ok; what you have done is made a dump on the root mirror device; great! But
> > > how do I now tell FreeBSD to use that "restored" partition as /? Edit
> > > /etc/fstab to effect the change for the next boot? I have a nagging
> > > suspicion it will then still boot off the old / slice.
> > Ah, that's right. You have to edit /etc/fstab *AND* tell the kernel. I'm not
> > sure exactly what you need to do to boot from a different root device; maybe
> > someone will fille me in?
> You'll have to edit /etc/fstab on the mirror root partition. Then you'll
> have to tell the BIOS to boot disk1 instead of disk0. If your BIOS doesn't
> support this, you're out of luck. You'll have to switch cables then.
> If it does, no kernel changes necessary.
Never thought about the BIOS but if he installed the FreeBSD Boot
Manager on both drives, then all he has to do to boot the second drive is
he has to hit the key to select the second drive when the Boot Manager
shows up prior to FreeBSD booting. The switching cables or even replacing
the original drive with the second drive is really only if the main drive
dies or if you wanted to use a different drive like greater capacity,
faster, etc or you didn't like the brandname of the drive for some reason.
Vince - vince at WURLDLINK.NET - Vice President ________ __ ____
Unix Networking Operations - FreeBSD-Real Unix for Free / / / / | / |[__ ]
WurldLink Corporation / / / / | / | __] ]
San Francisco - Honolulu - Hong Kong / / / / / |/ / | __] ]
HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____]
Almighty1 at IRC - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin
More information about the freebsd-questions