gpart bootcode manually
David Demelier
markand at live.fr
Mon Jan 10 16:56:09 UTC 2011
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
More information about the freebsd-questions
mailing list