DragonFly BSD
DragonFly users List (threaded) for 2013-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: How do I make a new disk bootable?


From: Francis GUDIN <fgudin@xxxxxxxxxx>
Date: Wed, 19 Jun 2013 14:30:08 +0000 (UTC)

Le 17-06-2013, Pierre Abbat <phma@bezitopo.org> a écrit :
> Darner has three disks: ad0 is the old IDE disk, ad4 is the SATA disk which 
> has everything that was on ad0, and ad6 is the other SATA disk. It uses ad0 
> only for booting; I'd like to get rid of it. So I typed:
> # boot0cfg -B /dev/ad4
> (actually the /dev/serno equivalent), turned it off, disconnected the power 
> from ad0, and rebooted. It gave an F1 menu. I hit F1, and it beeped.
>
> I'm guessing that slice 1, which is active, needs something written to sector 
> 0 to make it bootable. How do I do this?

Exactly: disklabel -B ad4s1 should do.

Regards,
-- 
fgudin@sdf-eu.org
SDF-EU Public Access UNIX System - http://sdf-eu.org



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]