Need some advice before I try to dual boot with slackware

I reinstalled Garuda and left 100G free space on my hard drive to dual boot with another system. I was thinking of putting slackware 15 on that space.

I have two concerns.

I don’t want Slackware to overwrite or otherwise screw up the efi boot partition created by Garuda. If I understand the process correctly, I would ideally install slackware on the free space without adding any new boot partition or grub entry, and I could just boot into Garuda again and run update-grub and let that process find Slackware’s partition on the hard drive.

Can they both use the same swap space, or will I have to partition out a separate swap space from that free space for Slackware?

What would be the best way to accomplish this.

Thank you.

System:
Host: ls-system Kernel: 6.6.10-zen1-1-zen arch: x86_64 bits: 64
Desktop: KDE Plasma v: 5.27.10 Distro: Garuda Linux
Machine:
Type: Laptop System: HP product: HP Laptop 15-dw0xxx v: Type1ProductConfigId
serial: CND1494L14
Mobo: HP model: 85F5 v: 39.46 serial: PJSMLB3NMG0W8E UEFI: Insyde v: F.63
date: 08/24/2023
Battery:
ID-1: BAT1 charge: 41.2 Wh (100.0%) condition: 41.2/41.0 Wh (100.4%)
CPU:
Info: quad core model: Intel Pentium Silver N5030 bits: 64 type: MCP cache:
L2: 4 MiB
Speed (MHz): avg: 798 min/max: 800/3100 cores: 1: 800 2: 800 3: 796 4: 796
Graphics:
Device-1: Intel GeminiLake [UHD Graphics 605] driver: i915 v: kernel
Device-2: Quanta HP TrueVision HD Camera driver: uvcvideo type: USB
Display: wayland server: X.org v: 1.21.1.10 with: Xwayland v: 23.2.3
compositor: kwin_wayland driver: X: loaded: modesetting dri: iris gpu: i915
resolution: 1366x768
API: EGL v: 1.5 drivers: iris,swrast
platforms: wayland,x11,surfaceless,device
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 23.3.2-arch1.2
renderer: Mesa Intel UHD Graphics 605 (GLK 3)
API: Vulkan v: 1.3.274 drivers: intel,llvmpipe surfaces: xcb,xlib,wayland
Audio:
Device-1: Intel Celeron/Pentium Silver Processor High Definition Audio
driver: snd_hda_intel
API: ALSA v: k6.6.10-zen1-1-zen status: kernel-api
Server-1: PipeWire v: 1.0.0 status: active
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
driver: r8169
IF: eno1 state: down mac: c0:18:03:26:c5:1c
Device-2: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
driver: rtw_8821ce
IF: wlo1 state: up mac: b4:b5:b6:b7:8c:0b
Bluetooth:
Device-1: Realtek Bluetooth 4.2 Adapter driver: btusb type: USB
Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
rfk-block: hardware: no software: no address: B4:B5:B6:B7:8C:0C bt-v: 4.2
Drives:
Local Storage: total: 465.76 GiB used: 20.15 GiB (4.3%)
ID-1: /dev/sda vendor: Toshiba model: MQ01ABF050 size: 465.76 GiB
Partition:
ID-1: / size: 196.2 GiB used: 11.5 GiB (5.9%) fs: btrfs dev: /dev/sda1
ID-2: /boot/efi size: 1022 MiB used: 584 KiB (0.1%) fs: vfat
dev: /dev/sda4
ID-3: /home size: 196.2 GiB used: 11.5 GiB (5.9%) fs: btrfs dev: /dev/sda1
ID-4: /opt size: 159.18 GiB used: 8.65 GiB (5.4%) fs: btrfs dev: /dev/sda2
ID-5: /var/log size: 196.2 GiB used: 11.5 GiB (5.9%) fs: btrfs
dev: /dev/sda1
ID-6: /var/tmp size: 196.2 GiB used: 11.5 GiB (5.9%) fs: btrfs
dev: /dev/sda1
Swap:
ID-1: swap-1 type: zram size: 3.39 GiB used: 6 MiB (0.2%) dev: /dev/zram0
ID-2: swap-2 type: partition size: 11.72 GiB used: 0 KiB (0.0%)
dev: /dev/sda3
Sensors:
System Temperatures: cpu: 51.0 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Processes: 210 Uptime: 7m Memory: total: 4 GiB note: est.
available: 3.39 GiB used: 1.69 GiB (49.9%) igpu: 64 MiB Shell: Bash
inxi: 3.3.31

As long as you don’t use hibernation(suspend to disk), you can share the same swap partition, yes.

If install slackware without a boot loader, you will have to see if os-prober can detect it. If not, you can setup manual boot stanzas for it.

5 Likes

Awesome, thank you.

1 Like

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