You are not logged in.

#1 2020-05-01 18:16:36

Foxblood
Member
From: Dublin, Ireland
Registered: 2010-10-06
Posts: 29

grub=mkconfig sees three OS's, only writes two to grub.cfg

Hi,

I have three hard drives. Arch is on sda, Antix on sdb and I just installed Solus on sdc. Arch controls grub. When I do grub-mkconfig -o /boot/grub/grub.cfg, grub can see all three OS's. However, it fails to write Solus into grub.cfg. I don't think that I have the ability to manually write the Solus entry into grub by myself. Any and all suggestions welcome.

Offline

#2 2020-05-01 18:43:00

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: grub=mkconfig sees three OS's, only writes two to grub.cfg

Please post the full output of

# grub-mkconfig
# parted --list

Jin, Jîyan, Azadî

Offline

#3 2020-05-01 20:14:28

Foxblood
Member
From: Dublin, Ireland
Registered: 2010-10-06
Posts: 29

Re: grub=mkconfig sees three OS's, only writes two to grub.cfg

Offline

#4 2020-05-01 20:26:44

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: grub=mkconfig sees three OS's, only writes two to grub.cfg

Yeah, looks like Solus uses an idiosyncratic kernel & initramfs nomenclature: https://forum.manjaro.org/t/resolved-du … o/72608/18

I think you'll have to make your own /boot/grub/custom.cfg pointing to Solus' kernel & initramfs, see https://wiki.archlinux.org/index.php/GR … m_grub.cfg for a guide (but use custom.cfg rather than grub.cfg unless you don't want to use grub-mkconfig any more).

And do you really have a partitionless disk for your Arch system? I did that for a while with btrfs but I didn't know you could do that with ext4.


Jin, Jîyan, Azadî

Offline

#5 2020-05-01 20:35:32

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: grub=mkconfig sees three OS's, only writes two to grub.cfg

grub-mkconfig sucks, for this and many other reasons.

https://wiki.archlinux.org/index.php/Us … om_scratch


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#6 2020-05-01 20:43:57

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: grub=mkconfig sees three OS's, only writes two to grub.cfg

Another option would be to configure /boot/grub/grub.cfg in Solus and call that with the configfile declaration in Arch's /boot/grub/custom.cfg, like this:

menuentry 'Solus' {
   search --fs-uuid --set=root $uuid
   configfile /boot/grub/grub.cfg
}

Replace $uuid with the actual UUID for the Solus partition.


Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB