Date: Thu, 10 Jul 2014 20:02:45 -0600 (MDT) From: Warren Block <wblock@wonkity.com> To: Luciano Mannucci <luciano@vespaperitivo.it> Cc: freebsd-questions@freebsd.org Subject: Re: Repairing boot Message-ID: <alpine.BSF.2.11.1407102001050.68085@wonkity.com> In-Reply-To: <20140710163016.D9D3C499@hub.freebsd.org> References: <20140710151359.58BB2A64@hub.freebsd.org> <alpine.BSF.2.11.1407100919210.92272@wonkity.com> <20140710163016.D9D3C499@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 10 Jul 2014, Luciano Mannucci wrote: > 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. That is an unfamiliar error to me. If you post the exact output, someone may recognize it. >> 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 This looks okay. Could you post the output of 'file -s /dev/ada0p2'?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.11.1407102001050.68085>