Hello,
I need help! I got a machine with 1 ssd and on HD. The ssd shows up in sdb, with the HD shows up in sda. I could not change from the BIOS the order. The machine is UEFI, then I guess that it does not really matter. I want to boot on the ssd I installed fedora from the lice cd on the ssd. but it does not boot because the distribution is not seen. Thus, what to do now? I cannot install a grub on the ssd because there is no BIOS Boot Partition on this SSD. Do I need to create one? I cannot make a partition of the SSD bootable with fdisk.
How can I make the the Bios seen the distribution? Do I need to install grub?
Thank
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire interdisciplinaire Carnot de Bourgogne 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE Tel: +33 (0)380395988 ===========================================================================
On Wed, Feb 20, 2019 at 11:08 AM Patrick Dupre pdupre@gmx.com wrote:
Hello,
I need help! I got a machine with 1 ssd and on HD. The ssd shows up in sdb, with the HD shows up in sda. I could not change from the BIOS the order. The machine is UEFI, then I guess that it does not really matter.
No, fstab is setup to use the UUID or LVM name so /dev/sd<x> shouldn't matter.
I want to boot on the ssd I installed fedora from the lice cd on the ssd. but it does not boot because the distribution is not seen.
The installer should have created a boot entry in UEFI, can you verify that you actually got a UEFI install?
Thus, what to do now?
Some things you can check: 1. The the partition table get created as GPT (EFI default) or MSDOS (BIOS default). 2. Was an EFI partition created? Usually around 200MB and VFAT/FAT32 formatted. In /etc/fstab it would mounted to /boot/efi but probably mounted by UUID so you'll have to use the blkid command.
If the partition table is MSDOS and/or no EFI partition then you got a BIOS and not an EFI install. You may need to check your BIOS settings.
I cannot install a grub on the ssd because there is no BIOS Boot Partition on this SSD. Do I need to create one?
No, a BIOS_BOOT partition is only used to boot when you have a BIOS computer but GPT partition table (as far as I know anyway).
Thanks, Richard
I was temporarily not able to ssh into my home machine, but here's some examples of what you should see for a UEFI install:
$ sudo parted -l ... Model: NVMe Device (nvme) Disk /dev/nvme0n1: 500GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 211MB 210MB fat16 EFI System Partition boot, esp 2 211MB 1285MB 1074MB ext4 3 1285MB 500GB 499GB lvm
Ok, so parted it showing my ESP partition as fat16, not fat32 and it has the "boot" and "esp" flags turned on.
# cat /etc/fstab | grep boot UUID=ed603fce-d39e-425a-8153-6c39c04162f5 /boot ext4 defaults 1 2 UUID=76C7-6578 /boot/efi vfat umask=0077 0 2
Here you can see partition with the UUID=76C7-6578 label (which is my EFI partition) mounted to /boot/efi.
Hope that helps! Boot using your live USB. You can also try running efibootmgr and see if you get the correct response...
$ sudo efibootmgr BootCurrent: 0001 Timeout: 1 seconds BootOrder: 0001,0002,0003 Boot0001* Fedora Boot0002* CD/DVD Drive Boot0003* Hard Drive
Thanks, Richard
On Thu, Feb 21, 2019 at 6:09 AM Patrick Dupre pdupre@gmx.com wrote:
The issue is solved. Because I did not boot on the SUB live in UEFI, the install was not compatible with a UEFI boot.
Sorry for the disturbance.
It's not intuitive! But that was going to be my next question, glad you figured it out.
Thanks, Richard
On Wed, Feb 20, 2019 at 12:41 PM Patrick Dupre pdupre@gmx.com wrote:
Thank for the feedback,
May I shuld have say something. When I got the SSD, there was a Ubuntu install taht I destroyed, but I kept the 2 first partitions: Device Start End Sectors Size Type /dev/sdb1 2048 1538047 1536000 750M EFI System /dev/sdb2 1538048 12023807 10485760 5G Microsoft reserved
The 5G Microsove reserved partition is probably a recovery partition for Windows. If you have no intention of using Windows ever you can blow that away.
I can manage the fstab if necessary. But I though that the installer (?) would have use the fstab to create entry point for the boot. Am I wrong?
The installer should create a valid /etc/fstab
I have a /boot partition with the efi directory.
From the Bios, I can select UEFI or legacy, any of them do see a boot partition (except that of the USB key, non EFI). (When ubuntu was installed, I had the option to select the Ubuntu distribution).
Which tools say to the bios that there is a bootable partition?
# efibootmgr -v
Allegedly, on or about 20 February 2019, Patrick Dupre sent:
I got a machine with 1 ssd and on HD. The ssd shows up in sdb, with the HD shows up in sda. I could not change from the BIOS the order.
For future reference: If they both use the same interface type, such as SATA, then you probably could have simply swapped the cables over.
(This may not help if what decides who's SDA or SDB is which drive gets ready quickest after power-on.)
I cannot swap the cables, one is a Sata (3.5) and the other one is a SSH on the mother board.
Allegedly, on or about 20 February 2019, Patrick Dupre sent:
I got a machine with 1 ssd and on HD. The ssd shows up in sdb, with the HD shows up in sda. I could not change from the BIOS the order.
For future reference: If they both use the same interface type, such as SATA, then you probably could have simply swapped the cables over.
(This may not help if what decides who's SDA or SDB is which drive gets ready quickest after power-on.)
-- [tim@localhost ~]$ uname -rsvp Linux 4.16.11-100.fc26.x86_64 #1 SMP Tue May 22 20:02:12 UTC 2018 x86_64
Boilerplate: All mail to my mailbox is automatically deleted. There is no point trying to privately email me, I only get to see the messages posted to the mailing list.
Using Windows software is like coating all your handtools with sewage. _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
On Fri, Feb 22, 2019 at 10:25 AM Patrick Dupre pdupre@gmx.com wrote:
I cannot swap the cables, one is a Sata (3.5) and the other one is a SSH on the mother board.
I like seeing my drives in a certain order to satisfy my OCD but it doesn't really matter...
Thanks, Richard