Chameleon Garuda

Hey there,
I have noticed a weird thing with garuda, where it's getting detected as ubuntu.
Now this is nothing new, I know, but the weird thing is, that next to grub now also snapper and even garuda chroot (kinda red flag) are detecting it as ubuntu - what is going on?
I can't remember to have changed anything regarding this.
How could this happen?
Thanks!

System:    Kernel: 5.13.13-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0 
           parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=2a555427-5d35-463f-8011-b023a855b928 rw 
           rootflags=subvol=@ loglevel=3 quiet splash lsm=lockdown,yama,apparmor,bpf 
           Desktop: KDE Plasma 5.22.5 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux 
           base: Arch Linux 
Machine:   Type: Desktop System: Gigabyte product: AX370-Gaming 3 v: N/A serial: <filter> 
           Mobo: Gigabyte model: AX370-Gaming 3-CF v: x.x serial: <filter> UEFI-[Legacy]: American Megatrends v: F50a 
           date: 11/27/2019 
CPU:       Info: 6-Core model: AMD Ryzen 5 2600X bits: 64 type: MT MCP arch: Zen+ family: 17 (23) model-id: 8 stepping: 2 
           microcode: 800820D cache: L2: 3 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 86226 
           Speed: 3243 MHz min/max: 2200/3600 MHz boost: enabled Core speeds (MHz): 1: 3243 2: 3417 3: 4140 4: 3930 5: 4153 
           6: 4098 7: 4149 8: 4034 9: 3123 10: 3660 11: 4131 12: 4101 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: disabled, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Baffin [Radeon RX 550 640SP / RX 560/560X] vendor: ASUSTeK 
           driver: amdgpu v: kernel bus-ID: 08:00.0 chip-ID: 1002:67ff class-ID: 0300 
           Device-2: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo bus-ID: 3-4:4 chip-ID: 046d:0825 
           class-ID: 0102 serial: <filter> 
           Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver: loaded: amdgpu,ati unloaded: modesetting 
           alternate: fbdev,vesa display-ID: :0 screens: 1 
           Screen-1: 0 s-res: 3600x1200 s-dpi: 96 s-size: 952x317mm (37.5x12.5") s-diag: 1003mm (39.5") 
           Monitor-1: HDMI-A-0 res: 1680x1050 hz: 60 dpi: 90 size: 474x296mm (18.7x11.7") diag: 559mm (22") 
           Monitor-2: DVI-D-0 res: 1920x1200 hz: 60 dpi: 99 size: 495x310mm (19.5x12.2") diag: 584mm (23") 
           OpenGL: renderer: Radeon RX 560 Series (POLARIS11 DRM 3.41.0 5.13.13-zen1-1-zen LLVM 12.0.1) v: 4.6 Mesa 21.2.1 
           direct render: Yes 
Audio:     Device-1: AMD Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X] vendor: ASUSTeK driver: snd_hda_intel 
           v: kernel bus-ID: 08:00.1 chip-ID: 1002:aae0 class-ID: 0403 
           Device-2: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Gigabyte driver: snd_hda_intel v: kernel 
           bus-ID: 0a:00.3 chip-ID: 1022:1457 class-ID: 0403 
           Device-3: C-Media USB Microphone type: USB driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-2:3 
           chip-ID: 0d8c:9700 class-ID: 0300 serial: <filter> 
           Device-4: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo bus-ID: 3-4:4 chip-ID: 046d:0825 
           class-ID: 0102 serial: <filter> 
           Sound Server-1: ALSA v: k5.13.13-zen1-1-zen running: yes 
           Sound Server-2: sndio v: N/A running: no 
           Sound Server-3: JACK v: 1.9.19 running: no 
           Sound Server-4: PulseAudio v: 15.0 running: no 
           Sound Server-5: PipeWire v: 0.3.35 running: yes 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Gigabyte driver: r8169 v: kernel 
           port: f000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200 
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           IF-ID-1: docker0 state: down mac: <filter> 
           IF-ID-2: virbr0 state: down mac: <filter> 
