| NuTyX This forum is for the discussion of NuTyX. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-24-2021, 11:46 PM
|
#1
|
|
Member
Registered: Apr 2017
Location: Nowhere
Distribution: Plenties found in my signatures :)
Posts: 268
Rep: 
|
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.
|
|
|
|
01-26-2021, 08:49 AM
|
#2
|
|
NuTyX Founder
Registered: May 2016
Location: Switzerland
Distribution: NuTyX
Posts: 139
Rep: 
|
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
|
|
|
|
01-29-2021, 06:20 PM
|
#3
|
|
Member
Registered: Apr 2017
Location: Nowhere
Distribution: Plenties found in my signatures :)
Posts: 268
Original Poster
Rep: 
|
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
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.
|
|
|
|
01-31-2021, 04:36 AM
|
#4
|
|
NuTyX Founder
Registered: May 2016
Location: Switzerland
Distribution: NuTyX
Posts: 139
Rep: 
|
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.
|
|
|
|
01-31-2021, 08:29 AM
|
#5
|
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 8,154
|
symlinks won't work on a fat partition if that is where you attempting to use them.
|
|
|
|
01-31-2021, 11:47 AM
|
#6
|
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
Quote:
Originally Posted by hd_scania
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.
|
|
|
|
02-02-2021, 04:54 AM
|
#7
|
|
NuTyX Founder
Registered: May 2016
Location: Switzerland
Distribution: NuTyX
Posts: 139
Rep: 
|
Quote:
Originally Posted by colorpurple21859
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.
|
|
|
|
All times are GMT -5. The time now is 06:35 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|