Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Newbie] Grub2 issues plus others (udev, gpu drivers, etc)
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
timofonic
n00b
n00b


Joined: 13 Sep 2005
Posts: 16

PostPosted: Fri Jan 06, 2017 4:38 pm    Post subject: [Newbie] Grub2 issues plus others (udev, gpu drivers, etc) Reply with quote

Hello.

I'm trying to install Gentoo. I switched to a lot of different distros, the latest one for long time was Arch linux. Now I want to go back to Gentoo Linux, but I forgot lots of stuff and things are getting more difficult than I tought.

I'm unable to explain what's happening. I tinkered and asked lots of times on #gentoo IRC channel at Freenode. Now I think the topic is complex enough to require a forum post, plus I think it could be less stressful for others to collectively trying to understand my issues and not needing to follow the fast pace of IRC is a big plus for me these days.

I see there's issues understanding what partitions there are available, udev fails, plus there are weird issues with graphics drivers too.

Hardware:

  • Type: Laptop
  • Model: MSI GE62-2QD
  • CPU: Intel Core i7 5700HQ @ 2.7GHz
  • GPU: iGPU + Nvidia GTX960M (Optimus)
  • RAM: 8GB


Logs:



Configuration files:


NOTE: I'll improve the original message with the required information or trying to explain better the issues that I try to explain here.

Thanks in advance.

PS: Please notify me if this is posted on a wrong section or move it to the proper place. Please don't delete it if possible
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 Jan 06, 2017 7:40 pm    Post subject: Reply with quote

No idea on systemd => gentoo handbook, gentoo wiki

optimus => gentoo wiki optimus article

I refuse to use systemd, openrc + eudev + nvida-drivers work for a notebook with discrete graphics without intel gpu involved.
When you do not need systemd you may not use it at all. i saw so many bug posts abour systemd, its just not proven enough! personal opinion

--

When you want to use lvm2, you will have to use an initramfs like I do. Without initramfs i dout it will work. E.g genkernel or genkernel-next may generate an initrams. you may need to adapt the initramfs slightly and repack it. I had to do that in the past.

Again lvm2 => check what the bootloader needs, check what the initramfs needs, check what the kernel needs. Check what the gentoo wiki / arch linux wiki / centos wiki in this regard says.

partition layout from gentoo handbook; no swap. root partiton = lvm2

you may pay attention to the lvm / lvm2 / static / abi32 flag for some specific packages

--

Quote:
linux /kernel-genkernel-x86_64-4.9.0-gentoo root=/dev/mapper/vg0-root ro dolvm real_init=/usr/lib/systemd/systemd vga=791 splash=silent,theme:gentoo console=tty1 quiet rootfstype=ext4


very bad

splash=silent => nope, you have an issue, and than you deactive all output? all feedback is muted?
quiet => same

have you checked if that really exists in that name
root=/dev/mapper/vg0-root

in my expierence, those drives are called like /dev/mapper/(logical_volume_name)-(virtual group_name)

real_init=/usr/lib/systemd/systemd

i never had a use for that. could be an issue.

well lets see it that way. you want to use something from your lvm2 volumte, which maybe not accessable at that stage of the boot process? you may use some initramfs / e.g. busybox binary

--

Quote:
UUID="8ba5d7ea-ea72-4fa4-88e7-c482712067aa" / ext4 noatime 0 1


maybe this uuid is wrong. you need to use the correct uuid from your /dev/mapper/ ....

mine looks that way:

Code:

/dev/mapper/vg_root_volume_PLEXTOR-lv_root_volume_PLEXTOR         /         ext4   discard,noatime,commit=600,defaults   0 1


you may try to use that dev/mapper link and see if it works
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1048
Location: Massachusetts USA

PostPosted: Sat Jan 07, 2017 12:40 am    Post subject: Reply with quote

From Boot.log
Quote:
Jan 02 15:19:15 localhost systemd[1]: Mounting /mnt/windoze...
Jan 02 15:19:15 localhost systemd[1]: Mounted /boot.
Jan 02 15:19:15 localhost systemd[1]: Started udev Kernel Device Manager.
Jan 02 15:19:15 localhost systemd[1]: Starting Show Plymouth Boot Screen...
Jan 02 15:19:15 localhost systemd[1]: mnt-windoze.mount: Mount process exited, code=exited status=32
Jan 02 15:19:15 localhost systemd[1]: Failed to mount /mnt/windoze.
Jan 02 15:19:15 localhost systemd[1]: Dependency failed for Local File Systems.
Jan 02 15:19:15 localhost systemd[1]: local-fs.target: Job local-fs.target/start failed with result 'dependency'.
Jan 02 15:19:15 localhost systemd[1]: local-fs.target: Triggering OnFailure= dependencies.

Comment out the mounting of /mnt/windoze.
Back to top
View user's profile Send private message
timofonic
n00b
n00b


Joined: 13 Sep 2005
Posts: 16

PostPosted: Thu Jan 12, 2017 10:49 am    Post subject: Reply with quote

Thanks. I managed to solve these issues :)
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