Situation 1: (Dell XPS M1330 - legacy BIOS) So I attempted the following just as a learning experience. Manjaro BSPWM along Win7 (no issues), then I created a separate partition and tried to install Arch, this caused a conflict with the grub. If I delete the Arch partition and reinstall Manjaro BSPWM, both manjaro and windows 7 reappear. I then tried to install arch along the 2 again and got the same issue. I would like to be able to solve the boot issue, it boots into GRUB rescue and no forum threads I have followed work. I have tried these solution suggestions:
grub rescue> set boot=(hd1,msdos2)
grub rescue> set prefix=(hd1,msdos2)/boot/grub
grub rescue> insmod normal
grub rescue> normal
(after insmod normal entry I get this: "error: unknown filesystem")
grub> echo $grub_platform
If output is pc, you've booted up in bios-legacy.
If output is efi, you've booted up in uefi.
If you're in the wrong mode, reboot livecd in the right mode.
4. If you are in the right mode, continue.
grub> search.file /etc/manjaro-release root
grub> probe -u $root --set=abc
grub> ls ($root)/boot/
I get this error message: "Error: attempting to read or write between partitions".
grub> search.file /etc/manjaro-release
There will be multiple output of your manjaro partitions, use the right one (say (hd2,5)) you want to boot into as follows
grub> set root=(hd2,5)
grub> probe -u $root--set=abc
grub> ls ($root)/boot/
error: "Error: attempting to read or write between partitions".
grub> linux /boot/vmlinuz-4.19-x86_64 root=UUID=$abc rw
grub> initrd /boot/initramfs-4.19-x86_64.img
I get this error: "Error: attempting to read or write between partitions".
In cfdisk from a liveusb, I have sda1 (win7, boot), sda2 manjaro BSPWM, then I created an sda3 (arch) and an sda4 (SWAP). I followed this following Arch installation guide: (https://www.fosslinux.com/7117/how-to-install-arch-linux-complete-guide.htm)
Using Gparted I have discovered that I cannot mount sda2.
When su in bspwm liveusb running command # mount /dev/sda2 /mnt
gives me the following output:
mount: /mnt: wrong fs type, bad option, bad superblock on /Dev/sda2, missing codepage or helper program, or other error.
Situation 2: (ASUS - modern gaming laptop)
I had Ubuntu Studio, Manjaro i3 and Windows 8 multiboot, all working fine until I had to update Windos 8. This broke the manjaro file system and the GRUB Loader. Booting into the bios (this is a modern UEFI) I could select windows or Ubuntu GRUB or manjaro live usb.
Booting into the live USB, I could detect the original i3 GRUB and boot into that, but only through the live USB. Attempts at GRUB recovery through mounting and changing configs, updating GRUB and following suggestions such as the ones described in situation 1, all failed.
I could not remember my passwords either, so I changed the passwords on the mounted partitions using guides for both manjaro and ubuntu. In both cases, the terminal gave back output saying the reset had been successful, however on rebooting into either system, the passwords were still invalid. I ended up just reinstalling everything.
I would still like be able to solve situation 1 though.
I followed these forum posts: