Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Install@Asus B150M-A + i5-6500 + Radeon RX460 not booting
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
TheDarkHorde
n00b
n00b


Joined: 15 Oct 2016
Posts: 9
Location: Taiwan

PostPosted: Thu Dec 29, 2016 4:55 pm    Post subject: Install@Asus B150M-A + i5-6500 + Radeon RX460 not booting Reply with quote

Hello,I'm building a new computer and need help as I can't get the system to boot up. It is hanging when showing "Loading initial ramdisk". (I tried to avoid using an initramfs, but then it hangs when showing that it's loading the kernel after having passed Grub).

Arch Linux does install well, so I'm sure that I'm doing something wrong. I have no idea what though, and any help is appreciated. I'm still quite new to Gentoo, but would like to use it on my main system.
Below I will give as much info as possible:

**Hardware**

Motherboard: ASUS B-150M-A
Intel I5-6500, 8GM RAM, RADEON RX460, Intel 600p series NVME 128G SSD, 1T HDD

**fstab**

Code:

LABEL=128GSSD_EFI       /boot                   vfat    rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro    0 2

LABEL=128GSSD_SWAP      none                    swap    sw      0 0

LABEL=128GSSD_GENTOO    /                       btrfs   rw,relatime,compress=lzo,ssd,space_cache,subvolid=257,subvol=/@                 0 0
LABEL=128GSSD_GENTOO    /home                   btrfs   rw,relatime,compress=lzo,ssd,space_cache,subvolid=258,subvol=/@home             0 0
LABEL=128GSSD_GENTOO    /.snapshots             btrfs   rw,relatime,compress=lzo,ssd,space_cache,subvolid=259,subvol=/@snapshots        0 0
LABEL=128GSSD_GENTOO    /.games                 btrfs   rw,relatime,compress=lzo,ssd,space_cache,subvolid=260,subvol=/@games            0 0

LABEL=1THDD_DATA        /.hdd/backup            btrfs   rw,relatime,compress=lzo,space_cache,subvolid=257,subvol=/@backup       0 0
LABEL=1THDD_DATA        /.hdd/hddgames          btrfs   rw,relatime,compress=lzo,space_cache,subvolid=258,subvol=/@hddgames     0 0
LABEL=1THDD_DATA        /.hdd/files             btrfs   rw,relatime,compress=lzo,space_cache,subvolid=259,subvol=/@files        0 0



**make.conf**
(the 'joystick' USE flag can probably be omitted, right?)

Code:

CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j5"

USE="cjk gnome-keyring hddtemp icu idn infinality joystick lm_sensors mozilla networkmanager pulseaudio smp spell threads vdpau xinerama xscreensaver zsh-completion -bindist -cdr -cups -dvd -dvdr -emacs -evo -kde -libav"
CPU_FLAGS_X86="aes avx fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse3"

INPUT_DEVICES="evdev joystick"
GRUB_PLATFORMS="efi-64"

ACCEPT_LICENSE="-@EULA"

LINGUAS="en zh_TW"
L10N="en zh-TW"

PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"

GENTOO_MIRRORS="ftp://ftp.twaren.net/Linux/Gentoo/ http://ftp.twaren.net/Linux/Gentoo/"


**Packages**

1) profile is set to desktop
2) manually installed: vim pciutils mlocate sysklogd cronie dhcpcd grub:2 intel-microcode iucode_tool dosfstools btrfs-progs sudo gentoo-sources genkernel-next eix gentoolkit linux-firmware

**Boot & Kernel**

I'm using the ~amd64 versions of gentoo-sources (for the video-card), efibootmgr & efivar (to make Gentoo create bootentries when using a nvme drive)

The initramfs was created with genkernel-next (using genkernel does not work either) using the following command:

Code:
genkernel --btrfs --install initramfs


Kernel configuration (followed the modules that were loaded during the arch installation apart from a few that seemed unnecessary, could give the ones that were omitted if necessary): http://pastebin.com/9F6yyUNj

(I have not done anything concerning microcode yet as the method given in the gentoo wiki does not yield any code for this processor.)
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Thu Dec 29, 2016 8:38 pm    Post subject: Reply with quote

MY thoughts

Quote:
(I tried to avoid using an initramfs, but then it hangs when showing that it's loading the kernel after having passed Grub).


Why? The purpose of an initramfs is exactly what you ask for

quote: I am using ... linux ...

why just don*t reuse the ... linux bootloader, reuse the kernel config and go on?

careful make a backup of the binary linux boot section regularly as binary distros just nuke any custom hand made entries to the bootloader.

quote: i am using ... as bootloader.

grub2 worked for me, even before gentoo even knew it existed.

You can use anything you like, but grub2 is quite common and widely used. the others are exotic and therefore less uses, less tested, less knowledgebase.

Bootloaders are like religion. too many opinions and advises.

quote: btrfs

Up to you, I warn you that when you use exotic software you will have issues.
ext4 has also issues, but is widely used, and probably much more mature.

I would not use "fancy" file systems. I learnt it the hardway.

Recover data. grow shrik file-system ... other stuff. file corruption.

Those stuff just promise a lot, but they hardly deliver a mature file system.

I had enough of XFS, reiferfs, ... Not worth, sluggish. these were fancy in the days i used them
Back to top
View user's profile Send private message
TheDarkHorde
n00b
n00b


Joined: 15 Oct 2016
Posts: 9
Location: Taiwan

PostPosted: Fri Dec 30, 2016 3:03 am    Post subject: Reply with quote

BTRFS does work with other distros on this system (I actually started out trying Ubuntu, which worked as well). It never gave me any problems (up to now at least).
Grub also does not gives problems atm.

I'm going to try a very minimal installation now, just with the handbook settings and a few extra modules turned on (shcpcd, nvme, r8169, amdgpu, btrfs and maybe 1 or 2 I can't think of right now on top of my head). I'll report the result afterwards.

----

The exact same problem. I also enabled nvme_core.
I don't know, this is too hard.

I will just run Arch for starters and slowly see how I can make Gentoo work. Any help will still be greated appreciated.
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Fri Dec 30, 2016 1:59 pm    Post subject: Reply with quote

reuse arch bootloader.

reuse arch kernel config (thats already half of the work)
Back to top
View user's profile Send private message
TheDarkHorde
n00b
n00b


Joined: 15 Oct 2016
Posts: 9
Location: Taiwan

PostPosted: Sat Jan 14, 2017 12:49 am    Post subject: Reply with quote

A bit of a late reply: Changing videocards did the trick.
The original one turned out to be broken.
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