View previous topic :: View next topic |
Author |
Message |
dermartn n00b
Joined: 06 Dec 2004 Posts: 63
|
Posted: Fri Oct 26, 2007 7:44 am Post subject: udev error - /etc/issue text [solved] |
|
|
hello *,
i have a new installed system. everything works fine so far, but i get an error text of udev after booting. it is placed in the /etc/issue. even if i change the issue file to my issue file, it is getting changed to the error text from udev, after reboot.
i can´t find an error or missing file in /dev like the "udev error text" says...
anybody got an idea?
thanks
dermartn
Last edited by dermartn on Wed Oct 31, 2007 9:02 am; edited 1 time in total |
|
Back to top |
|
|
Sadako Advocate
Joined: 05 Aug 2004 Posts: 3792 Location: sleeping in the bathtub
|
Posted: Fri Oct 26, 2007 1:39 pm Post subject: |
|
|
I remember seeing this before, but I don't remember the solution.
It would really help if you actually posted the error text in question. _________________ "You have to invite me in" |
|
Back to top |
|
|
nordic bro Guru
Joined: 25 Oct 2003 Posts: 585
|
Posted: Sat Oct 27, 2007 2:54 am Post subject: |
|
|
Sounds like you didn't correct the original problem because once you overwrite /etc/issue you should ostensibly see that msg no more. In my case I had to copy /dev to some tmp area and IIRC just delete the tmp area afterward. I don't remember the exact steps but they didn't make any sense, however once I followed the instructions and put the old issue file back I didn't get any more complaints from udev. |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sat Oct 27, 2007 1:10 pm Post subject: |
|
|
Moved from Installing Gentoo to Other Things Gentoo.
not about getting gentoo installed, so moved here. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
dermartn n00b
Joined: 06 Dec 2004 Posts: 63
|
Posted: Mon Oct 29, 2007 8:35 pm Post subject: |
|
|
thats the text i get from udev:
Code: |
-----------------------------------------------------
Your system seems to be missing critical device files
in /dev ! Although you may be running udev or devfs,
the root partition is missing these required files !
To rectify this situation, please do the following:
mkdir /mnt/fixit
mount --bind / /mnt/fixit
cp -a /dev/* /mnt/fixit/dev/
umount /mnt/fixit
rmdir /mnt/fixit
You may refer to these instructions at /etc/issue.
If you previously had an issue file, it has been
backed up at /etc/issue.devfix. Once you've fixed
your system, you will have to restore your old issue
file in order to get rid of this warning.
Thanks for using Gentoo ! :)
http://bugs.gentoo.org/show_bug.cgi?id=40987
-----------------------------------------------------
|
i did follow the instructions given in the text, but it didn´t seem to work. after changing the text, i get back the udev text after rebooting. |
|
Back to top |
|
|
embobo Guru
Joined: 19 May 2003 Posts: 311
|
Posted: Mon Oct 29, 2007 9:56 pm Post subject: |
|
|
I had the same problem. Try this:
Code: |
mkdir /mnt/fixit
mount --bind / /mnt/fixit
find /mnt/fixit/dev -type f
|
That should give no results. In my case it gave /mnt/fixit/dev/null because on a previous boot the character device file did not exist and something redirected to /dev/null, thereby creating a file. When I subsequently did the "cp -a /dev/* /mnt/fixit/dev/" it wasn;t fixed because that file was there already.
IMHO the instructions should be
Code: |
mkdir /mnt/fixit
mount --bind / /mnt/fixit
rm -rf /mnt/fixit/dev/*
cp -a /dev/* /mnt/fixit/dev/
umount /mnt/fixit
rmdir /mnt/fixit
|
but there is no way I'm going to actually lobby for it. I'm sure the Gentoo Wizards have a better way.
Edit: Actually the comment in the bug https://bugs.gentoo.org/show_bug.cgi?id=40987#c55 talks about the exact problem I had and the one you may be having. The bug is resolved so it must be user error. |
|
Back to top |
|
|
dermartn n00b
Joined: 06 Dec 2004 Posts: 63
|
Posted: Wed Oct 31, 2007 9:04 am Post subject: |
|
|
thanks embobo,
after using your instructions everything is alright now in the /dev section
thanks a lot.
dermartn |
|
Back to top |
|
|
jmarcus Apprentice
Joined: 12 Jun 2004 Posts: 197
|
Posted: Wed Feb 27, 2008 2:44 pm Post subject: Fixing /dev with information in bug 40987 |
|
|
Will the solution for fixing /dev work in a chroot enviroment?
https://bugs.gentoo.org/show_bug.cgi?id=40987
are there other ways to solve this issue?
thanks,
James |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Wed Feb 27, 2008 3:17 pm Post subject: |
|
|
What are you trying to fix? _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
jmarcus Apprentice
Joined: 12 Jun 2004 Posts: 197
|
Posted: Wed Feb 27, 2008 3:27 pm Post subject: |
|
|
I'm getting this message from /etc/issue:
Quote: | -----------------------------------------------------
Your system seems to be missing critical device files
in /dev ! Although you may be running udev or devfs,
the root partition is missing these required files !
To rectify this situation, please do the following:
mkdir /mnt/fixit
mount --bind / /mnt/fixit
cp -a /dev/* /mnt/fixit/dev/
umount /mnt/fixit
rmdir /mnt/fixit
You may refer to these instructions at /etc/issue.
If you previously had an issue file, it has been
backed up at /etc/issue.devfix. Once you've fixed
your system, you will have to restore your old issue
file in order to get rid of this warning.
Thanks for using Gentoo !
https://bugs.gentoo.org/show_bug.cgi?id=40987
-----------------------------------------------------
|
This complains that the files exist .
I can't login to the console.
thanks,
James |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Wed Feb 27, 2008 3:42 pm Post subject: |
|
|
Ok, and following the advise in that message doesn't work? How did you setup your chroot? Normally simply unpacking a recent stage file will populate /dev afaik. Though I usually simply mount -o bind /dev /mnt/chroot/dev _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand
Last edited by nixnut on Wed Feb 27, 2008 3:45 pm; edited 1 time in total |
|
Back to top |
|
|
jmarcus Apprentice
Joined: 12 Jun 2004 Posts: 197
|
Posted: Wed Feb 27, 2008 3:45 pm Post subject: |
|
|
I boot the machine. I can't login through the console. I login via ssh. Copy paste those commands, reboot and still can't login through the console and still get the error from the console /etc/issue.
Let me know if I'm not providing you enough information, I haven't been here in a while.
James |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Wed Feb 27, 2008 3:46 pm Post subject: |
|
|
Uhm, wait... you login to another machine with ssh? Where does the chroot come in? _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
jmarcus Apprentice
Joined: 12 Jun 2004 Posts: 197
|
Posted: Wed Feb 27, 2008 3:49 pm Post subject: |
|
|
Sorry.
I have done it in a chroot environment as well as booting the machine and ssh'ing to it.
James |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Wed Feb 27, 2008 3:58 pm Post subject: |
|
|
Give the modified instructions above a try. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
jmarcus Apprentice
Joined: 12 Jun 2004 Posts: 197
|
Posted: Wed Feb 27, 2008 4:11 pm Post subject: |
|
|
I tried as requested, (with the system booted not in livecd) I still can't use the console.
Any other thoughts?
James |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Wed Feb 27, 2008 4:18 pm Post subject: |
|
|
Perhaps boot the offending machine with a livecd, extract a stage file into a temporary location and copy the dev nodes from there to the /dev on of the root partition of that machine. Otherwise, I'm out of ideas too. You could try to search the forums with 'critical rectify situation' _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
jmarcus Apprentice
Joined: 12 Jun 2004 Posts: 197
|
Posted: Wed Feb 27, 2008 4:21 pm Post subject: |
|
|
I tried that and used cp -a /mnt/gentoo/root/tmp/dev* /mnt/gentoo/dev/
I was kind of surprised that didn't work. Its pretty much the same right?
James |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Wed Feb 27, 2008 4:44 pm Post subject: |
|
|
Yeah, should be just the same. No ideas anymore. sorry _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
|