Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
|
02-21-2017, 10:53 PM
|
#1
|
LQ Newbie
Registered: Feb 2017
Posts: 9
Rep:
|
Huge problems with windows & arch! Need help!
Hello! I'm new to this forum so bare with me.
There are a string of problems that i tried to fix but the solutions i googled won't help.
So first of all i have windows 8.1 installed in my ssd (250gb) and arch installed in my hdd (2tb). I have made the arch partitions with cgdisk 1 for boot 1 for root and 1 for home. And installed it correctly with grub.
The first problem is that i was on my xfce4 gui on arch and had installed all the correct drivers and programs like steam, razer synapse, etc.. and than i rebooted my pc and tried to login using the same root password as before but this time it says that it's incorrect. I've checked if i typed it wrong but i am 100% sure it's something else. Than i booted on my usb where i have the arch.iso and tried a method that i found by googling where i mount the root partition on my hdd (arch) and do arch-chroot and type passwd to change my password but apparently after booting on arch it's still incorrect. (It didn't probably even change it) So now i need a way to recover/reset my root password.
The second problem is that i can't boot up my windows 8.1 (ssd) anymore. I wen't on my bios bootmenu and clicked my ssd to manually boot up windows but it showed a blackscreen with _ on the top left corner for a second and came back to my bios bootmenu. I have tried booting on my windows 8.1 installation cd and fixing the boot from cmd but it didn't help.
I'm also 100% sure that windows is still in my ssd because when i was booted on my xfce4 gui i could browse my windows files and see the bootfiles etc..
So i need help getting my windows to bootup again. I don't mind removing arch as long as i don't need to format my ssd and reinstall windows..
Sorry if this is hard to read. (Which it probably is) I typed this on my smartphone.
I can provide more information if needed.
|
|
|
02-22-2017, 10:14 AM
|
#2
|
LQ Newbie
Registered: Feb 2017
Location: Rio de Janeiro, Brazil
Distribution: Debian GNU/Linux 8.7 (jessie)
Posts: 10
Rep:
|
The only time I could notice this happening was when I set the password for the user while "num lock" was powered off.
I needed to check if it was working first, sometimes it is actually off when the led says otherwise.
And if you type when login as root, it will say it is wrong password no matter what.
Last edited by M3A2NwLcizG6Kxn4a1GXYBMz; 02-22-2017 at 10:16 AM.
|
|
|
02-22-2017, 10:54 AM
|
#3
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
you could get you windows install boot into recovery mode fix your mbr and boot for windows to et windows back then re-install you Linux if you cannot get back in, then do that half over again reinstalling grub to pick up linux and windows but it I bet is booting efi so your bios and it dealing with how to boot is out of my knowledgeable configuration within my brain.
But I'd still look into boot and mbr / efi repair for windows to see if you can get that to use the sdd (sda) mbr / efi part to boot into windows again.
|
|
|
02-22-2017, 12:19 PM
|
#4
|
LQ Newbie
Registered: Feb 2017
Posts: 9
Original Poster
Rep:
|
I've typed my password in the username section to check if i'ts typed wrong but nope.
I've also tried to fix the boot files using the windows install CD method but no luck. I will try it once again and tell the results here. I have launch csm enabled in bios and secure boot in other OS when i try to boot in to grub and it was on windows UEFI mode when i tried to boot into windows. That was also the default settings which i had when arch didn't exist on my PC.
|
|
|
02-22-2017, 12:27 PM
|
#5
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
if you can do this, downloads supergrub2
install it to USB STICK (usually the dd if= of=) read instructions. then boot that follow the prompts that will at least get you into windows. If all else fails.
|
|
|
02-22-2017, 01:16 PM
|
#6
|
LQ Newbie
Registered: Feb 2017
Posts: 9
Original Poster
Rep:
|
Update:Apparently my ssd which contains my windows 8.1 installation doesn't show up in my bios bootmanager. I tried repairing my windows 8.1 boot from the installation cd but after giving it the command bootrec /rebuildbcd it said found 1 windows installation C:/Windows and i typed yes to add in to bootlist but than it gave me this error: The requested system device cannot be found. So i guess if this gets resolved i get windows to bootup. Any advice?
Update2: I fixed my Windows bootloader. Apparently bcdboot.exe C:\Windows /s C: command fixed it.
So now i need help recovering my root password on arch.
Last edited by ProleX; 02-22-2017 at 01:24 PM.
|
|
|
02-22-2017, 01:57 PM
|
#7
|
Senior Member
Registered: Feb 2009
Posts: 4,667
|
How do you log in to Arch? Are you logging in through the console, or have you installed a "display manager" (DM) such as GDM or LightDM?
The reason I ask is this: Most modern DM's will not allow you to log in as "root". This is a security feature, by design.
Instead, try logging in to the DM as your user (you did create a user, right??) and then use "su" or "sudo" when you need admin rights. There is no good reason to run Steam and play games as the root user!
In other words, it is possible that your root password is totally fine, but rather that, by installing a DM as the Arch wiki recommends, you took away your direct root login ability.
|
|
|
02-22-2017, 02:47 PM
|
#8
|
LQ Newbie
Registered: Feb 2017
Posts: 9
Original Poster
Rep:
|
Quote:
Originally Posted by snowpine
How do you log in to Arch? Are you logging in through the console, or have you installed a "display manager" (DM) such as GDM or LightDM?
The reason I ask is this: Most modern DM's will not allow you to log in as "root". This is a security feature, by design.
Instead, try logging in to the DM as your user (you did create a user, right??) and then use "su" or "sudo" when you need admin rights. There is no good reason to run Steam and play games as the root user!
In other words, it is possible that your root password is totally fine, but rather that, by installing a DM as the Arch wiki recommends, you took away your direct root login ability.
|
I`m currently running XFCE4 GUI but i login from the console as root than i type startxfce4 to enter the desktop enviroment. I`m actually not sure if i even have a dm. I recall installing GDM but i am not sure at all. Is there any way to check this? Also how could i make arch boot right into my desktop enviroment without having the console style login first? I recall using lightdm in my previous installation of arch and it brang me to a digital loginscreen instead of a console enviroment. Btw, I`ve tried logging in as user which has the same password as root but still no success.
|
|
|
02-22-2017, 03:19 PM
|
#9
|
Senior Member
Registered: Feb 2009
Posts: 4,667
|
It sounds like you may have glossed over the post-install recommendations about creating one (or more) user accounts. There is no reason ever to run Xfce desktop as root, and lots of reasons not to---it is a highly un-recommended practice! Often when users have trouble with Arch, it's because they didn't carefully follow the instructions step-by-step. I'd suggest to go back and carefully re-read the relevant section of the install instructions:
https://wiki.archlinux.org/index.php...ers_and_groups
(Your question about Display Managers is answered in Section 4 of that same document: "Graphical User Interface")
Last edited by snowday; 02-22-2017 at 03:21 PM.
|
|
1 members found this post helpful.
|
02-22-2017, 03:27 PM
|
#10
|
LQ Newbie
Registered: Feb 2017
Posts: 9
Original Poster
Rep:
|
Quote:
Originally Posted by snowpine
It sounds like you may have glossed over the post-install recommendations about creating one (or more) user accounts. There is no reason ever to run Xfce desktop as root, and lots of reasons not to---it is a highly un-recommended practice! Often when users have trouble with Arch, it's because they didn't carefully follow the instructions step-by-step. I'd suggest to go back and carefully re-read the relevant section of the install instructions:
https://wiki.archlinux.org/index.php...ers_and_groups
(Your question about Display Managers is answered in Section 4 of that same document: "Graphical User Interface")
|
I have a secondary user account created. But i cannot access it too. It has the same password as my root account.
|
|
|
02-22-2017, 03:28 PM
|
#11
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
if it is booting and you're getting a gui login screen, and cannot get in. you could switch tty to get another cli login and try logging in as root, if Arch does that, or whatever user and password. if not user just to see if that user can in fact log in.
then it has to be root, if root logs in then you can create a user on the command line.
Code:
useradd username
or
adduser username
(depending on distro)
(than)
passwd username
exit
exit to logout of root, switch back to your gui login screen then log in your user you just created.
if Arch has xinit installed you could also while being logged in on the cli is run startx and hopefully the files needed will already be added in.
I do not know how Arch Linux does things. but if everything is setup properly then startx will/should give you whatever default DE/WM you have set up during the install.
but it is worth a try.
Last edited by BW-userx; 02-22-2017 at 03:34 PM.
|
|
|
02-22-2017, 03:36 PM
|
#12
|
Member
Registered: May 2007
Posts: 123
Rep:
|
Quote:
Originally Posted by ProleX
So now i need help recovering my root password on arch.
|
Have you tried this?
|
|
1 members found this post helpful.
|
02-22-2017, 04:29 PM
|
#13
|
LQ Newbie
Registered: Feb 2017
Posts: 9
Original Poster
Rep:
|
Quote:
Originally Posted by stanvan
|
¨
Yes i have done this already and like i said in my earlier post it most definitely didn`t work :/
To make it clear for someone who didn`t understand. I`m attempting to login on tty1. I don`t have a login gui. I only have the desktop gui (xfce) which i access after logging on to arch on tty1 and typing startxfce4. My root account and user account both have the same password. I`ve tried to login on both in tty1 and the password is incorrect. Hopefully you can understand the issue now
|
|
|
02-22-2017, 04:48 PM
|
#14
|
Senior Member
Registered: Feb 2009
Posts: 4,667
|
Is English your one and only language, or might you have configured Arch to use a different language/locale? A fairly common cause of "I type my password but it doesn't work" would be if the keyboard language at the login screen doesn't match the keyboard language that was active at the time you set the password. This could lead to accidentally mis-typing the password, because the keyboard layout has changed.
Last edited by snowday; 02-22-2017 at 06:50 PM.
|
|
|
02-22-2017, 05:03 PM
|
#15
|
Member
Registered: May 2007
Posts: 123
Rep:
|
Quote:
Originally Posted by ProleX
I`m currently running XFCE4 GUI but i login from the console as root than i type startxfce4 to enter the desktop enviroment.
|
Quote:
Originally Posted by ProleX
I only have the desktop gui (xfce) which i access after logging on to arch on tty1 and typing startxfce4
|
You're right, I do not understand. Sorry. I am reading your issue like this:
1. You log in on tty1 as root
2. You type startxfce4
3. You go straight to the desktop without another login prompt
Is this not the sequence of events?
|
|
|
All times are GMT -5. The time now is 05:53 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|