Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cat: read error: Invalid argument
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
Mordillo98
n00b
n00b


Joined: 28 Mar 2012
Posts: 17

PostPosted: Tue Jun 28, 2016 4:44 pm    Post subject: cat: read error: Invalid argument Reply with quote

Hi,

Installed Gentoo with systemd. Everything works great except at boot I get this....

:: Loading from net:
:: Loading from iscsi:
::Loading from crypto:
cat: read error: Invalid argument
cat: read error: Invalid argument
cat: read error: Invalid argument
cat: read error: Invalid argument
cat: read error: Invalid argument
>> Determining root device ...

How can I resolve this cat read error thing?

https://s31.postimg.org/7ppx7mf97/Gentoo4_LFS_x86_2016_06_28_12_31_44.png

Thx...
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


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

PostPosted: Wed Jun 29, 2016 10:13 pm    Post subject: Reply with quote

May I ask!

Does your box boot?

Usually, determining the root device, implies that the kernel is looking for the way to mount your root file system. The kernel needs access to / needs a way to mount and read your root partition. Means => hardware support / file system support build in the kernel and proper kernel parameters in your bootloader.

I assume your box does not goes on after this message. If so you need to specify your root drive and enalbe the support in your kernel. The gentoo handbook is a good starting point for that. Arch wiki has very often a decent guide for stuff too
Back to top
View user's profile Send private message
Mordillo98
n00b
n00b


Joined: 28 Mar 2012
Posts: 17

PostPosted: Thu Jun 30, 2016 1:12 pm    Post subject: Reply with quote

Yup. After all those messages, I boot successfully up to the end.

I am new @ systemd so I tried to figure out if I could get some logs about what it's trying to load, or if this is related to the encryption module. A good test would be to NOT have the encryption module to load at boot and see as a test, but can't figure out how.
Back to top
View user's profile Send private message
pilla
Administrator
Administrator


Joined: 07 Aug 2002
Posts: 7693
Location: Pelotas, BR

PostPosted: Fri Jul 01, 2016 12:54 am    Post subject: Reply with quote

I would check configuration files for the crypto service... looks like it uses a cat inside itself but some parameter is breaking it.
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
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