cannot open access to console,the root account is locked
FedoraThis forum is for the discussion of the Fedora Project.
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.
Maybe you can boot from another drive, mount all your partitions, and bind mount /sys, /proc, and /dev, and then chroot into your mounted file sytem. Then you should be able to correct permissions and set root password, etc.
Maybe you can boot from another drive, mount all your partitions, and bind mount /sys, /proc, and /dev, and then chroot into your mounted file sytem. Then you should be able to correct permissions and set root password, etc.
.I tried the usb on another laptop and it works normally so there is a problem with my laptop.Does the problem with Grub that I wrote above play a role?Or does it have to do with the usbguard that I put in fedora and creates a problem on the usb? https://forums.fedoraforum.org/attac...5&d=1690126897
The /sys directory is transient (it's not really a directory at all but a window into the kernel disguised as a directory tree). Consequently to have something like this set permanently, it would have to be reset on a per-session basis by a startup script (probably rc.local). Can you recall editing such a script? If so, re-editing it might give you a way to fix the problem if you could just once get the system up and running!
The /sys directory is transient (it's not really a directory at all but a window into the kernel disguised as a directory tree). Consequently to have something like this set permanently, it would have to be reset on a per-session basis by a startup script (probably rc.local). Can you recall editing such a script? If so, re-editing it might give you a way to fix the problem if you could just once get the system up and running!
Could you boot from a cdrom if usb doesn't work?
the usb does not work, it keeps giving an invalid image message when I boot from usb.I tried a different usb and again the same thing came up and after that when I enter windows the usb says write protected. I tried cd and boot but it didn't work because it gives me the error with grub ,Minimal BASH-like line editing is supported.I gave some commands that I found on the internet and it gave me these results,I don't know if they help us in any way https://ibb.co/ww1RXYx
If you are still getting the error about unlocking the root account, the solution is at the link posted in post 15 at the fedora site. You need to boot the USB and chroot to the system installed. There is a link on that page which explains how to do that.
The image you posted in your last post shows sdb3 as a vfat partition (EFI partition) and the filesystems on sdb2 and sdb3 are unknown. You might try running fsck on those partitions from the USB if they are Linux partitions/filesystems. Those are the only partitions shown so what are they? You indicate you have windows and Linux installed, are they on the same drive or another drive?
If you are still getting the error about unlocking the root account, the solution is at the link posted in post 15 at the fedora site. You need to boot the USB and chroot to the system installed. There is a link on that page which explains how to do that.
The image you posted in your last post shows sdb3 as a vfat partition (EFI partition) and the filesystems on sdb2 and sdb3 are unknown. You might try running fsck on those partitions from the USB if they are Linux partitions/filesystems. Those are the only partitions shown so what are they? You indicate you have windows and Linux installed, are they on the same drive or another drive?
the issue is that my usb is giving me errors of the type invalid image.I don't know if it's due to the usbguard that I put in fedora and I couldn't delete it afterwards.I tried to boot with cd and it throws me to the black screen with the grub message. I am impressed that no one here is aware of this.Is this problem so unique?Can I do any action from within windows?Where in windows I enter through the bios because no operation system starts automatically so that I can choose
the issue is that my usb is giving me errors of the type invalid image
That is complete unrelated to the original post and title of your thread. I would suggest you start a new thread with the information about "invalid image" when booting from your USB. People who have familiarity with that type problem are not going to look at a thread with the title you have.
I would suggest you look into the possibility of "usbguard" causing the problem. The link below to Red Hat gives a detailed explanation of its use.
Reading through post 5, that is the problem which you caused yourself and why you should avoid taking actions you do not understand, or at least keep notes of exactly what you did so you can undo them later.
That is complete unrelated to the original post and title of your thread. I would suggest you start a new thread with the information about "invalid image" when booting from your USB. People who have familiarity with that type problem are not going to look at a thread with the title you have.
I would suggest you look into the possibility of "usbguard" causing the problem. The link below to Red Hat gives a detailed explanation of its use.
Reading through post 5, that is the problem which you caused yourself and why you should avoid taking actions you do not understand, or at least keep notes of exactly what you did so you can undo them later.
the initial problem was the thread title.then when i tried to boot with usb the problem with the usb appeared .the article you posted is useless in the sense that i can't even get into fedora.not even grub comes out to choose an operating system
I posted the link to show what is required to install the software (usbguard) and how to configure it so you could check against your notes to see if you configured it correctly. usbguard is probably what is keeping you from booting your usb according to the site I linked. The initial problem solution is explained in the link in post 15 which you cannot do as your usbguard software is preventing it. If you have a DVD player you might try that.
I posted the link to show what is required to install the software (usbguard) and how to configure it so you could check against your notes to see if you configured it correctly. usbguard is probably what is keeping you from booting your usb according to the site I linked. The initial problem solution is explained in the link in post 15 which you cannot do as your usbguard software is preventing it. If you have a DVD player you might try that.
I tried it with dvd but it takes me to the grub problem : Minimal BASH like line editing is supported.So it doesn't work.Can I through windows solve this problem?
A default windows system is unable to read much less write to a Linux filesystem so, no. There is 3rd party software which might be able to access Linux from windows but I don't know what it might be or how well it might work. Have you tried to chroot as explained in the link posted in post 15 above. If so, what happened. You should be able to do that if you use the same method you did to post the ls commands from Grub in your earlier post. ls simply gives information and doesn't do/change anything. The chroot commands can make changes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.