Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Stuck at boot.
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
theMorningStar
n00b
n00b


Joined: 08 May 2017
Posts: 4

PostPosted: Tue May 09, 2017 7:16 am    Post subject: Stuck at boot. Reply with quote

I am trying to install gentoo in a similar fashion to https://wiki.gentoo.org/wiki/Sakaki's_EFI_Install_Guide but seeing as I do not have an EFI system there are a few modifications, but other then that I do pretty much the same this (skipping all the windows bs though).
When trying to boot I get the following message

Decompressing Linux... Parsing ELF... done.
Booting the kernel...


Then it just sits there. Grub find both the initramfs and the kernel and I believe all its the settings are correct. I tried, unsuccessfully I might add, to boot it from the command line as well. I suppose that leaves either the initramfs or kernel at fault.
The initramfs was made by genkernel then extracted and statically compiled gpg v1.4 was copied in after which all was added to a cpio archive again. I told the kernel where this archive was when I compiled it.
I have now been stuck on this for days. Do any one know what the error might be or have a clue on how to proceed?

[Moderator edit: changed [i] tag to [url] tag to make URL a link. -Hu]
Back to top
View user's profile Send private message
xaviermiller
Administrator
Administrator


Joined: 23 Jul 2004
Posts: 7972
Location: ~Brussels - Belgique

PostPosted: Tue May 09, 2017 7:21 am    Post subject: Reply with quote

Hi!,

What do contain the initial /dev directory ?

Can you add at least /dev/null /dev/console? Then /dev will be mounted as devfs.

I also suggest you don't read that guide, but the official handbook, since that guide is specific for EFI.
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
theMorningStar
n00b
n00b


Joined: 08 May 2017
Posts: 4

PostPosted: Tue May 09, 2017 7:25 am    Post subject: Reply with quote

I didnt use the script provided by Sakaki but did all that myself. The rest, well the idea more or less, is the same :oops:. What I wanted to say I did was put the boot partition on a USB drive and encrypt the system with a key file that was encrypted by gpg. Then the kernel compilation, creation of initramfs and installation of the bootloader was done reading the wiki.
Back to top
View user's profile Send private message
xaviermiller
Administrator
Administrator


Joined: 23 Jul 2004
Posts: 7972
Location: ~Brussels - Belgique

PostPosted: Tue May 09, 2017 8:37 am    Post subject: Reply with quote

So try to add /dev/console and /dev/null in your initramfs
You will then see the first boot messages
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
theMorningStar
n00b
n00b


Joined: 08 May 2017
Posts: 4

PostPosted: Tue May 09, 2017 10:09 am    Post subject: Reply with quote

/dev and /dev/console is already in the initramfs :? Ether that or I cant figure it out I'm afraid.
Back to top
View user's profile Send private message
axl
Guru
Guru


Joined: 11 Oct 2002
Posts: 537
Location: Romania

PostPosted: Tue May 09, 2017 12:18 pm    Post subject: Reply with quote

why do you need to manually add gpg in initramfs, when genkernel already does that?
Back to top
View user's profile Send private message
theMorningStar
n00b
n00b


Joined: 08 May 2017
Posts: 4

PostPosted: Tue May 09, 2017 1:54 pm    Post subject: Reply with quote

What I have read gpg 2.x do not work in initramfs. https://bugs.gentoo.org/show_bug.cgi?id=583748
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