LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > NuTyX
User Name
Password
NuTyX This forum is for the discussion of NuTyX.

Notices


Reply
  Search this Thread
Old 01-24-2021, 11:46 PM   #1
hd_scania
Member
 
Registered: Apr 2017
Location: Nowhere
Distribution: Plenties found in my signatures :)
Posts: 268
Blog Entries: 6

Rep: Reputation: Disabled
rEFInd and GRUB messups of NuTyX under BtrFS


I have NuTyX installed on a BtrFS subvolume, and have tried auto rEFInd and GRUB-EFI, but were failed, and i’m unsure how to assign the volume argument for manual rEFInd entry as below,
Code:
menuentry "NuTyX" {
        icon     /EFI/rEFInd/icons/os_NuTyX.png
        volume   ...
        loader   /NuTyX/boot/kernel-%v
        initrd   /NuTyX/boot/initrd-%v
        options  "root=/dev/sda6 rw rootflags=subvol=NuTyX"
}
What to be entered for that argument? The main volume is on /dev/sda6 at Linux distroes, but unsure for its EFI shell volume name
And my kernels, initrd’s, and partition layouts are below,
Code:
bash-5.0$ l /boot /lib/modules $$ df
/boot:
total 116600
-rw-r--r-- 1 root root 97088111 Jan 20 00:31 initrd-5.10.6-NuTyX
-rw-r--r-- 1 root root 11875048 Jan  9 22:14 System_64.map-5.10.6-NuTyX
-rw-r--r-- 1 root root 10178560 Jan  9 22:14 kernel-5.10.6-NuTyX
-rw-r--r-- 1 root root   240350 Jan  9 22:14 config_64-5.10.6-NuTyX
drwxr-xr-x 1 root root      210 Jan 25 04:54 .
drwxr-xr-x 1 root root      110 Jan 20 04:27 ..
drwxr-xr-x 1 root root       92 Jan 25 04:31 grub
lrwxrwxrwx 1 root root       19 Jan 20 00:31 initrd -> initrd-5.10.6-NuTyX
lrwxrwxrwx 1 root root       19 Jan 20 00:31 kernel -> kernel-5.10.6-NuTyX
drwxr-xr-x 1 root root        0 Nov  2 21:22 efi

/lib/modules:
total 0
drwxr-xr-x 1 root root 4658 Jan 20 00:31 ..
drwxr-xr-x 1 root root  464 Jan 20 00:31 5.10.6-NuTyX
drwxr-xr-x 1 root root   24 Jan  9 22:11 .
Filesystem     Type      Size  Used Avail Use% Mounted on
/dev/sda6      btrfs     148G   92G   55G  63% /
udev           devtmpfs  3.9G     0  3.9G   0% /dev
shm            tmpfs     3.9G     0  3.9G   0% /dev/shm
/run           tmpfs     3.9G     0  3.9G   0% /run
tmp            tmpfs     3.9G     0  3.9G   0% /tmp
bash-5.0$

Last edited by hd_scania; 01-24-2021 at 11:49 PM.
 
Old 01-26-2021, 08:49 AM   #2
tnut
NuTyX Founder
 
Registered: May 2016
Location: Switzerland
Distribution: NuTyX
Posts: 136

Rep: Reputation: Disabled
Hello again

Did you try:

Code:
menuentry "NuTyX" {
        icon     /EFI/rEFInd/icons/os_NuTyX.png
        volume   ...
        loader   /boot/kernel
        initrd   /boot/initrd
        options  "root=/dev/sda6 rw rootflags=subvol=NuTyX"
}
Beside this I won't be able to help you more as I don't know anything about this rEFInd tools.

Regards
Thierry
 
Old 01-29-2021, 06:20 PM   #3
hd_scania
Member
 
Registered: Apr 2017
Location: Nowhere
Distribution: Plenties found in my signatures :)
Posts: 268

Original Poster
Blog Entries: 6

Rep: Reputation: Disabled
Yes but doesn’t help at all, so that symlinks are never accepted for rEFInd setups (Hard links? Needs manually generations, so also unlikely) ...
Even with the actual kernel and initrd file names in the manual entries, but it still doesn’t show the entry at all ...
And i’ve also tried auto mode of BtrFS subvolumes i.e. alsa_scan_dirs=NuTyX/boot in rEFInd.conf + /boot/refind_linux.conf on that NuTyX subvolume, but it always fails to load my NuTyX kernels at all.
And i also tried GRUB2-EFI, but booting into that reports UUID bugs, so that the root partition is also reported ‘‘missing’’, but not actually.
Quote:
Originally Posted by tnut View Post
Hello again
Did you try:
Code:
menuentry "NuTyX" {
        icon     /EFI/rEFInd/icons/os_NuTyX.png
        volume   ...
        loader   /boot/kernel
        initrd   /boot/initrd
        options  "root=/dev/sda6 rw rootflags=subvol=NuTyX"
}
Beside this I won't be able to help you more as I don't know anything about this rEFInd tools.
Regards
Thierry

Last edited by hd_scania; 01-29-2021 at 06:35 PM.
 
Old 01-31-2021, 04:36 AM   #4
tnut
NuTyX Founder
 
Registered: May 2016
Location: Switzerland
Distribution: NuTyX
Posts: 136

Rep: Reputation: Disabled
When I see your configuration you list in your signature, I'm afraid I won't be able to help you.

I feel sorry about your config.

As it seems you are not so familiar with rEFInd. I don't have any experience neither, because I feel happy with grub or syslinux.

I suggest you to start with something simpler and cleaner. By assuming you really want to stay on btrfs (which means, clearly no experience how it behave after some period of intensive usage.), here what I propose you as alternatives solutions,:
1/ Install NuTyX with the default kernel-419 without initrd. OR
2/ Install NuTyX latest kernel in bios and add an initrd OR
3/ Wait NuTyX 21.02.0 it will support Grub install on Uefi machine.
 
Old 01-31-2021, 08:29 AM   #5
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,364

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
symlinks won't work on a fat partition if that is where you attempting to use them.
 
Old 01-31-2021, 11:47 AM   #6
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Quote:
Originally Posted by hd_scania View Post
And i also tried GRUB2-EFI, but booting into that reports UUID bugs, so that the root partition is also reported ‘‘missing’’, but not actually.
Mounting root filesystem using filesystem UUID involves initrd, Linux kernel cannot do it without help. However, you can use PARTUUID without initrd, kernel can read it. In any case, it eliminates one component where things can go wrong.
 
Old 02-02-2021, 04:54 AM   #7
tnut
NuTyX Founder
 
Registered: May 2016
Location: Switzerland
Distribution: NuTyX
Posts: 136

Rep: Reputation: Disabled
Lightbulb

Quote:
Originally Posted by colorpurple21859 View Post
symlinks won't work on a fat partition if that is where you attempting to use them.
Indeed but symlink on a Linux partition extX, btrfs, etc filesystem pointing to a fat partition file works fine. That's what we do/mean here.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Booting huge kernel with Grub or rEFInd gives kernel panic. Daedra Slackware 9 12-14-2020 08:56 PM
btrfs filesystem df /mnt/btrfs/ shows bothe data and metdata with raid1 and single. gonus Linux - Software 3 07-17-2014 02:48 PM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
ext4 vs btrfs, and with btrfs do I still need to use LVM? blue_k Linux - Software 4 08-17-2012 11:31 PM
Worst Computer Messups vi0lat0r General 39 07-08-2004 11:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > NuTyX

All times are GMT -5. The time now is 11:11 AM.

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