[SOLVED] Huge problems with windows & arch! Need help!
Linux - NewbieThis 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.
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.
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.
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.
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.
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.
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.
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.
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.
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:
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:
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.