Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] grub2 MEGARAID_SAS
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
dalu
Guru
Guru


Joined: 20 Jan 2003
Posts: 487

PostPosted: Sun Dec 31, 2017 4:15 pm    Post subject: [solved] grub2 MEGARAID_SAS Reply with quote

While trying to transfer a system from mdadm raid to a
Code:
02:00.0 RAID bus controller [0104]: LSI Logic / Symbios Logic MegaRAID SAS 2108 [Liberator] [1000:0079] (rev 05)

I'm having trouble booting with grub2.

It's an ASUS P8S (afaik) board
no EFI bios.
gpt created with cgdisk
ef02 partition created as partition 2 on sectors 34-2047
grub-install installs i386 one
no errors reported by grub

then booting
attempt to read or write outside of disk 'hd0'

however in grub rescue over kvm console
Code:
ls (hd0,gpt3)

I can see the fs
gpt1 = swap
gpt2 = ef02
gpt3 = ext4 rootfs and boot

Code:
# CONFIG_MEGARAID_NEWGEN is not set
# CONFIG_MEGARAID_LEGACY is not set
CONFIG_MEGARAID_SAS=y


[Moderator edit: added [code] tags to preserve output layout. -Hu]

solved by:
shrinking the swap partition and assigning 2GB to a separate /boot partition
adding this to fstab
and
Code:
grub-mkconfig -o /boot/grub/grub.cfg

as an alternative grub could possibly get their heads out their asses
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