Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo ZFS questions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Cuong Nguyen
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jan 2018
Posts: 140

PostPosted: Wed Oct 16, 2019 3:05 am    Post subject: Gentoo ZFS questions Reply with quote

Hello,

I was installing Gentoo on ZFS as per guide at https://wiki.gentoo.org/wiki/User:Fearedbliss/Installing_Gentoo_Linux_On_ZFS using SystemRescue CD with ZFS enabled https://wiki.gentoo.org/wiki/User:Fearedbliss into a chroot filesystems. The install process halted and I was forced to reboot.

There is 2 zpool already defined, zfs filesystems created. Now how can I reactivate those zpools and mount zfs file systems to continue building Gentoo in chroot?

Thank you,
Back to top
View user's profile Send private message
mrbassie
Guru
Guru


Joined: 31 May 2013
Posts: 592

PostPosted: Wed Oct 16, 2019 9:21 am    Post subject: Reply with quote

Code:
# zpool import -N <pool>


Imports the pool without mounting any datasets.

Code:
# zfs set mountpoint=mountpoint for root dataset i.e /mnt/gentoo <dataset>


Mount your root dataset and chroot as normal.

Code:
# zfs mount -a
(inside chroot)

Finish your installation and reset the mountpoint you changed earlier.
Back to top
View user's profile Send private message
Cuong Nguyen
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jan 2018
Posts: 140

PostPosted: Sun Oct 20, 2019 2:20 am    Post subject: Reply with quote

mrbassie wrote:
Code:
# zpool import -N <pool>


Imports the pool without mounting any datasets.
<...>

Code:
# zfs mount -a
(inside chroot)

<...>


Thank you very much, I have to put
Code:
# zfs mount -a
right after set mountpoint for zfs volumes before chroot.
I am a newbie to zfs.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum