Re: CFR: backup GPT header support in pmbr and loader(8) (Re:

看板FB_current作者時間13年前 (2012/06/14 21:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/6 (看更多)
2012/6/14 Andrey V. Elsukov <ae@freebsd.org>: > Also, our PMBR image doesn't contain any partition entries and > writing it to the disk with dd(1) makes the system unbootable. > What you think if we will add one partition entry to the PMBR image? > I modified your patch (the last hunk added) and it is attached. Isn't it gpart(8)'s job to write the proper boot code from the pmbr image without damaging the partition table ? ie. "gpart bootcode -b /boot/pmbr ada0" instead of using dd. --=20 Olivier Smedts=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0 _ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 ASCII ribbon campaign ( ) e-mail: olivier@gid0.org=A0 =A0 =A0 =A0 - against HTML email & vCards=A0 X www: http://www.gid0.org=A0 =A0 - against proprietary attachments / \ =A0 "Il y a seulement 10 sortes de gens dans le monde : =A0 ceux qui comprennent le binaire, =A0 et ceux qui ne le comprennent pas." _______________________________________________ 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): #1FsUVI87 (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1FsUVI87 (FB_current)