LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-16-2021, 01:33 PM   #16
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053

Quote:
Originally Posted by pavlova View Post
I would really like to fix it as it is super frustrating but I'm also considering reinstalling linux.
If you decide to try to fix it, I'd like to point out my last post again:
Quote:
Originally Posted by ondoho View Post
Who knows what Windows changed - but apparently GRUB still works, so chances are that only the UUIDs are messed up.
Either boot some live Linux distro from a USB stick, or simply add "init=/bin/sh" to your grub kernel command line.

Once you have some Linux running on that machine, mount the internal partition that contains your Fedora install, locate the <mountpoint>/etc/fstab file on , and compare the UUIDs (or other partition identifiers) with those in <mountpoint>/boot/grub/grub.cfg.
Then you also have to find out what the actual UUIDs of the partitions in question are. A graphical tool like gparted can provide that info, or
Code:
sudo blkid
 
1 members found this post helpful.
Old 02-16-2021, 01:37 PM   #17
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
I concur with ondoho, this should have done ASAP.
 
Old 02-16-2021, 02:37 PM   #18
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
I would be checking out UUIDs also, even though I've never witnessed UUID changes. But partitioning tools are designed to deal with them, and the information written to the partition layout (table).

But Fedora can be an odd animal.
I had issues trying to boot an ISO in my Fedora VM the other day, fought with it for a while, had the ISO written to flash drive also but could not boot it either, nor Gparted Live. Then when trying to boot the Fedora VM, VMware said it couldn't find anything to boot. I was able to boot the Fedora Live ISO and fought for like an hour trying to fix grub, not sure if it was even broken.

There was 3 partitions, sda1 was ESP, sda2 was boot, sda3 was kinda 'root'. I mounted sda3 to /mnt and was not able to mount sda2 to /mnt/boot, navigating to /mnt and having a look was very surprising, there was two directories called home and root. So I navigate into the root directory and Voila, now we are in the / of Fedora. In order to seemingly be able to install grub required mounting /dev/sda3 to /mnt, then mount /dev/sda2 to /mnt/root/boot, then mount the ESP to /mnt/root/boot/efi, and after going into a chroot, mount /dev/sda3 again to /, so /dev/sda3 was mounted twice. Then grub install/configure commands succeeded, but I was never able to boot Fedora again till I ditched the folder containing it and replace it with a backup.

All total, I think I spent all night and never got anywhere.

EDIT: It was not LVM, which is Fedora's default setup. I specified during installation not to do the LVM thing, the rest was however up to Fedora.

Last edited by Brains; 02-16-2021 at 02:52 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
resizing PV does not work (lvm) after resizing partition deadeyes Red Hat 5 03-11-2011 11:19 AM
LXer: Resizing Linux partitions, Part 2: Advanced resizing LXer Syndicated Linux News 0 09-02-2010 04:41 AM
Problem with resizing NTFS partitions (Gparted) Hamlets Linux - Software 4 05-20-2007 08:46 AM
Resizing NTFS Partitions Hit3k Linux - General 5 12-21-2005 04:04 PM
Does Xandros O.C.E support for resizing NTFS partitions? manhinli Linux - Distributions 0 04-08-2005 11:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration