View previous topic :: View next topic |
Author |
Message |
Iesos n00b
Joined: 12 Jan 2007 Posts: 56
|
Posted: Wed Jul 13, 2011 3:35 pm Post subject: [Solved] Boot problems lvm, udev, fsck, swap dependencies |
|
|
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 |
|
|
Iesos n00b
Joined: 12 Jan 2007 Posts: 56
|
Posted: Wed Jul 13, 2011 3:41 pm Post subject: |
|
|
.. 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 |
|
|
|
|
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
|
|