You are not logged in.
Pages: 1
I restored my data from timeshift and that has broken my system. Starting linux-lts throws the system in emergency mode because of a device not found error.
Starting systemd-udevd version 259-1-arch
ERROR: device 'UUID=908d853-3c3c-4ec0-88c9-44b8887be122' not found. Skipping fsck.
mount: /new_root: can't find UUID=9081d853-3c3c-4ec8-88c9-44b8887be122.
You are now being dropped into an emergency shell.
sh: can't access tty: Job control turned off
[rootfs]#So, I plugged in a Bootable USB and tried to reinstall grub.
When I run grub-mkconfig - o /boot/grub/grub.cfg, the following happens:
/etc/default/grub: line 4: GRUB_DISAB: command not found
Why does this happen? How can I fix this? Any help is appreciated.
Last edited by SlothSpunky77 (2023-04-12 16:21:53)
Offline
Mod note: not an installation issue, moving to NC.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I restored my data from timeshift
How exactly did you do that? Please provide the actual command(s) used.
/etc/default/grub: line 4: GRUB_DISAB: command not found
The message indicates the problem is on line 4 of that file. "GRUB_DISAB" looks to have been truncated from "GRUB_DISABLE*=$whatever".
Here's the stock version: https://raw.githubusercontent.com/archl … ub.default
Or just delete the file and re-install the grub package (from the chroot environment). The latter approach will clear any user configuration though.
Jin, Jîyan, Azadî
Offline
How exactly did you do that?
I did a clean install of arch, installed awesomewm and ran timeshift-gtk after rsyncing my backup folder from another machine.
re-install the grub package
This is where the problem arises. I've tried reinstalling grub and grub-mkconfig doesn't work. I keep getting the same error. I already seem to have a grub.cfg though (perhaps from my backup). I haven't tried deleting the file and running grub-mkconfig but I doubt it'll make a difference.
Last edited by SlothSpunky77 (2023-04-11 04:03:14)
Offline
If you delete the file, then reinstall grub it will install a working / non corrupted copy of the file, which will surely allow grub-mkconfig to work
Offline
Removing grub.cfg, reinstalling grub and running grub-mkconfig does not help. Instead, I removed the line GRUB_DISAB from etc/default/grub.
The generation was successful, but I get the line
Root filesystem isn't btrfsI need help understanding grub and grub 2. Timeshift had an option to install grub 2, which was recommended.
Last edited by SlothSpunky77 (2023-04-11 12:11:40)
Offline
My suggestion was actually to remove /etc/default/grub then re-install the grub package (with pacman). Sorry if I was unclear.
The generation was successful, but I get the line
Root filesystem isn't btrfs
Please share the content of /boot/grub/grub.cfg and also post the commands used to "reinstall grub" — list everything entered in the live environment so we can spot if you made any mistakes.
The output of these commands from the live ISO would also be useful:
parted --list
blkidEDIT: share with https://wiki.archlinux.org/title/List_o … ted_client
Last edited by Head_on_a_Stick (2023-04-11 15:31:08)
Jin, Jîyan, Azadî
Offline
I've managed to get grub working, I had grub-btrfs in /etc/default, removing it removed the statement. I have new issues now, perhaps I'll open a new thread if I run into major errors.
Thank you for your time and help, I appreciate it.
Offline
Pages: 1