root on zfs - pri bootu musim rucne zadat /boot/loader

Jan Jurák yan.jurak at gmail.com
Sat Aug 6 23:05:25 CEST 2022


ahoj

predpokladam ze efi loader nemas moznost nastavit ze

ja jen ze by odpadly by slozitosti s bootcody v particich staci bootfs a
proces se preda kernelu v poolu

Best regards
Jan Jurák

Dne so 6. 8. 2022 13:02 uživatel Radek Krejča <radek.krejca at starnet.cz>
napsal:

> Ahoj,
>
>
> Zkus pridat jeste informace, co ti vypise "zpool status" a "gpart show",
> pak se muzeme trochu odpichnout.
>
>
> zpool status
>
>    pool: storage
>   state: ONLINE
> config:
>
>      NAME                            STATE     READ WRITE CKSUM
>      storage                         ONLINE       0     0     0
>        diskid/DISK-429e204111440909  ONLINE       0     0     0
>        da1                           ONLINE       0     0     0
>      logs
>        nvd1                          ONLINE       0     0     0
>      cache
>        nvd0                          ONLINE       0     0     0
>
> errors: No known data errors
>
>    pool: zroot
>   state: ONLINE
> config:
>
>      NAME        STATE     READ WRITE CKSUM
>      zroot       ONLINE       0     0     0
>        mirror-0  ONLINE       0     0     0
>          ada0p2  ONLINE       0     0     0
>          ada1p2  ONLINE       0     0     0
>
> errors: No known data errors
>
>
> a
>
> gpart show
> =>       34  488397101  ada0  GPT  (233G)
>           34         94     1  freebsd-boot  (47K)
>          128  488397007     2  freebsd-zfs  (233G)
>
> =>       34  488397101  ada1  GPT  (233G)
>           34         94     1  freebsd-boot  (47K)
>          128  488397007     2  freebsd-zfs  (233G)
>
> Diky
>
> R
>
> >
> >
> > Rekl bych, ze bude stacit zapsat znovu bootcode, neco jako
> >    gpart bootcode -b /boot/pmbr ada0
> > pripadne
> >    gpart bootcode -p /boot/gptboot -i 1 ada0
> >
> >
> > Ale vic asi odhali to rozdeleni disku (gpart) a rozdeleni zpool.
> >
> > Mirek
>
> --
> FreeBSD mailing list (users-l at freebsd.cz)
> http://www.freebsd.cz/listserv/listinfo/users-l
>


More information about the Users-l mailing list