Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Building initramfs in already installed system?
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
ayleid96
n00b
n00b


Joined: 25 Apr 2016
Posts: 51
Location: /home/noodles

PostPosted: Thu Sep 08, 2016 6:46 pm    Post subject: Building initramfs in already installed system? Reply with quote

Hi,

i want to test some things in gentoo, but i cannot because they require initramfs.. is it possible to build initramfs on already installed gentoo system? thanks in advance! gentoo installation is four months old
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43213
Location: 56N 3W

PostPosted: Thu Sep 08, 2016 7:38 pm    Post subject: Reply with quote

ayleid96,

Yes. An initrd/initramfs is essentially a filesystem in a file.
Its normally used as a temporary root filesystem to house userspace tools that are required te find and mount the real root filesystem.
It may also contain kernel modules. If kernel modules are present, the initrd/initramfs must be rebuilt every kernel change too, or the modules may not match the new kernel..
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ayleid96
n00b
n00b


Joined: 25 Apr 2016
Posts: 51
Location: /home/noodles

PostPosted: Thu Sep 08, 2016 9:36 pm    Post subject: Reply with quote

NeddySeagoon wrote:
ayleid96,

Yes. An initrd/initramfs is essentially a filesystem in a file.
Its normally used as a temporary root filesystem to house userspace tools that are required te find and mount the real root filesystem.
It may also contain kernel modules. If kernel modules are present, the initrd/initramfs must be rebuilt every kernel change too, or the modules may not match the new kernel..


how can i achieve that? can you point me to something? thanks for reply
Back to top
View user's profile Send private message
szatox
Veteran
Veteran


Joined: 27 Aug 2013
Posts: 1747

PostPosted: Thu Sep 08, 2016 9:52 pm    Post subject: Reply with quote

The easy mode is running genkernel. It provides you initramfs for free when you build kernel this way.
Basically follow the gentoo installation guide, it's really good (even though networking and bootloader sections are probably out of date by now). There is no going around your first installation if you want to have gentoo.

Actually initramfs isn't even necessary. It comes in handy with more tricky setups though, like root on LVM.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43213
Location: 56N 3W

PostPosted: Thu Sep 08, 2016 10:40 pm    Post subject: Reply with quote

ayleid96,

Tell us what you want to test. There may be some guides.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ayleid96
n00b
n00b


Joined: 25 Apr 2016
Posts: 51
Location: /home/noodles

PostPosted: Fri Sep 09, 2016 12:41 pm    Post subject: Reply with quote

NeddySeagoon wrote:
ayleid96,

Tell us what you want to test. There may be some guides.


i want to install media-gfx/splashutils
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43213
Location: 56N 3W

PostPosted: Fri Sep 09, 2016 2:21 pm    Post subject: Reply with quote

ayleid96,

Follow the Gentoo Wiki.

Depending on your graphics setup, you may not want to use
Code:
<*>   Userspace VESA VGA graphics support
[*]   VESA VGA graphics support


For example, the Radeon, Intel and Nouveau drivers all include framebuffer consoles
They should work with framebuffer splash too.

If your Xorg uses ati-drivers on nvidia-drivers, you may not be able to find a framebuffer driver that in compatible with both framebuffer splash and the closed source Xorg driver.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
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