Unable to boot because of lack of memory?

Hi,

I am not able to start Leap 15.1 and it might be because I ran out of memory.

I have 16g ram and 1TB sdd. Before I tried to shut it down the last time before I am not able to log back in, I tried the df command the last time I was in the system and it shows that I have I used 40gb out of 41gb, particularly in the /var directory.

I am still a noob, so would appreciate any guidance on how to recover…

Thanks for advice.

Hi,

I am not able to start Leap 15.1 and it might be because I ran out of memory.

I have 16g ram and 1TB sdd. Before I tried to shut it down the last time before I am not able to log back in, I tried the df command the last time I was in the system and it shows that I have I used 40gb out of 41gb, particularly in the /var directory.

I am still a noob, so would appreciate any guidance on how to recover…

Thanks for advice.

Sorry, I probably am not clear in my question. Maybe the below might be clearer?

I am not able to start Leap 15.1 and it might be because I ran out of memory.

My setup is that there is 16g ram and 1TB sdd. The last time I was in, I tried the df command. It shows that I have I used 40gb out of 41gb, particularly in the /var directory.

I guess I would need to get a new hard disk but wondering if anyone can shed some light or share some other opinions on how best to recover?

Thank you in advance.

Getting a picture or error text that appears during boot would help to deduce what the issue really is.

Could you snap one using a cellphone and put it up somewhere?

Here you go…

https://imgur.com/a/Pm5KyQq

A couple of times, there might be a mouse pointer on a black screen. Other times, instead of a mouse pointer, I will have a pointer in the shape of a “X” rather than a mouse pointer…

Thanks again.

We have https://susepaste.org/
Upper right is Image. Put the URL of the page in your post (not that of the image).

Thanks hcvv,

Not sure to understand

Put the URL of the page in your post (not that of the image)

Is the below ok? ](https://susepaste.org/34977607)https://susepaste.org/96124573

https://susepaste.org/34977607

https://susepaste.org/58322615

https://susepaste.org/99804353

https://susepaste.org/28290343

They will expire within a day

Probably snapper using up space on the root partition. Run snapper cleanup

https://en.opensuse.org/Portal:Snapper

Hi gogalthorp,

I am not able to reach the login page at the moment, so I am cannot even zypper in Snapper…is there another way to force in?

Sorry I am horrible at system admin, please bear with me.

If you used BTRFS file system then snapper is there if you use someother file system then snapper is not there.

Can yo boot to a terminal? maybe in rescue mode in options for the boot selection???

I can see them.
Hm, somewhere you could have set that to “never expire”. Let us hope the solution for you problem will arrive within 24 hours :wink:

Can yo boot to a terminal? maybe in rescue mode in options for the boot selection???

Hi gogalthorp,

I am at a command line screen where it says:


GNU GRUB version 2.02
Minimal BASH-like line editing is supported. For the first word, TAB list possible command completions. Anywhere else TAB lists possible device or file completions. ESC at any time exits.

grub> -

do I SUDO in?

I found this:https://www.gnu.org/software/grub/manual/grub/grub.html#GNU_002fLinux

, should I

grub> linux /vmlinuz root=/dev/sda1

Let us hope the solution for you problem will arrive within 24 hours

Thanks! Wish me luck!:embarrassed:

You are root at that point no need for sudo.

follow instruction on page I linked to to clean up snapper

No luck…

grub> snapper ls
error:can't find command 'snapper'.

grub> snapper
error:can't find command 'snapper'.

grub> snapper list
error:can't find command 'snapper'.

grub> snapper-zypp-plugin
error:can't find command 'snapper-zypp-plugin'.

My first version is 42.3, then upgrade to 15.0, then 15.1…could that be the reason why snapper is not in?

Do you use BTRFS or other file system. snapper us only on BTRFS

you said /var seems large maybe check there and see what is using space.

Also do you ever log tot a GUI as root. this can damage files in your user /home

Do you use BTRFS or other file system. snapper us only on BTRFS

I just use the default…

you said /var seems large maybe check there and see what is using space.

the large usage msg only appears yesterday, so I deleted some downloaded files (to my knowledge, these are all like personal files and not files that affect the system as they are all in the download folder) and tried to shut down and then back in…that is when I encountered the problems

Also do you ever log tot a GUI as root. this can damage files in your user /home

Not that I am aware of, could have months ago…

But from now, what should I do, assuming it is not BTRFS…How do I check the var?

Should I try the below? When I had a quick look through the file monitor yesterday, I thought I saw a lot of sda3…

grub> linux /vmlinuz root=/dev/sda1

He is at the grub prompt, openSUSE is not running at all at that point!
He first must boot in single user mode, or he must use a rescue system to be able to use commands like snapper.

At the grub menu, I tried

grub> ls
(hd0) (hd0,gpt4) (hd0,gpt3) (hd0,gpt2) (hd0,gpt1)

Any suggestions what I should do next?

TIA!

@by79:

Forget GRUB – the system ain’t booted – it ain’t running …

Let the system boot “normally” – in so much that, “normal” in this case is “no GUI” …

Type <Ctrl-Alt-F1> – if you’re on a Laptop, you may need to use the “Fn” key to get to “F1” …

  • At the (tty1) user prompt, login as the user “root
    ”. - Use the Snapper commands mentioned below.