Fedora :: Login Fails After Transferring Root Filesystem To Another Hdd?

May 20, 2011

I rsync-ed root fs as a whole to another hard drive. In grub.conf I changed kernel option

root=/dev/sda1 ---> root=/dev/sdb

After kernel mounted root filesystem on the new hdd and all services started I successfully got prompt to enter login and password. However after login I immediatelly logout automatically. Here is /var/log/secure output:

Quote:

May 20 23:53:18 localhost login: pam_unix(login:session): session opened for user alex by alex(uid=0)
May 20 23:53:18 localhost login: LOGIN ON tty2 BY alex
May 20 23:53:18 localhost login: pam_unix(login:session): session closed for user alex

What is printed before this:

Quote:

May 20 23:50:47 localhost pam: gdm-password[1469]: gkr-pam: couldn't run gnome-keyring-daemon: Access denied
May 20 23:50:47 localhost pam: gdm-password[1455]: gkr-pam: gnome-keyring-daemon didn't start properly properly

Neither of these quotes appears if the initial file system (not rsync-ed) is used as root fs. I guess that pam might use information of hard drive, for example, its serial number, and login is tied to a disk. Please, give me a suggestion how to get rid of automatic logout.

View 6 Replies


ADVERTISEMENT

OpenSUSE Install :: OS 11.2 Installation Fails While Copying Root Filesystem

Jan 27, 2010

Have been running 11.1 on a generic notebook (eRacks) just fine until a few days ago when CUPS couldn't be reached. Rather than futz more with 11.1, I decided to install 11.2 (which has been on my desktop). Using the same CD, which continues to check ok, the install has failed many times at about the same point: 87% through "copying root filesystem" in yast2.
Specs: Intel P4 2.4 GHz, 1.5 GB RAM, ATI radeon PV250Lf

The HD was partitioned into /, swap, /home, and an extended partition of /opt, /var, /usr. Only / was ext4 and the rest were ext3. Tried various options:
* no apic
* no acpi
* "noapic acpi=off" entered manually
* Vesa instead of 1024x768

Each time had to edit partition table to mount the extended partitions. Always formatted /. At first didn't format the extended patitions, later formated all but /home. Then set yast2 to format / as ext3, to match the other partitions. In the sysinfo page the / partition is now shown as /mnt containing 723.6 MB out of 7 GB, still formatted as ext4. On rescan by yast2 partition manager, / shows as ext3. The install halts every time with an error while "copying root filesystem." Tried booting from the CD direct to install and to the Live OS followed by install--same result. So, hours later, went back to 11.1--which installed in minutes.

View 4 Replies View Related

Debian Installation :: User Login Fails / Root Ok

May 26, 2015

Debian 8/Cinnamon fresh install. /home is being shared with two other OS's, Mint and openSUSE. At the login screen I enter my user name and password and the screen blacks for 1-2 seconds and comes back asking for user name and password. I can login as root. As root I can launch the Group & Users GUI and attempt to set the user's password, and pressing the 'change' button does nothing obvious.

I can set the user's password in a terminal, which reports success. I tried to switch users and login with the changed password and I get the same failure. If I try to login with the original password I get an incorrect password error, suggesting that the password is being processed properly and the problem is elsewhere.

On previous installs with Mate and the default desktop (Gnome) I didn't have this problem. So, the questions are: Is it Cinnamon? Is it an unlucky chance bad install? Config files are typically in /home, which is being shared with Mate and KDE, is this the problem?

View 3 Replies View Related

OpenSUSE Install :: Unknown Filesystem Type 'reiserfs' Could Not Mount Root Filesystem - Exiting To /bin/sh

Mar 27, 2010

When I try to boot to OpenSUSE I get the following error during boot-up: unknown filesystem type 'reiserfs' could not mount root filesystem - exiting to /bin/sh$

This only started happening quite recently - before this I could boot to Linux quite happily.

View 6 Replies View Related

Fedora Security :: SElinux Fails To Start Filesystem Relabel

Sep 10, 2009

I recently made a custom spin of fedora on 29th August 2009. It initially failed to go past the slash screen but a solution was found here on fedora forum. It included adding the following to kernel line in grub.

enforcing=0

I later checked SElinux and found the option to do a filesystem relabel at next boot was enabled. I rebooted the system without adding the above words "enforcing=o" and it got stuck after the the splash screen (the blue screen with a fedora bubble). I then did some more research on SElinux and filesystem relabelling. There were several comments that said that a notice is given in the event of a filesystem relabel. I went to the konsole and as root I wrote the following commands:

