You are not logged in.
Pages: 1
Topic closed
This is my situation:
/dev/sda1 - fat32 efi esp partition (where kernels and grub settings were stored)
/dev/sda2 - btrfs archlinux (all files are ok)
/dev/sda3 - ntfs windows (just installed)
I thought windows would create it's boot near mine, but the esp partition was completely cleared and only microsoft folders are inside now.
Please, is there a way to restore grub and kernel (I used zen kernel) from another live distro??
Last edited by doomguy84 (2018-06-07 14:49:34)
Offline
Using the AL install disk, you should mount /dev/sda2 to /mnt and /dev/sda1 to /mnt/boot.You may need to wipe /dev/sda1 with mkfs.vfat (or whatever filesystem you used) therefore:
I'm not sure whether windows requires the esp partition or whether it can simply boot from grub. This is assuming is can:
As detailed in the post below, do NOT wipe /dev/sda1 but, instead, install as detailed in the installation guide:
Then chroot into that environment.
Then, you should be able to reinstall the kernel using pacman, mkinitcpio, install and make grub config and then make sure it has detected Windows (make sure os-prober is installed).
After this, you should be able to boot into both environments.
Last edited by CPlusPandaGives (2018-06-07 14:04:00)
Offline
Windows requires the EFI partition, do not wipe it, simply reinstall GRUB as detailed in the wiki and reinstall the linux-zen package within the chroot.
Last edited by V1del (2018-06-07 13:58:24)
Offline
Thanks V1del for the clarification, its been quite a while since I used Windows. I will edit my post so as not to confuse anybody.
Offline
thanks to CPlusPandaGives (and V1del too)
as ALWAYS the Arch community is the best and this system is the greatest i've ever used.
this is what I done:
- downloaded the latest archlinux installation media and "burned" on usb
- started the installation media (UEFI) and run these commands:
mount /dev/sda2 /mnt
mount /dev/sda1 /mnt/boot
rm /mnt/etc/fstab
genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mntnow I installed the linux-zen and intel-ucode packages, and after grub-install and grub-mkconfig.
I'm writing here again from my last-working archlinux installation!
thanks to all!!!
Offline
L MS
Offline
@YeesterPlus please refrain from necroposting nonsense.
Mod note: Closing this ancient thread.
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
Pages: 1
Topic closed