Drives:    Local Storage: total: 2.96 TiB used: 985.52 GiB (32.6%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 EVO 1TB size: 931.51 GiB block-size: physical: 512 B 
           logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 4B6Q scheme: GPT 
           ID-2: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 860 EVO 250GB size: 232.89 GiB block-size: physical: 512 B 
           logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 1B6Q scheme: GPT 
           ID-3: /dev/sdc maj-min: 8:32 vendor: Western Digital model: WD20EFRX-68EUZN0 size: 1.82 TiB block-size: 
           physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter> rev: 0A82 scheme: GPT 
Partition: ID-1: / raw-size: 195.31 GiB size: 195.31 GiB (100.00%) used: 52.09 GiB (26.7%) fs: btrfs dev: /dev/sda2 
           maj-min: 8:2 
           ID-2: /home raw-size: 736.18 GiB size: 736.18 GiB (100.00%) used: 87.98 GiB (12.0%) fs: btrfs dev: /dev/sda3 
           maj-min: 8:3 
           ID-3: /var/log raw-size: 195.31 GiB size: 195.31 GiB (100.00%) used: 52.09 GiB (26.7%) fs: btrfs dev: /dev/sda2 
           maj-min: 8:2 
           ID-4: /var/tmp raw-size: 195.31 GiB size: 195.31 GiB (100.00%) used: 52.09 GiB (26.7%) fs: btrfs dev: /dev/sda2 
           maj-min: 8:2 
Swap:      Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: zram size: 31.3 GiB used: 407.8 MiB (1.3%) priority: 100 dev: /dev/zram0 
Sensors:   System Temperatures: cpu: 49.8 C mobo: N/A gpu: amdgpu temp: 50.0 C 
           Fan Speeds (RPM): N/A gpu: amdgpu fan: 1443 
Info:      Processes: 445 Uptime: 3h 47m wakeups: 0 Memory: 31.3 GiB used: 8.46 GiB (27.0%) Init: systemd v: 249 
           tool: systemctl Compilers: gcc: 11.1.0 clang: 12.0.1 Packages: 2086 apt: 0 pacman: 2080 lib: 468 snap: 6 
           Shell: fish v: 3.3.1 running-in: yakuake inxi: 3.3.06 

I love this template, it tells you everything
1 Like

I need more details :slight_smile:


“Hallo zusammen,
Ich habe eine seltsame Sache mit Garuda bemerkt, wo es als Ubuntu erkannt wird.
Das ist nichts Neues, ich weiß, aber das Seltsame ist, dass neben grub nun auch snapper und sogar garuda chroot (eine Art rote Fahne) es als ubuntu erkennen - was ist da los?
Ich kann mich nicht erinnern, irgendetwas diesbezüglich geändert zu haben.
Wie kann das passieren?
Vielen Dank!”

Wo hast du das entdeckt und wie?
Ich brauche mehr Details :slight_smile:

Not all :slight_smile:

2 Likes

(I am gonna keep this english to hopefully not scare away any other discussion participants xD)

So I noticed snapper telling me about creating snapshots for Ubuntu:

( 8/10) Performing snapper post snapshots for the following configurations...
==> root: 102
( 9/10) Generate GRUB config to let grub-btrfs detect new snapshots
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/garuda-dr460nized/theme.txt
Found linux image: /boot/vmlinuz-linux-zen
...
Found Ubuntu 18.04.2 LTS on /dev/sda2

while

sda      8:0    0 931.5G  0 disk 
├─sda1   8:1    0    14M  0 part 
├─sda2   8:2    0 195.3G  0 part /run/timeshift/backup
│                                /var/lib/docker/btrfs
│                                /var/tmp
│                                /var/log
│                                /var/cache
│                                /srv
│                                /root
│                                /
└─sda3   8:3    0 736.2G  0 part /home

Also when I had to fix something via chroot recently, the Garuda-chroot option only showed Garuda (The live media for some reason) and Ubuntu (My actual garuda system) (also this)
Also grub sometimes shows garuda as Ubuntu for some reason (at least that's what I think remember from some other forums post)

1 Like

Currently, Garuda uses timeshift, if snapper doesn't get along with it there are problems.
Seems to be similar to Garuda recognising all other OS in the grub but M$ or Debian not Garuda.

Since you don't seem to be using the default configuration, I personally can't help.

Maybe some @garuda-team members can help.

2 Likes

I am still using Timeshift (as of now) and snapper is 100% compatible with grub-btrfs.
Please understand, that one can't forever stick to the default configuration. I personally found timeshift to be pretty bad, as you can't create btrfs backups of multiple drives/partitions and I'd been using a pretty bad rsync script for my home partition (That occasionally decided to freeze my system) until I discovered snapper.
I really had no other choice than to use this.
Together with aur/snapper-gui it is way better to use than timeshift where the backups are stored in some weird directory.
Please don't just instantly turn away like this when someone tries to do a bit of customisation.
I do understand that you are doing this in your free time and even for free - Which I am very grateful about - and any customisations of the default system could lead to a pretty exhausting support session - I myself really like most of the Garuda default config, but on the other hand I just don't like programs like Kscreenlocker-Greet as it tends to break pretty often, forcing me to log in via tty.
Ly seemed to be a perfect replacement for this.

(I also just kinda mixed up both of my issues, but it should still apply for ly, too)

Anyways, snapper is just another program that detects Garuda as ubuntu.

EDIT foobar:

sudo os-prober
/dev/sda2:Ubuntu 18.04.2 LTS:Ubuntu:linux:btrfs:UUID=2a555427-5d35-463f-8011-b023a855b928:subvol=timeshift-btrfs/snapshots/2021-09-05_17-58-12/@/var/lib/docker/btrfs/subvolumes/117bc91c4c3376835bbb9070b04e01296247fa58d6dd11199422efa3c137fa32

It's not snapper's fault.

2 Likes

I didn't criticize you, :slight_smile: I just said that I have no idea about it.
If I'm not mistaken, there is a change going on that you might like.

Unfortunately, I have to rely on translation aids, so, above, your text in German, shows that one often has to guess what is meant.
So here too, your way is good but the translation ruins it.

2 Likes

Oh sorry.
(Naja, ich hatte hier schonmal Hilfe gesucht (Weil Timeshifts rsync auch mein System eingefroren hatte (Oh Wunder) und mir wurde gesagt, dass sie mir nicht helfen können, da ich nicht die Standardkonfiguration benutze - Ich weiß auch nicht, aber das schien mir in jenem Moment ein wenig Lustlos - Deshalb die wehemente Antwort)
Ich werde nun versuchen das obige zu Übersetzen:

Ich benutze (momentan) immernoch Timeshift und snapper ist zu 100% mit grub-brtfs kompatibel.
Bitte verstehe, dass man nicht für immer die Standartkonfiguration benutzen kann. Ich persönlich finde, dass Timeshift ziemlich schlecht ist, weil man keine btrfs backups auf mehreren Geräten/Partitionen machen kann und Ich habe ein rsync Script für meinen Home ordner benutzt, dass mehr schlecht als recht war, und mein System ab und an zum einfrieren gebracht hat, bis ich snapper gefunden habe.
Ich hatte wirklich keine andere Wahl, als es zu benutzen.
Zusammen mit aur/snapper-gui ist Snapper viel besser as Timeshift zu benutzen; Hierbei sind die backups auch sehr leicht erreichbar in einem .snapshots order auf der Jeweiligen partition einsehbar.
Bitte drehe dich nicht sofort weg, wenn jemand ein wenig Anpassung vornimmt..
Ich verstehe, dass du das hier in deiner Freizeit kostenlost machst - Wofür ich sehr dankbar bin - und dass irgendwelches Anpassen zu einer sehr ermüdenden Hilfesitzung führen könnten - Ich selber mag das Meiste, was die Garuda Standartkonfiguration zu bieten hat, aber auf der anderen Seite mag ich programme wie KScreenlocker-Greet einfach nicht weil sie oft kaputt gehen, und zum login via tty zwingen.
Ly schien hier ein guter Ersatz.

(Ich habe hier wohl zwei meiner Probleme etwas vermixt, aber was ich gesagt habe sollte immernoch zutreffen.
Jedenfalls ist snapper einfach nur ein anderes Programm, das Garuda als Ubuntu erkennt.

2 Likes

If I’m not mistaken, there is a change going on that you might like.

:: Replace os-prober-garuda with chaotic-aur/os-prober-btrfs? [Y/n]

I see :wink:

1 Like

Well you will see soon

4 Likes

2 posts were merged into an existing topic: Os-prober-btrfs is not recognizing Windows partition

Magic 8-Ball says...

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.