touch /.autorelabel
reboot

I gave my pc 20Hrs 48min and nothing happened. My HDD is 80GB but it only had 7.5GB of data. There were no messages that indicated that the filesystem relabel was in progress or even if it had started. I also tried the following command but failed:

make relabel

I have now had to edit grub.conf and added the words "enforcing=0" as it is the only way the system will go passed the splash screen.

View 13 Replies View Related

Fedora :: Trying To Build A Root Filesystem?

Aug 13, 2009

I am trying to build a root file system for using it with the user mode linux on a fc 11 system.

View 5 Replies View Related

Red Hat / Fedora :: Root Line Passwd File Now Unable To Login As Root?

Jan 26, 2010

I edited the passwd file to modify the default shell for root from bash to tcshnow when I try to login to root it gives me the following error:"su: /bin/tcsh : No such file or directory"

View 3 Replies View Related

Fedora :: Does Not Remount /root Filesystem On Start

Sep 10, 2009

2 days ago I had installed Fedora 9 on an old machine. The installation was from a Flash USB, and was OK and the kernel on thar installation was 2.6.25-14.fc9.i686.

After the installation I updated the system, and all looks to be ok, and the system was set with the kernel 2.6.27.25-78.2.56.fc9.i686.

But when I start the system with the latest kernel itÅ› get blockd on "remounting root filesystem in read-write mode" step, but not with the original kernel witch start correctly.

View 2 Replies View Related

Fedora :: Filesystem Root 100 Percent Full

Jun 25, 2010

I'm new to fedora 13 and I have been through a few installs already with a 12TB raid. Fedora is installed on a separate 250GB drive. I've mounted the 12TB drive as a single share and I'm capturing large video files (12-90GB each) to the raid in a Samba Share across the network. The system runs great for about three days and then I start getting warning messages that "the volume filesystem root has only 1.9GB of disk space remaining" then another later 205MB etc until it eventually fills to 100% and then locks the machine. If I reboot I get a Gnome error and can't login. The only solution has been to reinstall fedora again from scratch.

Each time I allocate more space for root. My current partition is 65G in size. The raid shows only 5.1TB of space used and it shows 7.2TB of free space. The raid share shows as being mounted in /media. Root shows that it will be full at 5.2TB, and I'm almost there, so I'm probably looking at another install in just a short while when it freezes again. I've read reinstall and make a larger root partition, but I'm not sure how big that must be to avoid this problem in the future. Also, is there a limitation on the size that root can be? my question stems from the fact that I have over 7TB of free space but somehow the root is reporting as 100% full at only to 5.1TB.

View 11 Replies View Related

Fedora :: Can't Login Into The Root Account: It Returns Me Immediately To The Login Prompt?

Jan 27, 2010

I just installed Fedora 12 on a laptop. I changed the default shell on the root account to /bin/tcsh and changed the runlevel to 3 and then rebooted. Now I can't login into the root account: it returns me immediately to the login prompt and I can't see any error message (the screen is cleared).Why is this happening?Can I boot into some sort of safe mode so I can undo my changes to the /etc/inittab and /etc/passwd file?I tried booting with a Live CD with the intention of mounting the filesystem and making the changes, but the new filesystem is a LVM and it won't let me mount it (or I don't know how to mount a Logical Volume).

View 3 Replies View Related

Fedora Installation :: Live Usb Cannot Find Root Filesystem?

Aug 31, 2009

i made a live usb stick with a original live iso image of f10 following carefully instructions of fedora support comunity once i finished i had tested it and i had the same problem (warning can not find root filesystem create symlink /dev/root and then exit this shell to continue the boot sequence, bash: no job control in this shell) of the following person:

View 2 Replies View Related

Fedora :: Grub Failed - Can't Mount Root Filesystem

Jul 31, 2010

Running F12 on my compaq evo N410c. Did a system restart 4rm gnome logged in as root & now grub cant mount my root filesystem, it boots vista though. How do i rectify dis.

View 2 Replies View Related

Red Hat / Fedora :: How To Convert Root Filesystem Into LVM2 Configuration?

Jan 22, 2009

i want to know that if i install linux on to my pc with SWAP/ boot as partition and after that i want to convert them to LVM2 type configuration .how can i do that.i want to create a system having logical volumes from that system without reinstalling these partitions should convert into two LV's
LV 0 for root
LV 1 for swap

