LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 01-04-2021, 04:47 PM   #1
pschmitt
Member
 
Registered: May 2014
Location: Karlsruhe Germany
Distribution: OpenSUSE Leap 15.1
Posts: 57

Rep: Reputation: Disabled
System does not boot


I am running OpenSuse Leap 15 on a lenovo T440p.
After a call "zypper up" the system would not boot. It stop
with the prompt "grub>".
I speculate that the problem came from the fact that the directory
/home/pschmitt was 100% full.

(1) Following instructions found in the internet I did what
is required for booting with grub.
The system ended up in maintenance mode.
I learned that this is due to a wrong fstab. I removed the
mount instructions for fritz.nas. Since this did not help I also
removed the mount for a brtsf file system from fstab.
I later learned that this file system stores the snap files.
The effect was that the system did not boot at all.
(2) Now I was going for a new installation using another, older laptop
running Kubuntu I downloaded
openSUSE-Leap-15.2-DVD-x86_64.iso
and also
openSUSE-Leap-15.2-Rescue-CD-x86_64-Build31.307-Media.iso
and used the command

sudo dd bs=4M if=openSUSE-Leap-15.2-DVD-x86_64.iso of=/dev/sdb1
conv=fdatasync status=progress

to create a live usb disk.
Plugging this disk into the not-booting laptop and power it
up still ended as before with "grub>"
Also interupting the boot process and choosing the ubs disk
a temporary booting device did not change this.

I am desperate and at the end of my wits.
 
Old 01-04-2021, 09:13 PM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,354

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
Code:
of=/dev/sdb1
should be
Code:
of=/dev/sdb
 
Old 01-04-2021, 09:25 PM   #3
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by pschmitt View Post
I am running OpenSuse Leap 15 on a lenovo T440p.
After a call "zypper up" the system would not boot. It stop
with the prompt "grub>".
I speculate that the problem came from the fact that the directory
/home/pschmitt was 100% full.
This doesn't prevent Grub from booting. Your symptoms show that Grub is not even able to find its configuration file, which is not located on /home/pschmitt.
Quote:
(1) Following instructions found in the internet I did what
is required for booting with grub.
The system ended up in maintenance mode.
This is a huge step forward.
Quote:
sudo dd bs=4M if=openSUSE-Leap-15.2-DVD-x86_64.iso of=/dev/sdb1
conv=fdatasync status=progress
I think you should have copied the ISO to /dev/sdb, not /dev/sdb1. Before you do this, you also need to ensure that the USB drive is really identified by /dev/sdb. One method is to unplug it, run lsblk, plug it back in and run lsblk again. If /dev/sdb is not listed while it is unplugged, it's almost certain that this is the correct device file.
Quote:
still ended as before with "grub>"
My guess is that you booted from the harddisk instead of the USB drive, because your computer did not recognize it as a bootable drive. Most likely because you used sdb1 as copy destination, or (less likely) you did not configure your computer to boot from USB.

I would try again with a newly created USB drive.

Last edited by berndbausch; 01-04-2021 at 09:26 PM.
 
Old 01-05-2021, 03:47 AM   #4
pschmitt
Member
 
Registered: May 2014
Location: Karlsruhe Germany
Distribution: OpenSUSE Leap 15.1
Posts: 57

Original Poster
Rep: Reputation: Disabled
Thanks, both of you.
I created a new usb-disc using of=/dev/sdb
Using it on the non-booting laptop still brought up
the "grub>" prompt. This time I entered "exit" which
produced the usual first screen after powering up.
Among the possible choices of OS on the list there luckily
also was the Rescue system.
I followed the instructions how to use chroot and I am now
on the system. Internet connection is working.
I am now on a loss how to proceed. Zypper would update
some 1000 packages, but the updates fail. "reboot" is
not allowed as chroot.
I would appreciate any hint what to do, or what to read.

cheers Peter
 
Old 01-05-2021, 05:11 AM   #5
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,354

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
There isn't enough information on you system to give any good advice, go here https://sourceforge.net/projects/boot-repair-cd/files/ download the iso put on usb, create a boot-info file and post.
 
Old 01-05-2021, 10:47 AM   #6
pschmitt
Member
 
Registered: May 2014
Location: Karlsruhe Germany
Distribution: OpenSUSE Leap 15.1
Posts: 57

Original Poster
Rep: Reputation: Disabled
I have run the boot-repair disc.
The report is available at
https://paste.ubuntu.com/p/5mwhsm2qFC/

I have not looked into it yet.
My fiddling around has revealed that the partition sda7 is almost full.
I have emptied the tmp directory on it.
This may be part of the problem, but more is required for a successful ending.
 
Old 01-05-2021, 02:19 PM   #7
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,354

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
at the the grub prompt
Code:
grub> configfile (hd0,6)/boot/grub2/grub.cfg
grub> boot
 
Old 01-06-2021, 02:24 AM   #8
pschmitt
Member
 
Registered: May 2014
Location: Karlsruhe Germany
Distribution: OpenSUSE Leap 15.1
Posts: 57

Original Poster
Rep: Reputation: Disabled
I very much appreciate your help and I have the feeling that I am
getting somewhere. Here is what I did so far:

after entering
grub> configfile (hd0,6)/boot/grub2/grub.cfg

a screen pops up with four choices for OS.
The first

OpenSuse Leap 42.3

was selected. The last two carried "Windows" in their names.
The second one was

