Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Boot problems lvm, udev, fsck, swap dependencies
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Iesos
n00b
n00b


Joined: 12 Jan 2007
Posts: 56

PostPosted: Wed Jul 13, 2011 3:35 pm    Post subject: [Solved] Boot problems lvm, udev, fsck, swap dependencies Reply with quote

Hi,

Back to gentoo after some months absence. My new system have a problem and I don't know how to solve it. The following is my problem:

At boot, fsck gives:
fsk.ext4: No such file or directory while trying to open /dev/mapper/unimatrix-root
then later:
swapon: /dev/mapper/unimatrix-swap: stat failed: Nu such file or directory
and also LVM complains:
The link /dev/mapper/unimatrix-root should had been created by udev but it was not found. Falling back to direct link creation.
The link /dev/mapper/unimatrix-swap should had been created by udev but it was not found. Falling back to direct link creation.

So as LVM tells me, something is wrong with udev. But how can I fix this? I have recompiled udev and I have tried to work out all the dependencies for the init scripts, and there is something confusing. Swap says that is should start "after lvm", but in the order my system boots, swap comes first, then lvm. It also seems as lvm is a part of runlevel 3 but swap is before that, and maybe therefore skips the dependence of lvm? Is this the problem and how can I fix it?

Thanks in advance.


Last edited by Iesos on Wed Jul 13, 2011 3:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
Iesos
n00b
n00b


Joined: 12 Jan 2007
Posts: 56

PostPosted: Wed Jul 13, 2011 3:41 pm    Post subject: Reply with quote

.. hehe sorry. I had put lvm in default and not boot. so a simple
# rc-update delete lvm default
# rc-update add lvm boot
fixed it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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