booting from wrong disk

PJ af.gourmet at
Thu Oct 15 16:13:08 UTC 2009

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 at mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"
add another thought...

If I change the mbr on the ad12 then mount ad4s1a to /mnt copy
/mnt/boot/boot0 to /boot/boot0.tmp and then copy the modified
/boot/boot0 (for ad4) back to /mnt/boot/ and then umount ad4s1a --- I
should be ok, OK? Have I got it?

More information about the freebsd-questions mailing list