I am a novice tester, testing xfs tests. I have installed opensuse 12.2 32bit system in /dev/sda1 and swap in /dev/sda2 and home in /dev/sda3. apart from these 3 partition, i have 5 partitions on extended partition, each of 1gb. i.e., sdb5, sda6, 7, 8, 9 formatted as btrfs. each mounted on /media directory. after running scripts in xfs test suite, in next reboot, system will fall back to emergency mode. gnome 3 is not starting.
On 2013-02-24 11:26, praneethu wrote:
>
> I am a novice tester, testing xfs tests. I have installed opensuse 12.2
> 32bit system in /dev/sda1 and swap in /dev/sda2 and home in /dev/sda3.
> apart from these 3 partition, i have 5 partitions on extended partition,
> each of 1gb. i.e., sdb5, sda6, 7, 8, 9 formatted as btrfs. each mounted
> on /media directory.
Do not mount anything yourself in the /media directory. That directory
is temporary, resides in ram, the mount points are destroyed on reboot,
and thus your system boots to emergency mode when it does not find them.
Use /mnt. Leave /media to the system automatics.
To recover, use the emergency mode to edit fstab and comment out the
faulty entries.
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)
I can do all activities that a root user can do. i can even go to existing user’s home directory. problem is that, GUI is not working.
Xwindowsystem crashes. if i give command, #startx, error will come as “unrecoverable error had occured” press logout button.
if i press logout, same error will come again.
so you didn’t give to your user admin privileges(specially for GUI) and you connect via sudo or su to the admin account to do your changes. Is that assumption correct? based on this reply some knowledgeable people might be able to help you. So please clarify what you do/did as admin.
well during installation an admin account is created and an user with the same password(or if you choose a new passord or user can be created). If that user you created is admin other than the default root and you are logging in the GUI with that account then you are in trouble. It’s very unsafe and with unexpected consequences and nobody in here would help you as it is way to complicated to figure out what happened. If you su just in a terminal console(text console) to that admin user you created than it’s a different story. The way I understood from you is that you trying as in Windows to be an admin so you can install applications in a graphical interface. Please state clearly which it is.
Yes, what you understood is correct. So what i came to know from your reply, is apart from default user with admin privileges which is created while installing, i need to create another user with limited functionality and work. is that correct ?
> Yes, what you understood is correct. So what i came to know from your
> reply, is apart from default user with admin privileges which is created
> while installing, i need to create another user with limited
> functionality and work. is that correct ?
Yes. You need one administrator user, which is always named ‘root’, and
a normal used named as you choose. The administrator user never logins
in the graphical session.
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)
Yes. there is a root user, apart from that another user account from which i have logged in and gained super user privileges with su command and worked.
But for the problem i have posted, i found where the problem persists while i tried to see how suse is loading in verbose mode. It gets stuck at mounting btrfs device, which was used to test btrfs snapshot test case in xfstest suite. so if i unmount before rebooting system, GUI gets loaded.
On 2013-02-26 17:46, praneethu wrote:
> But for the problem i have posted, i found where the problem persists
> while i tried to see how suse is loading in verbose mode. It gets stuck
> at mounting btrfs device, which was used to test btrfs snapshot test
> case in xfstest suite. so if i unmount before rebooting system, GUI gets
> loaded.
So, the btfrs partition was not mounted correctly, and the error is not
solved automatically at boot. Issue a bugzilla.
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)
IMO btfrs is still experimental and should not be relied upon in a production system. I suspect you have a corrupted file system somewhere and there is no real way to fix it reliably. Use ext4 it at least can be recovered from most serious crashes. AFAIK there is no working fschk for btfrs in your version. I have heard that 11.3 might be better but then again maybe not so much.