Swap file and other questions

Good day I downloaded and installed openSUSE Tumbleweed yesterday and was surprised to end up with boot, OS, AND swap partitions. I would of figured this day and age the default would be boot partition and OS partition with a swap file. I’m assuming during install I must of missed something. Can someone point me at what I missed? My second question is I downloaded rpm’s for both Vivaldi and Plex Media Server before doing the install and when I rightclicked either of them after landing on the desktop for the first time and selecting open with yast I got a file integrity error. I’m assuming that there must of been something I needed to install or I missed a step for installing the programs? The third question I have is why would I have to enter my password to access one of my partitions on secondary drives. This happened on at least two partitions / drives I clicked in places to access? And lastly I went to drop my service menu items into their respective folders and neither folder was in the file system nor their parent folders, and the first thing I did in Dolphin was check show hidden files. Is the services something I have to add and I just forgot about it? Thanks

Show us as root **fdisk -l ** Please use code tags for computer output

If you selected a LVM container you may have created a boot partition also. But maybe the boot partition is the EFI boot partition which is used with EFI booting.

Like @gogalthorpe asks it is better to show what you have now, so we can better inerprete your srory.

That sais, it is rather normal that on installation a swap partition is suggested. That it is possible to use files for swapping is not something that even many people know off. Also I doubt (but I am not sure) that you can use file swap for hibernation.

And yes, you may have missed something during installation. Just before you fire of the real installation there is a screen which shows you an overview of what is going to happen. Partitioning is part of it and you can fgo there and change to your liking. That said, you can remove the suggested swap partition there, but I doubt it is possible to configure any file swapping during the instllation proces. That you have to introduce manualy after the installation.

Like @goglathorpe I doubt a boot partition is suggested. When you use EFI, an efi partition is a must.

And sorry,

I see this is your first post here. Welcome to the openSUSE forums.

About the CODE tags mentionedabove:

There is an important, but not easy to find feature on the forums.

Please in the future use CODE tags around copied/pasted computer text in a post. It is the # button in the tool bar of the post editor. When applicable copy/paste complete, that is including the prompt, the command, the output and the next prompt.

An example is here: Using CODE tags Around your paste.

Regards,

I removed Tumbleweeed before creating the thread cause it was only for a test run. That said I avoided the LVM. As for EFI yes my board is UEFI only so ending up with the efi / boot partition and one partition for everything else makes sense. The swap partition didn’t make sense to me. Like I said I’m assuming I missed where I can choose to have a swap file rather than a swap partition? Would I be correct in that assumption?

Actually a swap file is better because it’s faster. I could not tell you which would be better for hibernation but my bet would be there is very little difference. That said I never put the system in standby or shut it down. As for configuring the swap file when no swap partition is selected should be automatic by the install. Either way swap file or not it’s never used from my experience because of the amount of memory on today’s computers, including selfbuilt ones like mine. I’ve in cluded a screen of my current manjaro so we know we are on the same page. The first partition is of course efi / boot, the second partition is my main Manjaro OS, and the third partition is a second install of Manjaro. As you can see there is no swap partition.

Thanks for the welcome, as for the code I belong to plenty of forums so I know how to use the editors, but thank you.

Thanks for the welcome, as for the code I belong to plenty of forums so I know how to use the editors, but thank you.

I realy wonder if you have read my post.

A EFI partition is NOT the same as a /boot partition. So please do not talk so casualy about the “efi / boot partition”.
You need an EFI partition when your system uses EFI boot. And after boot it is normaly mounted on /boot/efi so you can access it when your system is running when need arises. It’s file system type is in the FAT family.
A /boot partition is only needed under special circumstances. E.g. when the boot loader program (LILO, GRUB, …) can not access /boot because it is on a file system type not supported, or hidden away in an LVM structure and the like.
Nevertheless you can always use a separate file system for /boot when you like that as personal preference.
From the above one can deduct that the file system type on a /boot partition should be one that is supported by the bootloader. But the ones most used today (ext2/3/4 and Btrfs) are supported by GRUB).

As I tried to explain above, a swap partition is suggested during installation and you can remove/resize that from the suggested partitioning if you want. File swap is NOT offered during installation, thus you have not missed any choice of using it.

I realy wonder while you seem to think that a swap partition is something of the paste and that file swap is todays habit. Can you explain where you found that?