OpenSused Leap 42.3 advanced options.
I was too slow to select it and I am not sure if that
is the way to go.

Booting OpenSuse Leap 42.3 brought me again in maintenance mode.
But, admittedly much easier than I had done before.
After

cd ..
mount /dev/sda7 /home2

df
shows that this partition is 100% full. I mounted subdirectories
e.g.
mound --rbind /tmp /home2/tmp
to see what big files I could remove. But did not find anything that
changed to 100% memory consumption of sda7.
 
Old 01-06-2021, 05:18 AM   #9
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,354

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
Code:
OpenSused Leap 42.3 advanced options.
I was too slow to select it and I am not sure if that
is the way to go.
Try the entries in the advance options, one of them may get you back into your system.

Last edited by colorpurple21859; 01-06-2021 at 05:19 AM.
 
Old 01-06-2021, 07:23 AM   #10
ember1205
Member
 
Registered: Oct 2014
Posts: 176

Rep: Reputation: 16
Why not download the OpenSUSE Leap 15.2 installation DVD media, make a disc, and do an "upgrade" install? It will read your package info and re-install the OS, and should correct the issues for booting in the process. In the event that you DO have an issue with a filesystem / partition that is full, it should be able to alert you to that during the install as well.
 
Old 01-06-2021, 08:49 AM   #11
pschmitt
Member
 
Registered: May 2014
Location: Karlsruhe Germany
Distribution: OpenSUSE Leap 15.1
Posts: 57

Original Poster
Rep: Reputation: Disabled
Dear ember1205
yes, I am thinking of this option also. But, I am postponing it for the moment.
My recollection of previous updates is, that there remain a lot of additional things to do after it.
E.g. re-installing programs not loaded from repositories.
Is that different with "upgrade install" ?
 
Old 01-06-2021, 08:52 AM   #12
pschmitt
Member
 
Registered: May 2014
Location: Karlsruhe Germany
Distribution: OpenSUSE Leap 15.1
Posts: 57

Original Poster
Rep: Reputation: Disabled
Addition to my last reply.
I know that partition sda7 is 100% full. But, despite 3 different ways to
access the system in restricted mode I found no way to resolve this issue,.
 
Old 01-06-2021, 08:52 AM   #13
ember1205
Member
 
Registered: Oct 2014
Posts: 176

Rep: Reputation: 16
Quote:
Originally Posted by pschmitt View Post
Dear ember1205
yes, I am thinking of this option also. But, I am postponing it for the moment.
My recollection of previous updates is, that there remain a lot of additional things to do after it.
E.g. re-installing programs not loaded from repositories.
Is that different with "upgrade install" ?
If you use the same version of the openSUSE distro that's already on the box and do an "upgrade", it should not do anything with the installed software except to replace certain packages that may be missing or possibly corrupt. Anything else should simply remain as is. If you're running something other than 15.2, then use that version.
 
Old 01-06-2021, 10:28 AM   #14
pschmitt
Member
 
Registered: May 2014
Location: Karlsruhe Germany
Distribution: OpenSUSE Leap 15.1
Posts: 57

Original Poster
Rep: Reputation: Disabled
Answer to colorpurple21859

I have tried the entries in the advanced option selection

openSuse Leap 42.3 with Linux 4.12.14-lp150.12.7-default
openSuse Leap 42.3 with Linux 4.12.14-lp150.12.7-default with recovery mode
openSuse Leap 42.3 with Linux 4.12.14-lp150.11-default
openSuse Leap 42.3 with Linux 4.12.14-lp150.11-default with recovery mode

They all end up in maintenance mode
Option number 5: Windows 7 worked without a hitch. (I had not used in since 2017).

Checking dmesg after the OpenSuse boots I found

EXT4-fs (sda7) : VFS : Can't find ext4 file system

That sounds strange since sda7 contains a btrfs file system.
Running
btrfsck /dev/sda7
finds no problems with it and also finds a lot of free memory on it. Why does df say it is full?

I am considering the suggestion of ember1205 to "install upgrade" the Linux version that is currently in my
systems. What do you think of it?
 
Old 01-06-2021, 12:14 PM   #15
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,354

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
Quote:
========================== sda6/etc/fstab (filtered) ===========================

/dev/disk/by-id/ata-Samsung_SSD_840_EVO_250GB_S1DBNSBF461644Y-part5 swap swap defaults 0 0
/dev/disk/by-id/ata-Samsung_SSD_840_EVO_250GB_S1DBNSBF461644Y-part6 / ext4 acl,user_xattr 1 1
/dev/disk/by-id/ata-Samsung_SSD_840_EVO_250GB_S1DBNSBF461644Y-part7 /home ext4 acl,user_xattr 1 2
You have part 7 as ext4 in fstab vs btrfs
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Apache2 does NOT display site, does NOT error_log, DOES download the index.php to ~/Downloads SeaPhor Linux - Server 4 03-15-2018 02:20 PM
4MLinux 23.3 ISO does not boot, USB-stick does not boot waldmattis 4MLinux 8 02-04-2018 07:20 AM
Multi-disk, multi-boot system does not boot after fresh install anth0ny5 Linux - Software 8 08-17-2011 02:02 AM
GRUB2 - FreeBSD-8.0 does not show up in triple boot menu, dual boot menu it does.. wiliweld *BSD 7 05-03-2010 01:05 PM
SSH working from System A to System B but not from system B to System A bala150985 Linux - Networking 15 05-23-2009 08:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 03:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration