Fedora - InstallationThis forum is for the discussion of installation issues with Fedora.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
FC4 boot shows "no such user : root".
Since it cannot find the user root(superuser) all sorts of permissions are denied as the boot proceeds, leaving a console login prompt which ignores keyboard input. The full line is:
Starting udev : MAKEDEV : no such user : root
There, of course, was a root user in my previous installation of FC2 on this machine. In this installation it asked for a password for root.
Since upgrading to FC4 seems to have wiped out the ability to boot under my old kernels, I cannot boot the machine to make any repairs in a shell.
Try using a knoppix CD to boot. Then mount your root partition, mount /dev/hda2 /mnt/hda2 and chroot /mnt/hda2 (be sure to use whatever proper dev and partition for your root filesystem). This should give you a root shell on your former system. Try to passwd root or something like that and see if you can reset your root password. If there's still no root user, I'm not sure what to do. But at least you could recover your old files and reinstall as a last resort...
I obtained and used Knoppix (great stuff), and found that I, indeed, have a root user on my system. I chrooted to my hard disk, and was able to change the password of root.
There is no change when trying to boot. It denies permissions and denies that a user called root exists. Is it even possible to not have a root user in Linux? Why is the loader trying to verify that he exists? Wouldn't all operations at boot automatically be assumed to be done by root?
It would be nice to know which files are controlling the boot at this point and where they are trying to pick up the root user from. The ...no such user : root... happens directly after the "Welcome to Fedora press "I" for Interactive" message. A number of lines appear before this, denying access to various files. How could I possibly be booting as an underpriviledged user? Who would I be?
I've honestly never seen this error before and google doesn't seem to be very helpful. My only recommendation is to enable your bootlog (on Debian edit /etc/default/bootlogd) and the try to reboot. It should create a file /var/log/boot.log. When the boot fails, reboot into Knoppix and see if there's anything useful in there...
I thought of one other thing you might check is that the root account on fedora has a UID and GID of 0 (i.e do the chroot thing you did above). Just look at /etc/passwd file. It should look like
I'm having the exact same problem, none of the above suggestions worked. Any idea why it would simply lose all the user information? Or how to fix this without restoring/reinstalling?
I can use a rescuedisk and see everything on the drive perfectly.
I'm also having this exact same problem on my fathers box. It manifested after some hardware problem (memory), which caused random segmentation faults during boots - after replacing the memory, I now have this problem.
I can boot in single user mode, but when I do a whoami, it says cannot find user with id 0.
passwd, group, shadow etc. files are visible and readable, and user root, gdm and others are there.
/ is mounted on '/dev/VolGroup00/LogVol00', which seems a bit strange....
I'd really like to repair this - everything is there, the system has just somehow lost where to look for users...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.