LinuxQuestions.org
Review your favorite Linux distribution.
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 11-02-2020, 01:52 PM   #16
whois1230
Member
 
Registered: Sep 2018
Posts: 214

Original Poster
Rep: Reputation: Disabled

I have Ubuntu 18.04 LTS + Windows 10 OEM. I re-installed Windows 10, because it was broken and stuck on "Repairing", and now my Grub works fine. Is there any way to install the latest version of Fedora Workstation in UEFI mode?
p.s. I found the following thread: https://www.linuxquestions.org/quest...de-4175657780/

Last edited by whois1230; 11-02-2020 at 02:15 PM.
 
Old 11-02-2020, 06:33 PM   #17
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,352

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
post the contents of ubuntu /etc/fstab.
and the files on /dev/sda5 and the ouput of
Code:
sudo parted -l

Last edited by colorpurple21859; 11-02-2020 at 06:35 PM.
 
1 members found this post helpful.
Old 11-03-2020, 04:18 AM   #18
whois1230
Member
 
Registered: Sep 2018
Posts: 214

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
post the contents of ubuntu /etc/fstab.
and the files on /dev/sda5 and the ouput of
Code:
sudo parted -l
Code:
user@Lenovo-ideapad-110-17IKB:~$ sudo gedit /etc/fstab

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda9 during installation
UUID=674caa48-d7c7-4d7c-bc00-e0ced07081d2 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=4CA0-4064  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0


