Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Fresh installation doesn't load (EFI, GPT, systemd)
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
seniorihor
n00b
n00b


Joined: 24 Dec 2015
Posts: 2

PostPosted: Thu Dec 24, 2015 4:19 am    Post subject: [solved] Fresh installation doesn't load (EFI, GPT, systemd) Reply with quote

Hi guys!
I know it's a typical issue, but I would appreciate any practical advices to fix this problem.

I installed Gentoo on my desktop from an existing Linux distribution (Ubuntu 14.04) by Handbook.
I am using systemd as described on gentoo wiki.
Installation is on SSD, HDD is using for /home (which is separated).
Root partition formatted in BTRFS (with submodule).
/boot is on a separate partition, formatted in Ext4.
Actual partition table is GPT.
Computer is loading in EFI-mode.
Loader is Grub2.

I don't use initramfs and after configuration I did not execute grub-install command,
instead I just added generated grub menuentry to existing Ubuntu's grub.cfg.
When I reboot and select Gentoo in grub list - for a moment appears grub loading message
and after that everything is freezing, so I can see only black screen and should do cold reset.

Code:

# /etc/fstab
LABEL=gentoo_boot       /boot           ext4            noauto,noatime  0 0
LABEL=gentoo            /               btrfs           noatime,discard,ssd,autodefrag,compress=lzo,space_cache,subvol=@gentoo          0 0
LABEL=home              /home           btrfs           noatime,discard,ssd,autodefrag,compress=lzo,space_cache,subvol=@gentoo          0 0
LABEL=home              /var/lib/mysql  btrfs           noatime,discard,ssd,autodefrag,compress=lzo,space_cache,subvol=@mysql           0 0
LABEL=swap              none            swap            sw              0 0
/dev/cdrom              /mnt/cdrom      auto            noauto,ro       0 0
/dev/fd0                /mnt/floppy     auto            noauto          0 0


Code:

# /boot/grub/grub.cfg
menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-129a1f32-7df9-4461-a967-5a142e36147f' {
        load_video
        if [ "x$grub_platform" = xefi ]; then
                set gfxpayload=keep
        fi
        insmod gzio
        insmod part_gpt
        insmod ext2
        set root='hd1,gpt8'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt8 --hint-efi=hd1,gpt8 --hint-baremetal=ahci1,gpt8  5ed36910-bc0c-4787-8514-426338e048ab
        else
          search --no-floppy --fs-uuid --set=root 5ed36910-bc0c-4787-8514-426338e048ab
        fi
        echo    'Loading Linux 4.1.12-gentoo ...'
        linux   /vmlinuz-4.1.12-gentoo root=/dev/sdb3 ro rootflags=subvol=@gentoo init=/usr/lib/systemd/systemd
}


Please, let me know what additional info or logs might be useful.


Last edited by seniorihor on Thu Dec 24, 2015 8:04 am; edited 1 time in total
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2574

PostPosted: Thu Dec 24, 2015 5:03 am    Post subject: Reply with quote

Welcome to Gentoo!

Believe it or not, it sounds like it is working perfectly and you just can't see it. This is probably a video card problem. What type of video card and did you configure the kernel properly?

The procedure here is to go back into Gentoo using Ubuntu just like you did before and chroot in. You don't need to reinstall anything. Just change whatever you need to and you should be able to reboot.

Everything else looks okay to me. I would only add that Gentoo is a bit like building a Boeing 747. Best do it one thing at a time. Installing systemd or any other other things during the initial install can complicate things because now you are not sure if the problem was with the base install or with the new software. I wouldn't change it at this point. Just focus on configuring the video card.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
seniorihor
n00b
n00b


Joined: 24 Dec 2015
Posts: 2

PostPosted: Thu Dec 24, 2015 8:03 am    Post subject: Reply with quote

Thank you!

I generated initramfs, added video_cards to make.conf and rebuilt kernel.
In result, some of those worked out for me :)
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