Re: Repairing boot

看板FB_questions作者時間11年前 (2014/07/11 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/6 (看更多)
On Thu, 10 Jul 2014 09:25:58 -0600 (MDT) Warren Block <wblock@wonkity.com> wrote: > > # gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0 Ok, done. Now I get: Invalid format. (a serie of numbers) BTX halted. > > There might still be a problem booting if /etc/fstab refers to disks > rather than labels and the disk numbers have changed. If that happens, > please show the output of 'gpart show' and the contents of /etc/fstab. luke@puffo:~ % gpart show => 0 7892992 da0 BSD (3.8G) 0 1433920 1 freebsd-ufs (700M) 1433920 6459072 - free - (3.1G) => 34 625142381 ada0 GPT (298G) 34 6 - free - (3.0k) 40 128 1 freebsd-boot (64k) 168 608174080 2 freebsd-ufs (290G) 608174248 16967680 3 freebsd-swap (8.1G) 625141928 487 - free - (243k) luke@puffo:~ % cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/ada0p2 / ufs rw 1 1 /dev/ada0p3 none swap sw 0 0 Luciano. -- /"\ /Via A. Salaino, 7 - 20144 Milano (Italy) \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG / \ AND POSTINGS / WWW: http://www.lesassaie.IT/ _______________________________________________ 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"
文章代碼(AID): #1JljJVMr (FB_questions)
文章代碼(AID): #1JljJVMr (FB_questions)