I can't find swap partition. Did something go wrong? (Debian 12/Calamares/Dual boot)
by newusername from LinuxQuestions.org on (#6HGDJ)
Hello everybody. And thank you for the free linux help forum.
I used liveusb to install Debian Gnome (12.4.0. I think, amd64, sha256 ok) on my T480 Thinkpad. In Calamares I used the slider to allocate 300gb of the 500gb SSD to Debian. On the other 200gb partition I still have Windows 11 pro. Debian seems to work flawlessly. Even sleep/hibernation.
I have 32gb ram, and was curious how much drive space I had lost to swap. 1 or 1,5 or 2 times the ram? But I can't find a swap partition. I want to start using the laptop for work. Did the installation go wrong and should I NOT use the laptop? Or is it still reliable for work? I read it could work through a swap file instead of partition, but I don't immediately find a swap file either. Would a missing swap just make it a little slower in practice, or will it cause serious problems? I tried redoing it with the live usb, but Calamares didn't offer the option to create a swap, it was going to redo the exact same thing. Then I tried the Debian installer, but guided partitioning on the largest available free space didn't work. The error said something like: ... or partition to small. But it's a 300gb partition. Then I started the manual partitioning but got confused and aborted. So, is it safe to use that computer or should I try to reinstall?
Thanks for your help.
I find:
/dev/nvme0n1p1
EFI System (No Automount)
/dev/nvme0n1p2
Microsoft Reserved (No Automount)
/dev/nvme0n1p3
Basic Data (No Automount)
NTFS i Not Mounted
/dev/nvme0n1p5
Linux Filesystem
Ext4 (version 1.0) i Mounted at Filesystem Root
/dev/nvme0n1p4
Microsoft Windows Recovery Environment (System, No Automount)
/dev/nvme0n1
Unallocated Space
And:
df -h
Filesystem Size Used Avail Use% Mounted on
udev 16g 0 16g 0% /dev
tmpfs 3.2g 1.8M 3.2g 1% /run
/dev/nvme0n1p5 296g 14g 268g 5% /
tmpfs 16g 0 16g 0 /dev/shm
tmpfs 5.0M 8.0K 5.0M 1% /run/lock
tmpfs 16g 8.0k 16g 1% /tmp
/dev/nvme0n1p1 96m 34m 63m 36% /boot/efi
tmpfs 3.2g 112k 3.2g 1% /run/user/1000
And:
$free
total used free shared buff/cache available
Mem: 33g 4.7g 26g 0.5g 3g 28g
Swap: 0 0 0
I used liveusb to install Debian Gnome (12.4.0. I think, amd64, sha256 ok) on my T480 Thinkpad. In Calamares I used the slider to allocate 300gb of the 500gb SSD to Debian. On the other 200gb partition I still have Windows 11 pro. Debian seems to work flawlessly. Even sleep/hibernation.
I have 32gb ram, and was curious how much drive space I had lost to swap. 1 or 1,5 or 2 times the ram? But I can't find a swap partition. I want to start using the laptop for work. Did the installation go wrong and should I NOT use the laptop? Or is it still reliable for work? I read it could work through a swap file instead of partition, but I don't immediately find a swap file either. Would a missing swap just make it a little slower in practice, or will it cause serious problems? I tried redoing it with the live usb, but Calamares didn't offer the option to create a swap, it was going to redo the exact same thing. Then I tried the Debian installer, but guided partitioning on the largest available free space didn't work. The error said something like: ... or partition to small. But it's a 300gb partition. Then I started the manual partitioning but got confused and aborted. So, is it safe to use that computer or should I try to reinstall?
Thanks for your help.
I find:
/dev/nvme0n1p1
EFI System (No Automount)
/dev/nvme0n1p2
Microsoft Reserved (No Automount)
/dev/nvme0n1p3
Basic Data (No Automount)
NTFS i Not Mounted
/dev/nvme0n1p5
Linux Filesystem
Ext4 (version 1.0) i Mounted at Filesystem Root
/dev/nvme0n1p4
Microsoft Windows Recovery Environment (System, No Automount)
/dev/nvme0n1
Unallocated Space
And:
df -h
Filesystem Size Used Avail Use% Mounted on
udev 16g 0 16g 0% /dev
tmpfs 3.2g 1.8M 3.2g 1% /run
/dev/nvme0n1p5 296g 14g 268g 5% /
tmpfs 16g 0 16g 0 /dev/shm
tmpfs 5.0M 8.0K 5.0M 1% /run/lock
tmpfs 16g 8.0k 16g 1% /tmp
/dev/nvme0n1p1 96m 34m 63m 36% /boot/efi
tmpfs 3.2g 112k 3.2g 1% /run/user/1000
And:
$free
total used free shared buff/cache available
Mem: 33g 4.7g 26g 0.5g 3g 28g
Swap: 0 0 0