Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 2009 12:07:17 -0400
From:      PJ <af.gourmet@videotron.ca>
To:        freebsd-questions@freebsd.org, Polytropon <freebsd@edvax.de>
Subject:   Re: booting from wrong disk
Message-ID:  <4AD748B5.8020504@videotron.ca>
In-Reply-To: <4AD74198.9010301@videotron.ca>
References:  <4AD74198.9010301@videotron.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
PJ wrote:
> While trying to learn and understand the dump-retore process, I messed
> up the ad4s1a partition and could not boot. To fix it I restored a
> dumpfile of ad12s1a which is, for all intents and purposes, the same as
> ad4s1a. I then boot from ad4 and surprise, surprise...
> #df shows we have been booted from ad12 and all partitions are ad12....
> Booting from ad12s1a gives exactly the same results.
> So, how can I get ad4s1a to boot from ad4?
> I imagine it is something in the boot files... but how to fix that?
> _______________________________________________
> 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"
>   
I see from the boot process that this should fix it...
# fdisk -B -b /boot/boot0 ad4
but...
how do I get this onto the right disk? If I boot from ad4 or ad12 and
change the mbr, then it will be the ad12 that will be booting from ad4
and vice versa... or have I got it wrong? But in the end, I suppose it
really doesn't matter, or does it?



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