Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo's read only root fs after installing from live image
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
LiFo14
n00b
n00b


Joined: 05 Jan 2018
Posts: 3
Location: Russia

PostPosted: Fri Jan 05, 2018 10:42 pm    Post subject: Gentoo's read only root fs after installing from live image Reply with quote

Hello!

Recently I discovered Gentoo. It's a beautiful distro to explore! So I did try to install it alongside my Fedora 27. It's UEFI laptop so both linux distros use /boot/efi partition. Fedora's Grub2 does boot process.
I built Gentoo from live image. It took me about a day :). I did installation in according to amd64 Handbook with systemd and KDE Plasma.
After that, I tried boot new system. Then I found out that root fs was in the read only mode and host name was just "(none)". So no Xorg, KDE and otherseven after remount with "rw". Journalctl shows me none of boot records, dmesg shows:

Code:
[ 0.083613] ACPI Error: [\_SB_.PCI0.PEG0.PEGP.NHDA] Namespace lookup failure, AE_NOT_FOUND (20170728/psargs-364)
[ 0.083620] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PG00._ON, AE_NOT_FOUND (20170728/psparse-550)
[ 5.625851] abrt-dump-journ[887]: segfault at 7ffca468c000 ip 00007f60c72999c2 sp 00007ffca467ad98 error 6 in libc-2.26.so[7f60c71ea000+1da000]
[ 26.984549] wlp2s0: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-22)


No troubles inside fstab:
Code:
UUID=ccf6661a-0c63-427c-a285-9f0f1aca5dbc / ext4 defaults,noatime,discard 1 1
UUID=9E76-F770 /boot/efi vfat defaults,noatime,discard 0 2

And grub's menu looks like this:
Code:
savedefault
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  ccf6661a-0c63-427c-a285-9f0f1aca5dbc
else
  search --no-floppy --fs-uuid --set=root ccf6661a-0c63-427c-a285-9f0f1aca5dbc
fi
linuxefi /boot/kernel-genkernel-x86_64-4.9.72-gentoo root=/dev/sda4
initrdefi /boot/initramfs-genkernel-x86_64-4.9.72-gentoo


Also there is some probs with @world:

Code:
* Messages for package app-text/iso-codes-3.75:

* ERROR: app-text/iso-codes-3.75::gentoo failed (prepare phase):
* USE Flag 'linguas_ar' not in IUSE for app-text/iso-codes-3.75
*
* Call stack:
* ebuild.sh, line 124: Called src_prepare
* environment, line 3044: Called use 'linguas_ar'
* phase-helpers.sh, line 200: Called die
* The specific snippet of code:
* die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}"
*
* If you need support, post the output of `emerge --info '=app-text/iso-codes-3.75::gentoo'`,
* the complete build log and the output of `emerge -pqv '=app-text/iso-codes-3.75::gentoo'`.
* The complete build log is located at '/var/tmp/portage/app-text/iso-codes-3.75/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-text/iso-codes-3.75/temp/environment'.
* Working directory: '/var/tmp/portage/app-text/iso-codes-3.75/work/iso-codes-3.75/iso_15924'
* S: '/var/tmp/portage/app-text/iso-codes-3.75/work/iso-codes-3.75'


Pls give me some suggestions or ways to fix this... I'd really like to do further Gentoo explorations :>
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13864

PostPosted: Sat Jan 06, 2018 1:16 am    Post subject: Reply with quote

It looks like you had the misfortune to sync while that package was broken. The problem is discussed in more detail in [SOLVED]app-text/iso-codes fails to build. In short: sync your tree and try again. If you still have problems, post here with the output requested in the error message you quoted at the bottom of your post.
Back to top
View user's profile Send private message
LiFo14
n00b
n00b


Joined: 05 Jan 2018
Posts: 3
Location: Russia

PostPosted: Sat Jan 06, 2018 6:02 am    Post subject: Reply with quote

Thank you for the reply!

Tree sync did solve problem with package "app-text/iso-codes".
As I expected there's no impact on the main problem... I probably had to solve these problems separately :c
Back to top
View user's profile Send private message
LiFo14
n00b
n00b


Joined: 05 Jan 2018
Posts: 3
Location: Russia

PostPosted: Sat Jan 06, 2018 11:53 am    Post subject: Solution Reply with quote

Looks like it was my mistake. :D
After I switched profiles with eselect, I forgot to clearly point to boot Gentoo with systemd. "init=/usr/lib/systemd/systemd" should be appended to GRUB_CMDLINE_LINUX inside /etc/default/grub and to grub's menuentry.
Hostname issue was also solved after that string was placed.
Code:
~❯ cat /etc/default/grub     
GRUB_TIMEOUT="5"
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT="saved"
GRUB_DISABLE_SUBMENU="true"
GRUB_CMDLINE_LINUX="nouveau.modeset=0 rd.driver.blacklist=nouveau rhgb quiet init=/usr/lib/systemd/systemd"
GRUB_DISABLE_RECOVERY="true"
GRUB_SAVEDEFAULT="true"

Grub's menu entry:
Code:
savedefault
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  ccf6661a-0c63-427c-a285-9f0f1aca5dbc
else
  search --no-floppy --fs-uuid --set=root ccf6661a-0c63-427c-a285-9f0f1aca5dbc
fi
linuxefi /boot/kernel-genkernel-x86_64-4.9.72-gentoo root=/dev/sda4 init=/usr/lib/systemd/systemd
initrdefi /boot/initramfs-genkernel-x86_64-4.9.72-gentoo
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