Hello people, I was removing an unwanted partition the other day and when I restarted, booting up was really slow. Hibernation is disabled (when I type in s2disk into the terminal as well it says cannot locate memory) as well.
I believe that the problem is the swap, since when I deleted the partition GParted said that I’d have to unmount the swap partition (the partition number was higher than the one to be deleted). Somehow this blocked the swap partition automatically starting up upon boot.
Another reason is that on the day I deleted the partition there was a kernel update after I deleted it. I don’t know - but this somehow may of borked up
You post is realy missing any amouunt of information whatsoever, except that “something is wrong”.
What level of openSUSE?
What was the partitioning and the use of the partitions before you removed the “unwanted” one and which one was the “unwanted one”? And giving us an idea about why you did not “want it” might be also of ineterest to let us follow your strain of thought and the actions that did to achieve that.
Yes. openSUSE mounts partitions by disk ID and partition numbers by default. A better default would by UUID, which is written is the partition superblock and never changes (unless you reformat the partition). If you remove/add a partition in the middle under openSUSE, you get this kind of problem. The solution is to edit /etc/fstab and /etc/sysconfig/bootloader. Don’t forget the latter or you will have the problem again after a kernel update. A better approach is to use UUIDs or labels in /etc/fstab (and /etc/sysconfig/bootloader).
sed -i 's|part6|part5|' /etc/fstab
sed -i 's|part6|part5|' /etc/sysconfig/bootloader
It will replace part6 with part5 in /etc/fstab and /etc/sysconfig/bootloader and fix the problem. Of course you can open these files as root and edit them if you prefer. /etc/fstab.isl and /ets/sysconfig/bootloader.isl here are backup copies that you can delete later.
You talk nonsense. One does not mount swap. And /etc/fstab does not show what the situation on your system is, it shows what should be done on boot. When you want to see what is used as swap, you do
In /etc/fstab is shows that on boot /dev/sda6 must be used for swap. But the fdisk shows that /dev/sda5 is the only Swap partition. Thus you should change the part6 in part5 in that line in* /etc/fstab*.
And you did not post the output of mount and you did not explain what you (thought you) had before removing that unwanted partition and why you thought it was unwanted and what you did then. I do not know if I can answer any more when you do not provide what I ask for, or at least explain why you do not provide it.
And next time please do copy computer text as above including the command you gave, thus we can see what you did. Like: