You are not logged in.

#1 2017-01-20 06:22:05

mazhar
Member
From: Sanandaj
Registered: 2016-07-12
Posts: 60

[solved] grub boot menu entry issue dual boot with fedora

Greetings smile
i installed fedora and its stupid installation replaced my bootloader with grub2
i installed grub manually with arch live usb and did an automatic generating conf file
after that when i booted my system there was only arch available
edited boot menu entries in /etc/grub.d/40_custom as follows:

menuentry "Fedora" {
        set root=(hd0,2)
        linux /boot/vmlinuz
        initrd /boot/initrd.img
}

and also:

menuentry "Fedora" {
        search --set=root --fs-uuid <uuid>
        linux /boot/vmlinuz
        initrd /boot/initrd.img
}

and even i tried using label instead of uuid.

both will leave me with:

error: file `/boot/vmlinuz' not found
error: you need to load the kernel first.

i couldn't find any other information in wiki, what am i supposed to do?

Last edited by mazhar (2017-01-20 11:01:13)


We are archers, we live in dark to serve the light.

Offline

#2 2017-01-20 10:33:45

robg
Member
Registered: 2015-03-05
Posts: 225

Re: [solved] grub boot menu entry issue dual boot with fedora

mazhar wrote:

Greetings smile i installed fedora and its stupid installation replaced my bootloader with grub2

Please refrain from such unnecessary rants.

As for your issue: I assume this is the case, but just to make sure: You did replace <uuid> by its value, right? Also, have you tried running grub-mkconfig with os-prober installed?

Offline

#3 2017-01-20 10:51:28

mazhar
Member
From: Sanandaj
Registered: 2016-07-12
Posts: 60

Re: [solved] grub boot menu entry issue dual boot with fedora

yes of course i replaced it, else i would get an error while running grub-mkconfig. I didn't know anything about os-prober, i'll check to see.

Also i was angry about what happened when i used that sentence big_smile but still i think it's not a good installation compared to other distros which brag about they'll make things work out easily and flawlessly. And its a bit dizzy, i mean DONE button at top left? really?

EDIT: well yep, os-prober was what i missed while reading wiki.

Last edited by mazhar (2017-01-20 11:00:18)


We are archers, we live in dark to serve the light.

Offline

Board footer

Powered by FluxBB