#Cannot boot into another partition

134 messages · Page 1 of 1 (latest)

sharp fiber
#

so I installed xfce on another partition. but when i reboot, the "fedora" partition which have fedora gnome, is nowhere to be seen in the grub menu

wanton cliff
sharp fiber
wanton cliff
sharp fiber
#

Upon close inspection, my fedora partition are not mounted to boot

#

Instead it is mounted /run/media/yume/...

wanton cliff
sharp fiber
#

because before this, i don't get that output at all

sharp fiber
wanton cliff
#

what'd you do to make it work?

sharp fiber
#

I'll try shutdown and then turn it on again

#

It still didn't work. Proceeds to do lsblk to check mounted drive in terminal

wanton cliff
sharp fiber
#

I have logged into both, and it is indeed xfce

sharp fiber
#

after click "play"-like button in disk, and do grub2 mkconfig

wanton cliff
# sharp fiber

you only have 2 partitions for fedora workstation instead of 3.
what does efibootmgr output?

sharp fiber
wanton cliff
#

still should work. hmmmmm

sharp fiber
#

what if i use gparted and delete the xfce partition?

wanton cliff
#

can you boot to fedora gnome via your boot/uefi menu?

sharp fiber
#

just partitioned

#

wait let me reboot my system again. who knows if the files to boot fedora gnome is in my pendrive

wanton cliff
#

can you open the sda2 and sda3 partitions in your file manager (click the blue link in disks app) and show a screenshot?

sharp fiber
sharp fiber
#

this one is the 1gb partition ext4 (sda2)

wanton cliff
#

hmm idk why it isn't showing gnome in grub menu even though it's detecting it. try to open the file /boot/grub2/grub.cfg and send it here

sharp fiber
#

this is xfce maybe. since from file system

#

both don't have grub.cfg

#

the heck, it's not a hidden file either

wanton cliff
sharp fiber
#

reinstall sadcat

wanton cliff
#

or do it via terminal. sudo ls /boot/grub2

sharp fiber
#

Weird, thunar in fedora xfce don't have option to open as root

#

I'll do nano the config file

wanton cliff
sharp fiber
#

Maybe mint is just being mint

wanton cliff
sharp fiber
#

I'm downloading dolphin

sharp fiber
sharp fiber
#

Finally can access the grub.cfg

#

Dolphine and thunar don't have the open as root option

wanton cliff
wanton cliff
sharp fiber
wanton cliff
#

hmm idk why it isn't working

#

you could try to manually boot it via grub2 as last resort

sharp fiber
sharp fiber
#

the place when it can't find boot file

wanton cliff
sharp fiber
wanton cliff
# sharp fiber Oh, have a nice breakfast!

set root=(hd0,gpt2) linux ($root)/vmlinuz-<TAB> root=/dev/sda3 rootflags=subvol=root initrd ($root)/initramfs-<TAB> boot

where it says <TAB>, press TAB key and list the newest kernel/initramfs

#

it should boot you properly. if it shows like this, then you typed something wrong

sharp fiber
wanton cliff
#

yes

#

these instructions are fitted to your system exactly

sharp fiber
#

vmlinuz-

#

Or vmlinuz tab

wanton cliff
#

write vmlinuz- and press tab, it should auto-complete or list possible entries

sharp fiber
#

Alright

wanton cliff
#

select the same as you selected the kernel

sharp fiber
wanton cliff
#

yes

sharp fiber
sharp fiber
# wanton cliff yes

There's three,

  1. vmlinuz-6.14.0-63...
  2. i know this one is xfce rescue something
  3. vmlinuz-6.14.9-300...
#

Fedora 42 gnome is the latest kernel right

#

So should be 6.14.9

#

I saw fedora workstation!

#

Oh?? Almost there

wanton cliff
#

ye

sharp fiber
#

Wrong people mentioned

viscid belfry
#

why am i being pinged

wanton cliff
#

xD

sharp fiber
viscid belfry
#

lmao its alr

sharp fiber
#

I want to delete xfce

viscid belfry
#

glad it worked or whatever i didnt really get to read the message

wanton cliff
sharp fiber
#

That's it, I'm deleting xfce

wanton cliff
#

@solemn turret?

sharp fiber
wanton cliff
wanton cliff
sharp fiber
#

Even your computer stressed out of my laptop

#

Now this is interesting, suddenly typing in chinese 😂

wanton cliff
#

the keyboard is set as polish but for whatever reason it's typing in Chinese. idk what happened there. I am typing from my phone now

wanton cliff
sharp fiber
#

And I'll tell you if it works

wanton cliff
#

i don't understand why it doesn't work

sharp fiber
#

I don't think anyone have the same problem as me LOL

sharp fiber
#

The problem cannot be solved.

Problem

Cannot boot into another partition to change DE

How to recreate

  1. Installing other DE through Fedora Media Writer
  2. Shrink Fedora workstation partition to make way for the DE downloaded
  3. Finish installing, reboot
  4. Unable to find Fedora Workstation option in Grub menu

How to solve ✅

**Easy way: **

Reinstall, if the data inside doesn't matter to you.

Long way:

  1. Open Disk app
  2. Mount original partition by clicking the play-like button. (Mount all of them)
  3. Go to terminal and type
    sudo grub2-mkconfig -o /boot/grub2/grub.cfg

It should add your previous DE or OS into the boot entry

  1. Reboot

If the problem still persists ⚠️

  1. Check where is your previous partition by typing in the terminal
    lsblk
  2. Let's say the partition is named
    /dev/sda3
    located at
    (hd0,gpt2)
  3. Go to grub, either by clicking ESC (If using UEFI) or SHIFT (BIOS) when boooting
  4. Then type the following
    set root=(hd0,gpt2)
    Hit enter, then
    linux ($root)vmlinuz-
    Hit TAB, then type in the latest kernel version

On the same line after entering kernel version:
rootflags=subvol=root initrd ($root)/initramfs-

Hit TAB, and enter latest initramfs image

On the same line, type
boot

  1. Enter

If it's not booting, type boot again

You are now will be greeted with your previous DE, or any OS in the partition

#

After that:

  1. Updating the grub entry in the terminal after login to Fedora Workstation
  2. Reboot
  3. The option for Fedora workstation is nowhere to be seen
#

Trying to do the solution again

The grub now is stucked and not booting

sharp fiber
#

.

This thread is now marked as abandoned.
However, if anyone are able to recreate the problem and successfully fixed the problem, feel free to share in this thread

solemn turret
#

so naturally it got confused. or one bootloader code mistook the other

sharp fiber
#

Or whatever it's called in fedora

solemn turret
#

of course

sharp fiber
solemn turret
#

that or try it live

#

and if u like it live, then reinstall fresh overtop the old

wanton cliff
# solemn turret

stunner but why does it matter? it has one /boot/efi partition and one bootloader. one bootloader can boot up multiple distros just fine

#

it even detected fedora gnome with os-prober

solemn turret
#

welp it still caused issues overall right?

sharp fiber
wanton cliff