both in one volume group.

View 1 Replies View Related

Hardware :: Fedora Boot Failed: Can't Mount Root Filesystem.

Jan 12, 2010

My Fedora 12 System was failed when booting.The message like that : mount: wrong fs type, bad option, bad superblock on /dev/mapper/my_vol missing codepage or helper program, or other error. In some case, useful info is found in syslog - try dmesg | tail or so Can't mount at root filesystem. [drm: drm_mode_rmfb ] *ERROR* tried to remove a fb that we didn't own. Boot has failed, sleep forever. I guess something wrong with my hard disk, so the bootloader can't recognize the filesystem type.

View 2 Replies View Related

Red Hat / Fedora :: Can't Mount Root Filesystem - Boot Has Failed - Sleeping Forever

Jan 9, 2010

I've downloaded Fedora 12 and decided to try and install it on my old laptop which is currently running Ubuntu 9.10 with no problems.

When I boot from the live cd, it starts to load with the 3 bars on the bottom, one on top of the other, one is white, one is dark blue, the other is in between those colours in the spectrum somewhere....

Anyway, the load bars complete and "Fedora 12" turns white, then the following output populates:

mount: unknown filesystem type 'DM_Snapshot_Cow' (<----- repeated a bunch of times) can't mount root filesystem Boot has failed, sleeping forever.

View 9 Replies View Related

General :: Remount Root Filesystem As Read/write After Modify Readonly-root File?

Dec 21, 2010

My linux distro is CentOS 5.3. Today I edited /etc/sysconfig/readonly-root and set "READONLY" to yes, now my /etc/sysconfig/readonly-root file is like this:

# Set to 'yes' to mount the system filesystems read-only.
READONLY=yes
# Set to 'yes' to mount various temporary state as either tmpfs

[code]...

View 3 Replies View Related

Debian :: Can't Change Permissions For The HDD Without Login On Root And Root Login Are Not Allowed?

Jun 16, 2010

How to enable Root login...i cant copy or move something on the HDD...I have administrator rights and password for root but i cant change permissions for the HDD without login on root and root login are not allowed .

View 10 Replies View Related

Red Hat / Fedora :: Filesystem Check After Power Outage - WARNING: "Running E2fsck On A Mounted Filesystem May Cause SEVERE Filesystem Damage"

May 18, 2011

I am very new to linux, and I have a question regarding the filesystem check (fsck). The power recently went out and when I tried to restart linux the following error appears:

*/dev/sda1 contains file system w/errors, check forced it then goes on to say..

*An error occured during the file system check. Dropping you to a shell; the system will reboot when you leave the shell. Give root password for maintenance (or type Control-D to continue) I wasn't sure what to do, but checked some other online forums and they suggested running fsck manually - so I typed in the root password - and used the command, "fsck -A -V ; echo == $? ==" it then gave the following message

*WARNING!!! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage
*Would you like to continue (y/n)

Again, I wasn't sure what to do so i just checked no. I then manually turned off the computer and was prompted at the beginning to press Alt-3. I was brought to another screen and it informed me one of the drives was degraded and suggested rebuilding the array. I tried doing this, but it still brings me back to the original error of, "/dev/sda1 contains file system w/errors, check forced," and the process continues.

Also, when I tried to rebuild the array, I didn't backup any of the data on our home directory before doing this (which was probably a big mistake). After being prompted to type the root password, I was able to give the ls command and look at all the directories...the home directory where our data was stored was empty and I am afraid I may have lost some information. Is there a possibility that data was lost when I was trying to rebuild using the old drives?

View 2 Replies View Related

Fedora :: Rhthmbox Fails To Play Anything On Fc11 (except As Root)

Jan 11, 2010

my rhythmbox used to work fine. i updated my computer and restarted it today and it failed to play anything but does not generate any errors either. however, if i run it from terminal as root it works fine.

so it seems like a few other people have had this issue after an update and seem to blame gstreamer-plugins. i tried a couple of things including removing gstreamers-plugins (good, bad and ugly) and rhythmbox and then reinstalling them all. none of which seemed to work for rhythmbox. (this method seemed to work for mplayer which was also not playing anything after the update.)

View 2 Replies View Related

Red Hat / Fedora :: RPM Install Script Fails On Root Change / What To Solve It?

Mar 4, 2011

