Date: Mon, 10 Jan 2011 17:55:53 +0100 From: David Demelier <markand@live.fr> To: freebsd-questions@freebsd.org Subject: gpart bootcode manually Message-ID: <BLU0-SMTP153015D673D1DC6F054D339A80E0@phx.gbl>
next in thread | raw e-mail | index | archive | help
Hello, Because I wanted to crypt a /home partition, I tried to make my partition and slice using gpart in the fixit environment. There is the partition I've made : Fixit # gpart show ad0 => 63 625142385 ad0 MBR (298G) 63 625142385 1 freebsd [active] (298G) Fixit # gpart show ad0s1 => 0 625142385 ad0s1 BSD (298G) 0 63 - free - (32K) 63 1048576 1 freebsd-ufs (512M) 1048639 4194304 2 freebsd-swap (2.0G) 5242943 524288 4 freebsd-ufs (256M) 5767231 524288 5 freebsd-ufs (256M) 6291519 20971520 6 freebsd-ufs (10G) 27263039 597879346 7 freebsd-ufs (285G) To install the boot1, I tried this : gpart bootcode -b /mnt2/boot/boot1 ad2s1 gpart bootcode -b /mnt2/boot/boot1 ad2 But nothing happens, there is not the / spinning, just a blinking underscore. What did I wrong ? Cheers, -- David Demelier
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BLU0-SMTP153015D673D1DC6F054D339A80E0>