I don’t think you can use a swap file for hibernation. But you do need swap of at least the size of memory to hibernate.

Well, this is openSUSE and not Manjaro. When all distros were the same, they would not have any reason for existance.

When you remove the swap partition from the proposed partitioning, there is no deep thinking of the installer: “oh, then probably file swapping is wanted”. The installer designers then simply take it for granted that one does not want swap.

As said earlier, after the install, you can create as many swap files as you want on the places you want, either before you commision the installed system into day-to-day service and/or later.

And about your mis-reading of “/boot/efi” as “efi / boot”, see my earlier post.

You are correct, but he does not want to hibernate, thus …

I think we are misunderstanding each other. You’re saying it one way and I’m simply saying it another. Regardless of what the partitions are called the base system still needs the two partitions at minimum. I know others will have their systems setup with up to 4 partitions. I personally never liked that. That’s because when I came back a couple of years ago to give Linux another go and see how far it had come I chose Mint Cinnamon which automatically setup the way I prefer. I love the fact that openSUSE default is Btrfs instead of Ext4. That, being cutting edge, and a rolling release are why I’m looking at Tumbleweed. As for the swap file versus swap partition Mint is a file by default versus a partition, and Manjaro is a choice that you check during setup and install.

The attitude isn’t necessary I’m here to understand the differences between how I install Manjaro and Tumbleweed so as to give myself and those who help here as few headaches as possible.

Then let us keep it simple.
The openSUSE way was to offer a partitioning of three partitions:

  • swap, using some formula fr size I can not present to you because I do not know, probably depending on the disk space available and the memory available;
  • /, 20 Gb in ext times;
  • /home, the rest of the disk.

This changed over time and now it is something like:

  • EFI (/boot/efi) when needed because of the firmware of the system;
  • swap, I assume it will make it large enough to accomodate hibernating;
  • /, for Btrfs 40Gb.
  • /home, the rest.

I think the newest is now to incorporate /home in the (Btrfs) / file system, making it a sub-volume.

But all these were only suggestions. And they were chosen so that even a noob could get a running system with not too many potential “disk full” and other problems.

Anybody that thinks (s)he knows better can do as (s)he likes. The screen before the insaller starts writing to the disk is full of subjects were one can adapt to ones whishes. Not only partitioning, but also software packages not to be installed or to be installed already at installation, etc.

And yes, you have to do some of the thinking. And when you do not like that because of lack of experience or of lazyness, you still wil get a system that runs fine.

This changed over time and now it is something like:



  - EFI (/boot/efi) when needed because of the firmware of the system;
  - swap, I assume it will make it large enough to accomodate hibernating;
  - /, for Btrfs 40Gb.
  - /home, the rest.



OK now we are closer to being on the same page. Now when I set the partitions the installer showed me boot/efi, the main partition, and the swap at the end. I think since from what I remember reading while a swap file is faster it’s not that much faster. So rather give you a headache and myself one I will defer to how the installer sets up the partitions when I reinstall. I think my main concern should be what I did wrong attempting to install Vivaldi and Plex, cause till I correct my mistakes there I’m not going to get very far. Does that sound like a Better idea?

Personally I like having a separate home partition since it gives much more flexibility. But new default is to have home as a sub on root rather on its own.

Yea and It’s what I’ve gotten use to with first Mint, then Neon, Kubuntu, and then Manjaro. My only real concern is Timeshift On BTRFS. I’ve read that Timeshift actually stores the snapshot on a partition on the OS drive rather than give you the option of having them on a different drive.

I have no idea about Vivaldi and Plex. Do not even know what they are.

I do not think they are covered by the subject of your thread. Thus when you want to draw the attention of people who know what you are talking about, start a new thread with those keywords in the title.

They are mentioned in the body of the first post. Plex is a media server and Vivaldi is a browser. However what they are isn’t the issue, the issue is I downloaded the rpm of each, rightclicked each to install with yast and was presented with an integrity error. Both were downloaded directly from their respective sites so I know there is nothing wrong with the files themselves. I’m assuming there must be something else I need to be doing to get them to install using yast.

I can only repeat that the best way to draw the attention of the people you need is having a thread per subject with a good title. The wording “and other questions” isn’t very illuminating about your problem.

We like “one problem/question per thread” to avoid a confusing range of posts were in the end nobody knows which one answers to which one.