Re: FreeBSD 10.0-RC3 Now Available

看板FB_current作者時間12年前 (2013/12/28 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串19/20 (看更多)
On Fri, Dec 27, 2013 at 03:33:23PM +0100 I heard the voice of Mathieu Arnold, and lo! it spake thus: > > All you have to do is adapt it to run your particular setup, > replacing da0 with the correct disk (and running it for each disk > where your pool is, in my case, it was mfid0 and mfid1.) I've taken to just dumping a rewrite-bootcode.sh script in /boot/ on systems. That way I don't have to remember or re-figure the invocation, or worry about typos, or whatnot. Makes it easy to just kick the script after every installworld whether I really need it or not, without having to think about it. e.g., % cat /boot/rewrite-bootcode.sh #!/bin/sh -x for i in /dev/ada0 /dev/ada1; do gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ${i} done -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream. _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1IlS1UBk (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1IlS1UBk (FB_current)