I am working with Rhel 5.5. I am creating rpms and I have an issue. I want to bzip up the file before I make the rpm. Then I want to unzip it at install time. I add the zip up work to the %prep tag and added the unzip to the %prerun tag of the SPEC file. Everything works fine.

Then I install the rpm to a different folder with rpm -i --root /tmp for example and the scripts fail to run because the script can't find /bin/sh.

It makes sense because rpms are dependent on the absolute paths to the file, but I want to know how to still have the scripts run. I tried to put the /bin/sh in the /tmp folder (in the example above) but it still can't find it. And yes i do have /bin/sh on the system.

View 4 Replies View Related

Fedora Installation :: User Login Fails Completely?

Jul 23, 2009

Fresh install of Fedora 11 x86_64, ext4 file system, Intel Quad, 1 Tb disk

Went through install, defined mike as user with password

reboot, get graphic login (init 5); cannot login as mike OR AS ROOT!! (unable to authenticate)

use live cd, reset inittab to start at level 3

reboot, get user prompt on terminal at level 3

enter mike and password, system wait a minute or more, returns to login prompt (obviously timing out --- dbus problem???)

enter root and password, get in, issue startx

open terminal window, and issue "su mike" command, ten minutes later, finally get terminal with mike as user.

Use ctrl-alt-F2 to get a terminal, type mike, and password, no joy; login as root and type "su mike". Go back to Gnome screen at F7, so I can continue to type this , and check back at F2 periodically to see if "su mike" ever takes. After three minutes, still no joy. After five minutes, it worked. whoami shows "mike"

View 6 Replies View Related

Ubuntu :: Can't Cd To Root Acount /home In Terminal - Sudo Cd /root Fails?

Jul 25, 2011

can't cd to root acount /home in terminal - sudo cd /root fails?

View 3 Replies View Related

Fedora :: Root Login On GDM & KDM?

Oct 2, 2009

I notice that by default KDM lets you login as root, yet on GDM is disable. How can I enable GDM to let me login as root, and how to I disable the feature on KDM?

View 3 Replies View Related

Fedora :: How To Login As Root

Nov 17, 2010

Just downloaded and installed 14.I have downloaded XAMPP as a user and extracted it to the desktop.Now I need to move it to the opt folder and I cannot do that - insufficient permission. When I try to switch user to root it does not accept the password even though I know I am using the correct pw because I can bring up terminal, do su, enter the pw and get terminal access.How do I log in as root or how do I move the folder to opt as a general user?

View 8 Replies View Related

Red Hat :: Login GUI In Fedora 10 As Root?

Mar 9, 2009

In Fedora 10, How to login as root user in Graphical User Interface?

View 6 Replies View Related

General :: Login GUI Fails To Appear On Startup In Fedora 13 - Stalls With The F/infinity Symbol

Jun 28, 2010

On startup my machine (a PC a few years old with recent Fedora 13 clean install) seems to be OK until it tries to get to the Login GUI, where it stalls at the f/infinity Fedora logo. The last things I did before shutting down my computer last were uninstalling the mail client Evolution via the GUI package manager and downloading a torrent. Could these have effected such a stuff up? I'm not altogether clear on logging in via a terminal.

View 4 Replies View Related

Fedora :: Unable To Login As Root

Feb 15, 2010

I'm using fedora 12 along with Windows XP the problem is I'm unable to login as root but I'm able to authenticate with the same password as another user.

View 4 Replies View Related

Fedora :: 12 - Can Log Into The Gui Login Screen With Root

Feb 19, 2010

Can we log into the gui login screen with root under Fedora 12 because I keep getting an Authentication Failure even when I change the password to a simple password named password? I can login under root in the terminal and when ever it requests the root password in a regular user account.

View 3 Replies View Related

Fedora :: How To Enable Gui Root Login

Jan 2, 2011

i installed FC 13 the version was kde and i installed gnome using yum, edit /etc/pam.d/gdm and /etc/pam.d/gdm-password

View 2 Replies View Related

Fedora Networking :: 14 - Can Set My Box For SSH After Login As Root

Feb 16, 2011

I am running Fedora 14 and can set my box for SSH after I login as root.

My question is I can script this process but how would I enable the root in the script? Also is there any way I can configure this in the OS where when the machine boots up I can log in remote so SSH will always be on.

I am running a Linux box an would like it to act as a server but keep in mind that it wont always be on and I only use it for educational purposes.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved