Not boot not disks

[i am liveuser usb rescue? ISO image? real fedora? etc? ]

[liveuser@localhost-live ~]$ sudo mkdir /mnt/root
[liveuser@localhost-live ~]$ sudo mount UUID=6fec64c0-a806-464e-9e7e-a72a403ba06e /mnt/root
[liveuser@localhost-live ~]$ sudo chroot /mnt/root/root
cat: /proc/31789/comm: No such file or directory
[root@localhost-live /]# sudo chroot /mnt/root/root
sudo: account validation failure, is your account locked?
sudo: a password is required
[root@localhost-live /]# su
su: cannot open session: Permission denied
[root@localhost-live /]#

Hello @perryt ,
The official Fedora Linux Workstation image burned to the USB stick with Fedora Media Writer (windows or mac or linux) will result in the best approach to creating the installation media. The installation media has the “repair already installed system” option (rescue) I am referring to.

1 Like

You did the chroot command twice. You just need it once. The second chroot cannot work. Therefore, do the chroot only once. As I described above.

The su was just to ensure that the journalctl commands are with root privileges. If you are already root, it normally does not cause an issue. However, in this case, just remove it: so, do not su.

Therefore, do the following as described, but without su, and do each command only once:

Then show us the output of the three journalctl commands.

If you try it again, I suggest to use a new live instance (= restart the system, and boot again the live system). So, all the above has to be done within a live system but on the machine with the damaged Fedora you want to repair.

As suggested, you may first focus on the approach of @jakfrost . These are two different things:

[root@localhost-live /]# which journalctl
/usr/bin/journalctl
[root@localhost-live /]# ls -asl /usr/bin/journalctl
0 -rwxr-xr-x. 1 root root 0 Apr 12 04:27 /usr/bin/journalctl
[root@localhost-live /]#

[root@localhost-live /]# journalctl --boot=0
[root@localhost-live /]# journalctl --boot=-1
[root@localhost-live /]# journalctl --boot=-2
[root@localhost-live /]#

… restarted

With the assumption that you did the mount+chroot before that, what was the output of the three journalctl commands?

You can also direct the output into files as you did it before, if that is easier for you.

Stephen snow — i am windows 10 Fedora Media Writer to Fedora 36, and General Udisk (1TB). i am boot fedora 36 and not disks! i am “start fedora 36” it checked. (do i is “test disk image & fedora 36”?)

  • i am not find “repair already installed system”?

christpher klooz –

Yes.

[liveuser@localhost-live ~]$ sudo mkdir /mnt/root

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

[liveuser@localhost-live ~]$ sudo mount UUID=6fec64c0-a806-464e-9e7e-a72a403ba06e /mnt/root
[liveuser@localhost-live ~]$ sudo chroot /mnt/root/root
cat: /proc/3670/comm: No such file or directory
[root@localhost-live /]# journalctl --boot=0
[root@localhost-live /]# journalctl --boot=-1
[root@localhost-live /]# journalctl --boot=-2
[root@localhost-live /]#

If you want to use the mediawriter on Linux, you have to install it using dnf because the installation file on getfedora is only for Windows and Mac.

Also, you need to choose the server, not workstation. The server contains the rescue option.

Therefore, start your Fedora live system, then add an additional USB stick for the rescue approach and open a terminal:

sudo dnf install mediawriter -y
sudo dnf remove libreoff* firefox -y
sudo mediawriter

After that, the mediawriter GUI will open. Then, proceed as follows:


→ Choose Fedora Server 36


→ Click on Create Live USB


→ Choose the USB drive you want to use for the rescue system.
→ As soon as the download has finished, click on Write to Disk

I hope your memory is sufficient for the server image. The dnf remove command above ensures that a 4096 MB memory is sufficient for making the rescue live stick.

After the stick is ready, shutdown, and then boot from the just created rescue USB stick:

376b27cd659f302dc3e6221385ee0976b5fe2abb.png
→ Choose Troubleshooting Fedora 36

618ecd65e6367424d2a4169f227a28a891d8ac8f.png
→ Choose Rescue a Fedora system

I think the rescue option is the best approach for the moment. Hopefully, it will help you.

Maybe @jakfrost has some hints about using the rescue option because I have not used it myself before.

Really I just used it and it worked for me, but like I said this was when I ran Workstation, so pre F27. But that is the menu selection to use.

Unfortunately, the option currently only exists on the server (and possibly on “everything”, but I assume it is the same in both cases). It seems to have been removed from workstation at all. Hopefully, the rescue works as easy for Perry as it worked for you.

Hopefully for sure. This is a pain point for many it seems. I will try my image I burned yesterday to see if the menu is there, although I was assured it is on the Dev mailing list. I need to boot it though since boxes won’t work with it. So give me a couple of hours since it’s nearly end of day. I’ll get back after dinner with results.
[Edit]: So I tried and you’re correct there is no rescue on the Workstation. So …

@perryt, sorry for this but you need to use either the Server image or the Everything image to get a rescue option, I just checked and the Workstation image does not have a rescue option!?!?
@perryt the everything ISO can be found at https://alt.fedoraproject.org/, sorry for the inconvenience.

do i am Fedora 36 is “retry download” ? do i am windows 10 is download? do i am General Udisk (1tb) is finished factory?

you is " add an additional USB stick" , and i have one General Udisk (1tb).

alt.fedoraproject.org – KDE Plasma is me ! i am workstation laptop. i am KDE Plasma workstation gets “rescue” option?

i am Server image!

do i am windows 10 is download? do i am General Udisk (1tb) is finished factory?

you is " add an additional USB stick " , and i have one General Udisk (1tb).

You have the server image, that’s good. If you use Fedora Media Writer in Windows 10 to create a Bootable USB stick of the Server or Everything, it will actually write the image then resize the USB stick to the size to the image written. This can be returned to the normal size with media writer after you repair the system. In media writer, if you look at the options available, you can see it already will install Workstation Server and IoT without having to download them manually first (the links are built in for official releases). For the Everything image you do have to download it though and media writer looks for iSO Images in Downloads folder, or simply point it to the correct image you want to burn.

Do you only have the one USB stick for trying this? And the media writer wants to wipe it to write the ISO, which you can restore after repairing your system but if data on it is important, it should be backed up first.

1 Like

I assumed that you are working on the notebook with the broken Fedora installation. Therefore, you could only start this notebook with a live system, as you did it before. Therefore, you need the USB drive that contains the running live system, on which you are working, and an additional USB drive on which the server image can be written by the mediawriter tool.

If you also have a Windows 10 installation that you can use, you do not need an additional USB drive. In this case, download and use the mediawriter installation @jakfrost suggested above.

Unfortunately, the answer is no. At the moment, you need to use the server or everything image for the rescue option.

I am fedora server. I am seating run liveuser fedora … server. i am have linux fedora in laptop. Not everything . i am library using Fedora-Server-netinst-x86_64-36-1.5.iso. do i am copying General Udisk (1tb)?

i am seating windows 10. i am not server. i am not Fedora Media Writer and not server.

Hello @perryt,
I am going to list the step by step I would take to use Fedora Media Writer on Windows 10 to write a Fedora Linux Server or Everything ISO to use to repair.

  • On Windows got to https://getfedora.org/en/workstation/download/ (Apparently Fedora only has it on the Workstation download page?!?!
  • Install Media Writer on Windows 10 (it is a windows exe file.)
  • Start Fedora Media Writer on Win 10 (Will start after install if you don’t deselect it)
  • Select to write Fedora Server
  • Select destination USB stick
  • Write the USB image
  • Boot laptop into Server installation freshly put on USB
  • Select Rescue option under advance troubleshooting

I am currently at Write the USB image on my Win 10 Laptop, will post results soon as can

edit 08:34AM EST
Media Writer created a bootable USB stick of Server that has Rescue a Fedora System as an option in the Advanced Troubleshooting submenu. This should work for your case if the laptop already has a Fedora System installed just not booting correctly. Let me know how you do.

Okay!

  • Select to write Fedora Server
    I been workstation. And they fedora server 36!!

Rescue

!! Next step !!??

I am contiunue , and i am shell to chroot /mnt/sysroot and exit … I am type reboot. The rescue menu.

And read-only mount. Next same.

Hi @perryt ,
Sorry for the delay, I had to take care of some household duties I had let slip.

So after continuing, were you able to boot your system? If not then the rescue option didn’t solve your problem and @py0xc3 and @computersavvy will be able to assist you further with what they had started.

If it does boot into a read only mounted system then that is a good point to recover from I would think. At least the journal logs would still be viewable for the time frame where your problems began.


Read-only system

  • Enter to get a shell
  • chroot /mnt/sysroot
  • exit
  • reboot

3: log

5: program-log