Skip to main content
Topic: artix openrc latest base iso grub issue  (Read 590 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

artix openrc latest base iso grub issue

good day

i downloaded :
artix-base-openrc-20230814-x86_64.iso
and copied it onto  a ventoy usbkey .
the computer i'm trying it on is an acer aspire 7720z i know it is old but i have been running arcolinux-openbox with system d and it works well .

hdd = bios with a  gpt partitioning
/dev/sda1 = bios_boot  1GB ef02
/dev/sda2 =  swap 4GB 8200
/dev/sda3 = / 50GB ext4 8300

grub-install

Code: [Select]
sh-5.1# grub-install /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.

so i installed gpart to set the pmbr to on
edit = oops i found my first mistake should be  parted /dev/sda disk_set pmbr_boot on
Code: [Select]
sh-5.1# parted /dev/sda disk_set pmbr_on
parted: invalid token: pmbr_on
Flag to Invert?  [pmbr_boot]?                                            
New state?  [on]/off? on    

grub-mkconfig

Code: [Select]
sh-5.1# grub-mkconfig -o /boot/grub/grub.cfg                              
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot:  intel-ucode.img initramfs-linux-fallback.img
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done

then i finished all the other little things and rebooted

all i got was a grub _ nothing else ?
i have the hole terminal out put of the install if i need to post that ?

thank you for reading thanks for any help in advance !




Re: artix openrc latest base iso grub issue

Reply #1
Hello,
Code: [Select]
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
then i finished all the other little things and rebooted

all i got was a grub _ nothing else ?

Did you add this line to /etc/default/grub :
Code: [Select]
GRUB_DISABLE_OS_PROBER="false"
After that :
Code: [Select]
sudo update-grub

Re: artix openrc latest base iso grub issue

Reply #2
hi tintin
no i did not, i figured i could do that latter .
at this point this install is the only install on this hdd .
i'm going to add more at a latter time, maybe .

but i can if you think it will help

 

Re: artix openrc latest base iso grub issue

Reply #3
i followed your advice and uncommitted /etc/default/grub  GRUB_DISABLE_OS_PROBER="false"
than ran sudo update-grub :
Code: [Select]
sh-5.1# update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot:  intel-ucode.img initramfs-linux-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmware Settings ...
done



rebooted
same thing GRUB _  black screen

Re: artix openrc latest base iso grub issue

Reply #4
An option

Make a rEFInd usb key.
Set your UEFI / BIOS to boot from it.
Hopefully it will discover the system you created on /dev/sda3 and allow you to boot into it.
And then you can either reinstall grub or even better remove grub and install rEFInd.

rEFInd does a good job at automatically discovering and booting operating systems with no prior knowledge of them (unlike grub) so if rEFInd does not find the install I suspect your problem is not the bootloader.

Re: artix openrc latest base iso grub issue

Reply #5
rebooted
same thing GRUB _  black screen
Here is the procedure to install grub on a booted UEFI system :
Code: [Select]
 pacman -S grub os-prober efibootmgr
 grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub   # for UEFI systems
 grub-mkconfig -o /boot/grub/grub.cfg

https://wiki.artixlinux.org/Main/Installation
 
*********

Here's how I recently reinstalled UEFI grub from a live Artix on a USB stick :

The / partition is on /dev/sda2
The vfat partition is on /dev/sda1
Code: [Select]
Start on an artix live:

sudo mount /dev/sda2 /mnt/
sudo mount /dev/sda1 /mnt/boot
sudo artix-chroot /mnt

sudo update-grub

But I think gripped gave you some relevant advice.

Re: artix openrc latest base iso grub issue

Reply #6
thanks for the help but ........
it is not a UEFI system, 2008 bios

it installed grub in /dev/sda1 not in /dev/sda3/boot .
and that is where the grub.cfg is but it looks un touched .


ok
maybe i'm confused i can reinstall, but i'm needing help to understand, the boot_grub is to give gpt room on the boot sector of the hdd ?

 

Re: artix openrc latest base iso grub issue

Reply #7
OK sorry.
Out of my depth then as I've never used GPT disks with a BIOS motherboard. I know it can be done but If I had to resurrect an old bios based system I'd probably format the disks MBR as that's what I'm familiar with.

From https://wiki.archlinux.org/title/GRUB#GUID_Partition_Table_(GPT)_specific_instructions
Quote
Create a mebibyte partition (+1M with fdisk or gdisk) on the disk with no file system and with partition type GUID 21686148-6449-6E6F-744E-656564454649.

    Select partition type BIOS boot for fdisk.
    Select partition type code ef02 for gdisk.
    For parted set/activate the flag bios_grub on the partition.
Does that look the same as what you've done ?  "GUID 21686148-6449-6E6F-744E-656564454649" seems very specific but that's what it says.
Quote
it installed grub in /dev/sda1 not in /dev/sda3/boot

Surely you need to mount  /dev/sda1 to  /dev/sda3/boot before you generate grub.cfg  ?
Or maybe you did ?

Re: artix openrc latest base iso grub issue

Reply #8
you might be right gripped

i'll work on it tonight, maybe some one that has done it before will chime in .