You are not logged in.
Pages: 1
So hello everyone and thank you for reading this topic!
I was following installing guide from wiki, and after I did grub, umounting and rebooting I was expecting to be able to boot from SSD with newly installed arch on it. Well that's not the case as I can't even see ssd in boot menu, let alone boot from it.
I made two partitions on my ssd.
nvme0n1p1 is 200M fat32
nvme0n1p2 is 512GB ext4
Also made sure to set the boot flag for the ESP/EFI partition:
parted /dev/nvme0n1 set 1 boot on
parted /dev/nvme0n1 print
Model: Unknown (unknown)
Disk: /dev/nvme0n1: 512GB
Sector size (logical/physical): 512B/512B
Partition table: gpt
Disk flags:
number Start End Size File system Name Flags
1 1949kB 211MB 210MB fat32 boot, esp
2 211MB 512GB 512GB ext4
Also I wanted to make sure grub install worked:
mounted p2 to /mnt
mounted p1 to /mnt/boot/efi
1, cd /mnt/boot/efi
2. ls (gave me the result EFI)
3. cd EFI
4. ls (gave me the result GRUB)
5. ls GRUB/ (gave me the result grubx64.efi)
Output of grub.conf:
https://ptpb.pw/SZo0
Appreaciate every advice/ help on what to do and how to fix this problem.
Best of regards
Last edited by shatt3red (2018-09-26 08:25:24)
Offline
Also I wanted to make sure grub install worked:
mounted p1 to /mnt
mounted p2 to /mnt/boot/efi
That seems to be backwards. According to what you provided above, p2 should be mounted to /mnt, and p1 should be mounted to /mnt/boot/efi. Then re-run the grub command to remake your configuration file.
Offline
shatt3red wrote:Also I wanted to make sure grub install worked:
mounted p1 to /mnt
mounted p2 to /mnt/boot/efiThat seems to be backwards. According to what you provided above, p2 should be mounted to /mnt, and p1 should be mounted to /mnt/boot/efi. Then re-run the grub command to remake your configuration file.
Hello!
I corrected my topic above, you are right. I did mount correctly, I just didn't write it right in this topic. again my bad
What do you mean or how do I rerun grub command?
Regards
Last edited by shatt3red (2018-09-25 02:19:05)
Offline
What you put in the first post would still be incorrect. You need to mount one partition to /mnt first, then mount the other to /mnt/boot/efi (or /mount/boot is generally better). If you did it the way your first post now states, then you mounted your root partition correctly, but in doing so you masked the efi partition so no files could actually be stored on the efi partition.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
You have to generate a configuration file for grub no matter how you partition. Judging by the files you listed in your first post, it sounds like you never generated the configuration file in the first place. Since I don't use grub, I can't help much but you should be able to find the commands on the grub page in the wiki.
Offline
What you put in the first post would still be incorrect. You need to mount one partition to /mnt first, then mount the other to /mnt/boot/efi (or /mount/boot is generally better). If you did it the way your first post now states, then you mounted your root partition correctly, but in doing so you masked the efi partition so no files could actually be stored on the efi partition.
Hello, thanks for replying.
Well I first mounted system partition under /mnt then I mounted efi/boot partition to /mnt/boot/efi. I don't think it's even possible to first mount to /mnt/boot/efi before you mount /mnt first. So yeah, I will edit my topic to be more understandable, but I for sure mounted system partition to /mnt FIRST, then I mounted the other partition to /mnt/boot/efi.
Hope it's understandable now.
Regards
Offline
You have to generate a configuration file for grub no matter how you partition. Judging by the files you listed in your first post, it sounds like you never generated the configuration file in the first place. Since I don't use grub, I can't help much but you should be able to find the commands on the grub page in the wiki.
Aha well I did generate configuration file.
I mounted:
mounted p2 to /mnt
mounted p1 to /mnt/boot/efi
cd /mnt/boot/grub
I can see the 'grub.cfg', so I think it did generate grub conf?
Tell me if I am wrong.
Regards
Offline
I can see the 'grub.cfg', so I think it did generate grub conf?
Tell me if I am wrong.
You can see it, none of us can. Rather than expecting handholding, open the file and read it.
Offline
shatt3red wrote:I can see the 'grub.cfg', so I think it did generate grub conf?
Tell me if I am wrong.
You can see it, none of us can. Rather than expecting handholding, open the file and read it.
Hey, yeah I am working on that (trying to post output here, however i don't know how to save it on usb, since I am trying to install arch on my new laptop, but I am writing on forums on (this) old pc.
I read the file alredy, but I want to post it here so you guys can see. any idea how I can do that?
Regards
Offline
Offline
Thank you very much for showing me this!
I edited my topic with a link to grub.conf output.
Regards
Offline
And do the UUIDs in the config match those of your partitions? Run `blkid` and check.
Offline
And do the UUIDs in the config match those of your partitions? Run `blkid` and check.
Giving you the whole output since I am not sure what I am trying to match
I did blkid: output:
grub.conf output:
https://ptpb.pw/SZo0
EDIT: The only thing I was able to match is this:
0a607271-ec84-4034-a613-34baaeb0c8c7
Last edited by shatt3red (2018-09-25 20:04:12)
Offline
Guys, I am still stuck at the same problem, need guidance
Please help me
Regards
Offline
Read this page: https://wiki.archlinux.org/index.php/GRUB
Offline
Read this page: https://wiki.archlinux.org/index.php/GRUB
I did, multiple times. Am I missing something?
I already installed grub and made conf file.
Regars
Offline
Do you even get to a GRUB boot or do you not see the relevant option in your BIOS/UEFI? Post the exact command you used for GRUB installation, as well as
efibootmgr -v
What's your motherboard?
Offline
Do you even get to a GRUB boot or do you not see the relevant option in your BIOS/UEFI? Post the exact command you used for GRUB installation, as well as
efibootmgr -v
What's your motherboard?
No I don't find any option to boot from in my BIOS/UEFI,
# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB
efibootmgr -v output:
https://ptpb.pw/9qNy
about what motherboard I have: I am sorry, I cannot find that out, but I own Dell XPS 13'' 9370 laptop, so the motherboard that laptop has I do as well.
Regards
Offline
Try
efibootmgr -o 2,0,1
if your GRUB still doesn't boot after a reboot, go through your BIOS and check if you have an option to specifically define additional EFI entries manually, if you don't have that either retry the GRUB installation but add the --removable flag.
Offline
Try
efibootmgr -o 2,0,1
if your GRUB still doesn't boot after a reboot, go through your BIOS and check if you have an option to specifically define additional EFI entries manually, if you don't have that either retry the GRUB installation but add the --removable flag.
I entered the command you gave me, GRUB still doesn't boot or show in my UEFI/BIOS.
I have an option under UEFI, to ADD BOOT OPTION. Clicking on that gives opens another window:
https://image.ibb.co/iXC7E9/haj.jpg
Last edited by shatt3red (2018-09-26 08:04:38)
Offline
That's likely to be it then. click on the browsing symbol (and select the second of the two available filesystems) and find \EFI\GRUB\grubx64.efi give it any name, that one should be bootable.
Last edited by V1del (2018-09-26 08:13:20)
Offline
That's likely to be it then. click on the browsing symbol and find \EFI\GRUB\grubx64.efi give it any name, that one should be bootable.
Thank you very much, This is the solution to my problem!
Now I can see the GRUB boot option and it works too!
Thank you very much!
Best of regards
P.S, how do I add [SOLVED] to my topic title? seems to me that I can't type anything cause of title's length*?
Last edited by shatt3red (2018-09-26 08:15:18)
Offline
Yeah these kinds of UEFI implementations can be a pain.
Glad to hear that that worked out, for editing title, just remove some other parts, the arch installation steps is not really necessary.
Offline
Yeah these kinds of UEFI implementations can be a pain.
Glad to hear that that worked out, for editing title, just remove some other parts, the arch installation steps is not really necessary.
Again, thank you very much for everything.
have a beutiful day!
Regards
Offline
Pages: 1