Code:
user@Lenovo-ideapad-110-17IKB:~$ sudo parted -l
[sudo] password for user: 
Model: ATA WDC WD10JPCX-24U (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End    Size    File system  Name                          Flags
 1      1049kB  274MB  273MB   fat32        EFI system partition          boot, esp
 2      274MB   290MB  16,8MB               Microsoft reserved partition  msftres
 3      290MB   331GB  330GB   ntfs         Basic data partition          msftdata
 5      331GB   332GB  1074MB  ext4
 9      650GB   957GB  307GB   ext4
 6      957GB   984GB  26,8GB  ntfs         Basic data partition          msftdata
 7      984GB   985GB  1049MB  ntfs         Basic data partition          hidden, diag
 8      985GB   999GB  14,2GB  ntfs         Basic data partition          hidden, diag


user@Lenovo-ideapad-110-17IKB:~$
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2020-11-03 11-17-21.png
Views:	10
Size:	131.6 KB
ID:	34465  
 
Old 11-03-2020, 05:36 AM   #19
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,352

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
You have to mount /dev/sda5 first, either with file manager or in a terminal
Code:
sudo mount /dev/sda5 /mnt
ls /mnt
umount /dev/sda5
I think /dev/sda5 was a boot partition from a previous linux install that isn't used anymore.

disable legacy mode/booting in bios, before booting fedora.

Last edited by colorpurple21859; 11-03-2020 at 05:42 AM.
 
1 members found this post helpful.
Old 11-03-2020, 06:02 AM   #20
whois1230
Member
 
Registered: Sep 2018
Posts: 214

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
You have to mount /dev/sda5 first, either with file manager or in a terminal
Code:
sudo mount /dev/sda5 /mnt
ls /mnt
umount /dev/sda5
I think /dev/sda5 was a boot partition from a previous linux install that isn't used anymore.

disable legacy mode/booting in bios, before booting fedora.
Code:
user@Lenovo-ideapad-110-17IKB:~$ sudo mount /dev/sda5 /mnt
mount: /mnt: /dev/sda5 already mounted on /mnt.
user@Lenovo-ideapad-110-17IKB:~$ ls /mnt
config-5.8.15-301.fc33.x86_64
efi
elf-memtest86+-5.31
extlinux
grub2
initramfs-0-rescue-391e8e0c354443468ccd30e4ad82fc8e.img
initramfs-5.8.15-301.fc33.x86_64.img
loader
lost+found
memtest86+-5.31
System.map-5.8.15-301.fc33.x86_64
vmlinuz-0-rescue-391e8e0c354443468ccd30e4ad82fc8e
vmlinuz-5.8.15-301.fc33.x86_64
user@Lenovo-ideapad-110-17IKB:~$ umount /dev/sda5
umount: /mnt: umount failed: Operation not permitted.
user@Lenovo-ideapad-110-17IKB:~$ sudo unmount /dev/sda5
sudo: unmount: command not found
user@Lenovo-ideapad-110-17IKB:~$ su
Password: 
root@Lenovo-ideapad-110-17IKB:/home/user# umount /dev/sda5
root@Lenovo-ideapad-110-17IKB:/home/user# exit
exit
user@Lenovo-ideapad-110-17IKB:~$
 
Old 11-03-2020, 06:08 AM   #21
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,352

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
Code:
tried to install Fedora in Uefi mode, but it gets stuck and won't install.
Where does it get stuck, give details.
 
1 members found this post helpful.
Old 11-03-2020, 07:31 AM   #22
whois1230
Member
 
Registered: Sep 2018
Posts: 214

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrmazda View Post
One more, to see if it suggests what's on /dev/sda5:
Code:
cat /etc/fstab
You could find out yourself by mounting /dev/sda5 to /mnt and taking a looksee if it has the usual / directories or something else, and if it's / entries, what /mnt/etc/os-release contains.

I've never seen efibootmgr produce network entries before. Do you have any sense as to why they are there? Unless you are PXE booting, I have to guess they could and should be removed using efibootmgr -B.
Code:
user@Lenovo-ideapad-110-17IKB:~$ sudo cat /etc/fstab
[sudo] password for user: 
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda9 during installation
UUID=674caa48-d7c7-4d7c-bc00-e0ced07081d2 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=4CA0-4064  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0
user@Lenovo-ideapad-110-17IKB:~$
Code:
user@Lenovo-ideapad-110-17IKB:~$ sudo efibootmgr -B
You must specify an entry to delete (see the -b option).
 
Old 11-03-2020, 07:43 AM   #23
whois1230
Member
 
Registered: Sep 2018
Posts: 214

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
Code:
tried to install Fedora in Uefi mode, but it gets stuck and won't install.
Where does it get stuck, give details.
It gets stuck here. I tried running in basic graphics mode, and the same thing happens.
Attached Thumbnails
Click image for larger version

Name:	FEDORA.jpg
Views:	20
Size:	273.5 KB
ID:	34466  
 
Old 11-03-2020, 08:51 AM   #24
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,352

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
what are you using to boot fedora dvd, usb? If usb what did you use to install iso to usb? I found this issue with fedora 17, maybe it will work with you.
https://bugzilla.redhat.com/show_bug.cgi?id=824617

Last edited by colorpurple21859; 11-03-2020 at 08:53 AM.
 
1 members found this post helpful.
Old 11-03-2020, 09:17 AM   #25
whois1230
Member
 
Registered: Sep 2018
Posts: 214

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
what are you using to boot fedora dvd, usb? If usb what did you use to install iso to usb? I found this issue with fedora 17, maybe it will work with you.
https://bugzilla.redhat.com/show_bug.cgi?id=824617
Hello. I am using a USB drivbe. I used Unetbootin to install the .iso to the USB stick. I can try using Rufus on my Windows 10, if that makes a difference?
 
Old 11-03-2020, 09:23 AM   #26
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,352

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
I think unetbootin has problems in uefi mode. Rufus should work. If rufus doesn't work in the default mode, try the DD mode.
 
1 members found this post helpful.
Old 11-03-2020, 10:38 AM   #27
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,810
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
Quote:
Originally Posted by whois1230 View Post
Code:
user@Lenovo-ideapad-110-17IKB:~$ sudo mount /dev/sda5 /mnt
mount: /mnt: /dev/sda5 already mounted on /mnt.
user@Lenovo-ideapad-110-17IKB:~$ ls /mnt
config-5.8.15-301.fc33.x86_64
...
/dev/sda5 contains a Fedora 33 /boot filesystem. Traditionally this means the Fedora installation was configured with another partition using LVM for everything except /boot. Given the physical placement of sda10 adjacent to sda5, apparently Fedora has switched from EXT4 to BTRFS, either to provide a home for LVM, or to house the Fedora / directly. ISTR Ubuntu does a poor job of recognizing BTRFS, or doesn't support it at all. You don't have to accept the Fedora installer's proposal, and use EXT4 instead, as well as not use LVM if you'd rather not. I use Fedora directly on EXT4, without a separate /boot, but with a separate /home.

Last edited by mrmazda; 11-03-2020 at 10:55 AM.
 
1 members found this post helpful.
Old 11-03-2020, 02:08 PM   #28
whois1230
Member
 
Registered: Sep 2018
Posts: 214

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
I think unetbootin has problems in uefi mode. Rufus should work. If rufus doesn't work in the default mode, try the DD mode.
Quote:
Originally Posted by mrmazda View Post
/dev/sda5 contains a Fedora 33 /boot filesystem. Traditionally this means the Fedora installation was configured with another partition using LVM for everything except /boot. Given the physical placement of sda10 adjacent to sda5, apparently Fedora has switched from EXT4 to BTRFS, either to provide a home for LVM, or to house the Fedora / directly. ISTR Ubuntu does a poor job of recognizing BTRFS, or doesn't support it at all. You don't have to accept the Fedora installer's proposal, and use EXT4 instead, as well as not use LVM if you'd rather not. I use Fedora directly on EXT4, without a separate /boot, but with a separate /home.
I managed to install Fedora in Uefi mode using Rufus on Windows 10. Now I have a triple-boot system. However, there are 2 instances of Fedora in BIOS, and when I set Ubuntu as my 1st operating system in BIOS, Fedora doesn't show in the grub menu. I want to have Ubuntu as my 1st OS in grub, and have Fedora in grub as well. I ran
Code:
sudo update-grub
, but that didn't help.
Attached Thumbnails
Click image for larger version

Name:	IMG_20201103_205116141.jpg
Views:	15
Size:	192.4 KB
ID:	34473   Click image for larger version

Name:	IMG_20201103_205623666.jpg
Views:	11
Size:	151.8 KB
ID:	34474   Click image for larger version

Name:	IMG_20201103_205743170.jpg
Views:	14
Size:	125.1 KB
ID:	34475  
 
Old 11-03-2020, 03:48 PM   #29
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,352

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
boot ubuntu open a terminal
Code:
 sudo nano /etc/grub.d/40_custom
add this to it
Code:
menuentry 'fedora config file'{
configfile (hd0,?)/grub2/grub.cfg
}
The ? will be the partition number of fedora boot partition, (hd0,5) is what it was originally.
you may be able to look at fedora /etc/fstab to see which partition is fedora /boot.
Code:
sudo update-grub
 
1 members found this post helpful.
Old 11-03-2020, 04:37 PM   #30
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,810
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
If you provide more info we can probably better determine what's going on. We don't know if the Fedora installation changed the partitioning, which may be why the BIOS shows Fedora twice.
Code:
sudo parted -l
sudo efibootmgr -v
 
1 members found this post helpful.
  


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
After installing Mint 20 for dual boot, Windows 10 Home won't boot abover Linux - Newbie 8 10-15-2020 06:59 AM
[SOLVED] Dual boot Fedora and Windows 10. After reinstalling Fedora Windows 10 entry is gone from bootloader. bkone Linux - Newbie 4 01-05-2019 12:21 AM
Dual Boot: linux after windows 10. Windows won't boot edhe1 Linux Mint 1 05-08-2018 05:01 PM
fedora won't boot after Windows 8/triple boot Windows 7/8 Fedora 15 - no grub? idilly Linux - Laptop and Netbook 11 10-04-2011 11:38 PM
Windows 7 wont boot up after installing Fedora 15 (Windows 7 already installed)? ranger149 Fedora 6 09-02-2011 09:15 PM

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

All times are GMT -5. The time now is 03:24 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