Date: Fri, 04 Sep 2015 10:14:09 +0900 From: maruyama@ism.ac.jp (=?iso-2022-jp?B?GyRCNF07M0Q+PjsbKEI=?=) To: freebsd-users-jp@freebsd.org Subject: [FreeBSD-users-jp 95602] grub-install (gpart bug?) Message-ID: <ydld1xzyoim.fsf@indra.ism.ac.jp> In-Reply-To: <ydlzj14od8u.fsf@indra.ism.ac.jp> (maruyama@ism.ac.jp)
next in thread | previous in thread | raw e-mail | index | archive | help
$BE}7W?tM}8&5f=j$N4];3$G$9!#(B https://bugs.pcbsd.org/issues/10904 $B$GLdBj$K$7$F$$$k(BPCBSD10.2$B$N%$%s%9%H!<(B $B%i!<$N%P%0$G$9$,!"0lHU9M$($F$_$F!"$d$C$Q$j??HH?M$OJL$N$h$&$J5$$,$7$F$-$^(B $B$7$?!#:#;d$,5?$C$F$$$k$N$O!"(B grub-install $B$G$9!#$=$3$G(B grub $B$K>\$7$$J}$K(B $B$*?R$M$7$^$9!#>u67$O0J2<$N$h$&$K$J$C$F$$$^$9!#(B 1. PCBSD$B$,%$%s%9%H!<%k$5$l$kNN0h(B % gpart show ada0 => 63 1000215153 ada0 MBR (477G) 63 1985 - free - (993K) 2048 3069952 1 ntfs [active] (1.5G) 3072000 409600000 2 ntfs (195G) 412672000 550678528 - free - (263G) 963350528 36861952 3 ntfs (18G) 1000212480 2736 - free - (1.3M) $B$H$J$C$F$$$k>uBV$N%G%#%9%/$K(BPCBSD10.2$B$r%$%s%9%H!<%k$7$h$&$H$7$^$9!#(B ada0s1, ada0s2, ada0s3 $B$O(B Windows 7$B$,@jNN$7$F$$$^$9!#(B263G$B$N6u$-NN0h$K%$(B $B%s%9%H!<%k$7$h$&$H$9$k$H!"%$%s%9%H!<%i!<$O$3$3$r(B ada0s4 $B$K$7$F!"(B % gpart show ada0s4 => 0 550678464 ada0s4 BSD (263G) 0 546549760 1 freebsd-zfs (261G) 546549760 4096000 2 freebsd-swap (2.0G) 550645760 32704 - free - (16M) % ls -alg /dev/ada0s4* crw-r----- 1 root operator 0x65 Aug 7 21:28 /dev/ada0s4 crw-r----- 1 root operator 0x5e Aug 7 21:28 /dev/ada0s4a crw-r----- 1 root operator 0x6a Aug 7 21:28 /dev/ada0s4b $B$N$h$&$J>uBV$K$7$^$9!#(B 2. $B%$%s%9%H!<%k$N?J9T(B $B%$%s%9%H!<%i!<$O(B /dev/ada0s4a $B$K(B zfs$B%U%!%$%k%7%9%F%`$r:n$j!"(B/mnt $B$K%^%&(B $B%s%H$7$F(B pkg -c /mnt add xxxx.txz $B$GI,MW$J%=%U%H$r%$%s%9%H!<%k$7$F$f$-$^(B $B$9!#(B 3. grub $B$N@_Dj(B pkg -c /mnt add $B$,0lCJMn$9$k$H!"(B chroot /mnt grub-install --force /dev/ada0 chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg $B$H$7$F(B grub $B$N@_Dj$r9T$$$^$9!#(B 4. $B%$%s%9%H!<%k=*N;8e(B $B$3$l$G0l8+%$%s%9%H!<%k$O@.8y$7$?$h$&$K8+$($^$9$,!"(B reboot $B$7$F$_$k$H!"(B $B0J2<$N$h$J>u67$G!"E~Dl@5>o$H$O;W$$$($^$;$s!#(B $B$3$3$G<ALd$G$9!#(B 3. $B$N(Bgrub $B$N@_Dj$O$3$l$G@5$7$$$N$G$7$g$&$+!#8=>]$+$i8+(B $B$k$H!"$I$3$+$N2aDx$G(B ada0s4 $B$N(B BSD label $B$,GK2u$5$l$F$$$k$o$1$G$9$,!"$=(B $B$NHH?M$H$7$F!";d$,;W$$Ev$?$k$N$O(B gpart, glabel, grub-install$B$N(B3$B$D$7$+$"(B $B$j$^$;$s!#(B $B$J$*!"$3$N0lO"$N:n6H$G$O(B lenovo x230 $B$r;H$C$F$$$^$9$,!"5!<o$K$OL54X78$J(B $BLdBj$@$H;W$C$F$$$^$9!#$^$?(B ada1 $B$K$O(B PCI SSD disk $B$rA}@_$7$F$$$^$9$,!"$=(B $B$l$b4X78$,$"$k$H$O;W$($^$;$s!#(B $B$h$m$7$/!#(B Thu, 03 Sep 2015 04:03:13 +0900 maruyama@ism.ac.jp ($B4];3D>>;(B) writes: >3. $B$7$+$7%$%s%9%H!<%k8e$K:F5/F0$9$k$H!"(B >[maruyama@samanta{75}] ~% ls -alg /dev/ada0* >crw-r----- 1 root operator 0x58 9$B7n(B 1 19:46 /dev/ada0 >crw-r----- 1 root operator 0x5a 9$B7n(B 1 19:46 /dev/ada0s1 >crw-r----- 1 root operator 0x5c 9$B7n(B 1 19:46 /dev/ada0s2 >crw-r----- 1 root operator 0x5e 9$B7n(B 1 19:46 /dev/ada0s3 >crw-r----- 1 root operator 0x60 9$B7n(B 1 19:46 /dev/ada0s4 > >$B$H$J$C$F(B ada0s4a, ada0s4b $B$O>C$($F$7$^$$!"(BRC1, RC2$B$G$O%$%s%9%H!<%k%7%9%F(B >$B%`$O5/F0$G$-$^$;$s!#(B10.2RELEASE$B$G$O!"%$%s%9%H!<%k$r;O$a$kA0$KNN0h$r$9$Y(B >$B$F%<%m%/%j%"$9$k$h$&$K$7$?$?$a$+!"(B zfs $B$O6J$j$J$j$K$b%^%&%s%H$G$-$^$9$,!"(B > >[root@samanta{118}] ~# zpool status > pool: tank > state: ONLINE >status: Some supported features are not enabled on the pool. The pool > can > still be used, but some features are unavailable. >action: Enable all features using 'zpool upgrade'. Once this is done, > the pool may no longer be accessible by software that does not > support > the features. See zpool-features(7) for details. > scan: none requested >config: > > NAME STATE READ WRITE CKSUM > tank ONLINE 0 0 0 > ada0s4 ONLINE 0 0 0 > >errors: No known data errors > >$B$H$$$&$N$O$I$&$K$bG<F@$G$-$^$;$s!#(B zfs $B$O(B ada0s4a $B$K:n$C$?$O$:$J$N$K!#(B > >$B5$$K$J$kE@$O%$%s%9%H!<%k3+;OA0$K(B > >kern.geom.debugflags: 0 -> 16 > >$B$r$d$C$F$$$kE@$G$9!#(Bkern.geom.debugflags=16 $B$N;~$K$@$1;Q$rI=$9FC<l$J%P%0(B >$B$+$bCN$l$^$;$s!#(B > >$B$3$N7o$K$D$$$F!"$I$J$?$+?4Ev$?$j$O$"$j$^$;$s$+!)(B > >-------- >$B4];3D>>;!wE}7W?tM}8&5f=j(B
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ydld1xzyoim.fsf>