Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub2 installed in zfs partition
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mathabstrction
Apprentice
Apprentice


Joined: 12 Aug 2012
Posts: 211

PostPosted: Mon Apr 18, 2016 2:14 pm    Post subject: grub2 installed in zfs partition Reply with quote

first, i installed grub2 with USE libzfs and -mutislot enabled.
after everything has done
#grub-probe /
segmetation fault
#grub-mkconfig -o /boot/grub/grub.cfg
prompts with no outputs
#grub-install /dev/sda
segmentation fault
i suspect this is a bug.
Back to top
View user's profile Send private message
vaxbrat
l33t
l33t


Joined: 05 Oct 2005
Posts: 731
Location: DC Burbs

PostPosted: Sun Apr 24, 2016 10:44 pm    Post subject: partitionig? Reply with quote

What does your /dev/sda partitioning look like? To get things working with grub2 and btrfs I have to do something like this:

Code:
                                                cgdisk 0.8.10

                                             Disk Drive: /dev/sda
                                          Size: 500118192, 238.5 GiB

Part. #     Size        Partition Type            Partition Name
----------------------------------------------------------------
            1007.0 KiB  free space
   1        1024.0 KiB  BIOS boot partition       grub2bios
   2        500.0 MiB   Linux filesystem          boot
   3        238.0 GiB   Linux filesystem          root
Back to top
View user's profile Send private message
mrbassie
Guru
Guru


Joined: 31 May 2013
Posts: 548

PostPosted: Tue Apr 26, 2016 11:37 am    Post subject: Reply with quote

Are you following Ryao's guide? https://github.com/ryao/zfs-overlay/blob/master/zfs-install

I had a go at that method (grub on zfs) a few months ago but decided on a seperate ext4 partition. Iirc I couldn't get it to work without downgrading to 0.6.3, installing grub and then upgrading again.
Back to top
View user's profile Send private message
mathabstrction
Apprentice
Apprentice


Joined: 12 Aug 2012
Posts: 211

PostPosted: Fri May 13, 2016 11:26 am    Post subject: Reply with quote

mrbassie wrote:
Are you following Ryao's guide? https://github.com/ryao/zfs-overlay/blob/master/zfs-install

I had a go at that method (grub on zfs) a few months ago but decided on a seperate ext4 partition. Iirc I couldn't get it to work without downgrading to 0.6.3, installing grub and then upgrading again.

what i had use ever since is #genkernel --zfs --install --ramdisk-modules --callback="emerge @module-rebuild zfs" all. but i have a question what if i use # genkernel --zfs --install --no-ramdisk-modules --callback="emerge @module-rebuild zfs" all.
Back to top
View user's profile Send private message
mathabstrction
Apprentice
Apprentice


Joined: 12 Aug 2012
Posts: 211

PostPosted: Sat May 14, 2016 3:01 am    Post subject: Reply with quote

what is the difference of execution of the command above mentioned taking effect?
Back to top
View user's profile Send private message
mathabstrction
Apprentice
Apprentice


Joined: 12 Aug 2012
Posts: 211

PostPosted: Sat May 14, 2016 3:03 am    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=580442
Back to top
View user's profile Send private message
mathabstrction
Apprentice
Apprentice


Joined: 12 Aug 2012
Posts: 211

PostPosted: Wed May 18, 2016 3:04 pm    Post subject: Reply with quote

can zfs userland utilities be compatible with newest kernel?
Back to top
View user's profile Send private message
mathabstrction
Apprentice
Apprentice


Joined: 12 Aug 2012
Posts: 211

PostPosted: Wed May 18, 2016 3:11 pm    Post subject: Reply with quote

can zfs userland utilies of version 6.3 series be compatible with newest kernel?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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