Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Issue while creating an initramfs with lvm
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
choucete
n00b
n00b


Joined: 05 Jan 2012
Posts: 13

PostPosted: Fri May 04, 2012 6:44 am    Post subject: Issue while creating an initramfs with lvm Reply with quote

Hi,

I am trying to make a fresh install using lvm, I am following this guide, the thing is that when I get to the step of creating an initramfs with genkernel I get the following error:

Code:
livecd linux # genkernel --lvm --install initramfs
* Gentoo Linux Genkernel; Version 3.4.20
* Running with options: --lvm --install initramfs

* Linux Kernel 3.2.12-gentoo for x86...
* e2fsprogs: >> Configuring...
* e2fsprogs: >> Compiling...
* blkid: >> Copying to cache...
* busybox: >> Applying patches...
*           - 1.18.1-mdstart.diff
*           - 1.18.1-openvt.diff
*           - busybox-1.7.4-signal-hack.patch
* busybox: >> Configuring...
* busybox: >> Compiling...
* ERROR: Failed to compile the "all" target...


The full output can be found here.

I have previously installed several Virtual Machines without any issues.

Also, I found a recommendation to re-emerge glibc, but that didn't do it either. Any ideas?

Thanks in advance!
Back to top
View user's profile Send private message
choucete
n00b
n00b


Joined: 05 Jan 2012
Posts: 13

PostPosted: Fri May 04, 2012 10:45 am    Post subject: Reply with quote

Nevermind, I later recalled that the VMs worked because the initramfs in this case was actually optional, so I just skipped it.

Anyway, would it be possible for someone to add a note on the Quick Install Guide reminding of the fact that it is optional? It would save a lot of headaches. :D

Thanks again!
Back to top
View user's profile Send private message
cach0rr0
Moderator
Moderator


Joined: 13 Nov 2008
Posts: 4117
Location: Houston, Republic of Texas

PostPosted: Fri May 04, 2012 4:07 pm    Post subject: Reply with quote

choucete wrote:
Nevermind, I later recalled that the VMs worked because the initramfs in this case was actually optional, so I just skipped it.

Anyway, would it be possible for someone to add a note on the Quick Install Guide reminding of the fact that it is optional? It would save a lot of headaches. :D

Thanks again!

that's essentially what this is saying

Quote:

Also build an initramfs if you have /usr or /var on an LVM-based partition


but that needs a bit of clarification I suppose

that has to do with using udev-181 or greater. I dont think udev-181 has been marked stable yet. If you run <udev-181 then separate /usr requires no initramfs. If you use >=udev-181 you must have an initramfs if /usr is on a separate partition
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
choucete
n00b
n00b


Joined: 05 Jan 2012
Posts: 13

PostPosted: Sat May 05, 2012 8:57 am    Post subject: Reply with quote

cach0rr0 wrote:
choucete wrote:
Nevermind, I later recalled that the VMs worked because the initramfs in this case was actually optional, so I just skipped it.

Anyway, would it be possible for someone to add a note on the Quick Install Guide reminding of the fact that it is optional? It would save a lot of headaches. :D

Thanks again!

that's essentially what this is saying

Quote:

Also build an initramfs if you have /usr or /var on an LVM-based partition


but that needs a bit of clarification I suppose


The problem was that I was using both the quoted guide and also the one with RAID, on which it is not optional to create an initramfs, that is what must have caused for me to fail to see the warning.

Anyway, I don't really feel that the sarcasm was necessary. It feels kinda rude.

Thanks anyway.
Back to top
View user's profile Send private message
cach0rr0
Moderator
Moderator


Joined: 13 Nov 2008
Posts: 4117
Location: Houston, Republic of Texas

PostPosted: Sat May 05, 2012 9:03 am    Post subject: Reply with quote

choucete wrote:

Anyway, I don't really feel that the sarcasm was necessary. It feels kinda rude.


relax. that wasnt sarcasm. when i am looking to be rude, i leave zero ambiguity.
it was me saying the above section of the guide is awkwardly worded and doesn't make it particularly clear. It's in there, just not well-worded.
the guide also doesn't mention that the initramfs for /usr on a separate partition is only necessary for >=udev-181 (which is still ~arch masked)
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
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