You are not logged in.
Hi archers thanks for paying attention to my question.
Story: once upon a time an archer installs ubuntu alongside arch (manual partitioning, not ubuntu default options) and suddenly realizes that grub is changed somehow (i guess ubuntu installed it's own grub, because grub's background changed and ...). so after checking it out the archer erases ubuntu and logically loses bootloader, so he fires up a live usb arch image and follows wiki for installing grub UEFI on ESP, then he boots and see "grub>" prompt, so he boots the live usb again and uses the alternative method in wiki but the same result appears. now he installed a fedora so he can survive from not having an OS.
anyone can help him find and kill the dragon so he can rescure princess arch ?
Last edited by mazhar (2017-02-07 09:50:29)
We are archers, we live in dark to serve the light.
Offline
Please post the output of:
# parted --list
# efibootmgr -v
Jin, Jîyan, Azadî
Offline
sudo parted --list
Model: ATA Micron_M600_MTFD (scsi)
Disk /dev/sda: 128GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 538MB 537MB fat32 EFI System Partition boot, esp
2 538MB 55.1GB 54.6GB ext4 Linux filesystem
4 55.1GB 119GB 63.5GB ext4
3 119GB 128GB 9386MB linux-swap(v1) Linux swap
Model: ATA HGST HTS541010A7 (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 500GB 500GB ext4 SS msftdata
2 500GB 1000GB 500GB ext4 FS msftdata
sda2 is my arch and sda4 is fedora posting from now.
efibootmgr -v
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0000,0003
Boot0000* grub HD(1,GPT,3bf16410-b116-4a22-9032-0a7fbdf2ee24,0x800,0x100000)/File(EFI\grub\grubx64.efi)
Boot0001* Fedora HD(1,GPT,3bf16410-b116-4a22-9032-0a7fbdf2ee24,0x800,0x100000)/File(\EFI\fedora\shim.efi)
Boot0003* UEFI OS HD(1,GPT,3bf16410-b116-4a22-9032-0a7fbdf2ee24,0x800,0x100000)/File(\EFI\BOOT\BOOTX64.EFI)
Last edited by mazhar (2017-02-07 08:00:11)
We are archers, we live in dark to serve the light.
Offline
Use the Arch live ISO image to re-install the GRUB bootloader, as per https://wiki.archlinux.org/index.php/GR … allation_2 — be sure to mount your ESP before you `arch-chroot` in.
Jin, Jîyan, Azadî
Offline
before arch-chroot?
i used to mount /dev/sda2 on /mnt then arch-chroot into it and mount /dev/sda1 (ESP) on /boot which is actually /mnt/boot because i chrooted into /mnt, now where do i mount ESP? in /boot and then installing grub --efi-directory=../boot ?
EDIT: also i deleted everything in /boot of my arch installation, is that a seroius problem?
Last edited by mazhar (2017-02-07 08:10:36)
We are archers, we live in dark to serve the light.
Offline
i used to mount /dev/sda2 on /mnt then arch-chroot into it and mount /dev/sda1 (ESP) on /boot which is actually /mnt/boot because i chrooted into /mnt, now where do i mount ESP? in /boot and then installing grub --efi-directory=../boot ?
Rather than attempt to decipher that rat's nest of a sentence, I will simply fetch my feeding spoon instead:
mount /dev/sda2 /mnt
mount /dev/sda1 /mnt/boot
arch-chroot /mnt
EDIT: also i deleted everything in /boot of my arch installation, is that a seroius problem?
From the chroot:
pacman -Syu linux grub # then install GRUB to the disk
Jin, Jîyan, Azadî
Offline
Rather than attempt to decipher that rat's nest of a sentence, I will simply fetch my feeding spoon instead:
mount /dev/sda2 /mnt mount /dev/sda1 /mnt/boot arch-chroot /mnt
I understand, my sentence needed to be decoded seriously. It totally makes sense now, thanks.
384 Mb with my turtle Internet takes a little bit too long, hope it works though, again thanks and also nice troubleshoot svg, it helps alot.
We are archers, we live in dark to serve the light.
Offline
That was it! Just mounting esp before chroot solved it, however some error prevent startup but that's after grub, meaning it's SOLVED
We are archers, we live in dark to serve the light.
Offline