On Mon, 10 Jan 2011, David Demelier wrote:
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 ?
If you didn't do 'sysctl kern.geom.debugflags=16', it should give a
warning. But maybe not in that case.
I'd think it's a mistake to install bootcode to a slice, but gpart says
you can do it provided you use -p and -i.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"