/boot -> kernel-default-5.3.18-lp152.87.1.x86_64 needs 30MB on the /boot filesystem

Hi Guys,

I am currently on a Opensuse 15.2 box and am doing a final os update before jumping to 15.3

However, upon zypper -v up, i get;



Installation of kernel-default-5.3.18-lp152.87.1.x86_64 failed:
Error:  Subprocess failed. Error: RPM failed:     installing package  kernel-default-5.3.18-lp152.87.1.x86_64 needs 30MB on the /boot  filesystem



site2:/boot# df -h

 

Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        7.9G  8.0K  7.9G   1% /dev
tmpfs           7.9G     0  7.9G   0% /dev/shm
tmpfs           7.9G  1.3M  7.9G   1% /run
tmpfs           7.9G     0  7.9G   0% /sys/fs/cgroup
/dev/sda2       394G  197G  178G  53% /
/dev/sda1       140M   47M   83M  36% /boot
/dev/sda4       2.9T  311M  2.7T   1% /home
/dev/sda5       4.0T  764G  3.1T  20% /san
tmpfs           1.6G     0  1.6G   0% /run/user/0

Note that  /boot still   has 83MB left ?

 

Also :/boot # ls -al

total 38786
drwxr-xr-x 5 root root 3072 Jun 26 17:08 .
drwxr-xr-x 25 root root 4096 Aug 20 13:44 …
-rw------- 1 root root 512 Aug 17 2017 backup_mbr
lrwxrwxrwx 1 root root 1 May 16 2020 boot → .
-rw-r–r-- 1 root root 1725 Aug 27 2020 boot.readme
-rw-r–r-- 1 root root 228390 Jun 2 14:56 config-5.3.18-lp152.78-default
drwxr-xr-x 2 root root 1024 Jun 26 16:25 grub
drwxr-xr-x 6 root root 1024 Aug 20 14:10 grub2
lrwxrwxrwx 1 root root 30 Jun 26 16:37 initrd → initrd-5.3.18-lp152.78-default
-rw------- 1 root root 11029392 Aug 20 14:10 initrd-5.3.18-lp152.78-default
drwx------ 2 root root 12288 Jan 29 2013 lost+found
-rw-r–r-- 1 root root 421376 Jun 26 16:24 message
-rw-r–r-- 1 root root 433390 Jun 2 15:41 symvers-5.3.18-lp152.78-default.gz
-rw-r–r-- 1 root root 484 Jun 2 15:41 sysctl.conf-5.3.18-lp152.78-default
-rw-r–r-- 1 root root 4611080 Jun 2 15:37 System.map-5.3.18-lp152.78-default
-rw-r–r-- 1 root root 13909092 Jun 2 15:46 vmlinux-5.3.18-lp152.78-default.gz
lrwxrwxrwx 1 root root 31 Jun 26 16:37 vmlinuz → vmlinuz-5.3.18-lp152.78-default
-rw-r–r-- 1 root root 9052336 Jun 2 16:41 vmlinuz-5.3.18-lp152.78-default
-rw-r–r-- 1 root root 65 Jun 2 16:41 .vmlinuz-5.3.18-lp152.78-default.hmac

So what can i do now ?
Any file that i can delete from above ?
My current kernel is 5.3.18-lp152.78-default

Or can i move the /boot partition into / ?
I am willing to try anything that doesnt involve me reformating the partition and re-installing.

Pls advise. Thanks.

Post:

zypper se -si kernel

Hi,

zypper se -si kernel




S  | Name                  | Type    | Version               | Arch   | Repository
---+-----------------------+---------+-----------------------+--------+-----------------------
i+ | kernel-default        | package | 4.12.14-lp151.28.36.1 | x86_64 | (System Packages)
i+ | kernel-default        | package | 5.3.18-lp152.78.1     | x86_64 | Main Update Repository
i  | kernel-firmware       | package | 20200107-lp152.2.6.1  | noarch | Main Update Repository
i  | purge-kernels-service | package | 0-lp152.5.3.1         | noarch | Main Update Repository



This is an old Leap 15.1 kernel, you can delete:

i+ | kernel-default        | package | 4.12.14-lp151.28.36.1 | x86_64 | (System Packages)

So you get some space…

I have removed that kernel … however previously ( few months ago ) i manually just deleted the 4.12.* files
as this same issue popped up …

Latest space is;



:/ # df -h

Filesystem      Size  Used Avail Use% Mounted on

devtmpfs        7.9G  8.0K  7.9G   1% /dev
tmpfs           7.9G     0  7.9G   0% /dev/shm
tmpfs           7.9G  1.3M  7.9G   1% /run
tmpfs           7.9G     0  7.9G   0% /sys/fs/cgroup
/dev/sda2       394G  196G  179G  53% /
/dev/sda1       140M   47M   83M  36% /boot
/dev/sda4       2.9T  311M  2.7T   1% /home
/dev/sda5       4.0T  764G  3.1T  20% /san
tmpfs           1.6G     0  1.6G   0% /run/user/0


Files in /boot are;

 

 ls -al /boot
total 38786

drwxr-xr-x  5 root root     3072 Jun 26 17:08 .
drwxr-xr-x 25 root root     4096 Aug 20 13:44 ..
-rw-------  1 root root      512 Aug 17  2017 backup_mbr
lrwxrwxrwx  1 root root        1 May 16  2020 boot -> .
-rw-r--r--  1 root root     1725 Aug 27  2020 boot.readme
-rw-r--r--  1 root root   228390 Jun  2 14:56 config-5.3.18-lp152.78-default
drwxr-xr-x  2 root root     1024 Jun 26 16:25 grub
drwxr-xr-x  6 root root     1024 Aug 20 15:12 grub2
lrwxrwxrwx  1 root root       30 Jun 26 16:37 initrd -> initrd-5.3.18-lp152.78-default
-rw-------  1 root root 11029336 Aug 20 15:06 initrd-5.3.18-lp152.78-default
drwx------  2 root root    12288 Jan 29  2013 lost+found
-rw-r--r--  1 root root   421376 Jun 26 16:24 message
-rw-r--r--  1 root root   433390 Jun  2 15:41 symvers-5.3.18-lp152.78-default.gz
-rw-r--r--  1 root root      484 Jun  2 15:41 sysctl.conf-5.3.18-lp152.78-default
-rw-r--r--  1 root root  4611080 Jun  2 15:37 System.map-5.3.18-lp152.78-default
-rw-r--r--  1 root root 13909092 Jun  2 15:46 vmlinux-5.3.18-lp152.78-default.gz
lrwxrwxrwx  1 root root       31 Jun 26 16:37 vmlinuz -> vmlinuz-5.3.18-lp152.78-default
-rw-r--r--  1 root root  9052336 Jun  2 16:41 vmlinuz-5.3.18-lp152.78-default
-rw-r--r--  1 root root       65 Jun  2 16:41 .vmlinuz-5.3.18-lp152.78-default.hmac

  

Can i remove the *.gz files ?

Run as root:

dracut -f
grub2-mkconfig -o /boot/grub2/grub.cfg

I have removed that kernel … however previously ( few months ago ) i manually just deleted the 4.12.* files
as this same issue popped up …

Please do not delete any files in /boot, your system is not updated after that.
Delete them in Yast2/zypper and all scripts will be done after that.



 Run as root:

dracut -f

Hi … dracut -f ran flawlessy … no issues… as shown below …



# dracut -f
dracut: Executing: /usr/bin/dracut -f
dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found!
dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found!
dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found!
dracut: *** Including module: bash ***
dracut: *** Including module: systemd ***
dracut: *** Including module: systemd-initrd ***
dracut: *** Including module: i18n ***
dracut: *** Including module: drm ***
dracut: *** Including module: plymouth ***
dracut: *** Including module: kernel-modules ***
dracut: *** Including module: kernel-modules-extra ***
dracut: *** Including module: resume ***
dracut: *** Including module: rootfs-block ***
dracut: *** Including module: suse-btrfs ***
dracut: *** Including module: suse-xfs ***
dracut: *** Including module: terminfo ***
dracut: *** Including module: udev-rules ***
dracut: Skipping udev rule: 40-redhat.rules
dracut: Skipping udev rule: 50-firmware.rules
dracut: Skipping udev rule: 50-udev.rules
dracut: Skipping udev rule: 91-permissions.rules
dracut: Skipping udev rule: 80-drivers-modprobe.rules
dracut: *** Including module: dracut-systemd ***
dracut: *** Including module: haveged ***
dracut: *** Including module: usrmount ***
dracut: *** Including module: base ***
dracut: *** Including module: fs-lib ***
dracut: *** Including module: shutdown ***
dracut: *** Including module: suse ***
dracut: *** Including module: suse-initrd ***
dracut: *** Including modules done ***
dracut: *** Installing kernel module dependencies ***
dracut: *** Installing kernel module dependencies done ***
dracut: *** Resolving executable dependencies ***
dracut: *** Resolving executable dependencies done ***
dracut: *** Hardlinking files ***
dracut: *** Hardlinking files done ***
dracut: *** Stripping files ***
dracut: *** Stripping files done ***
dracut: *** Generating early-microcode cpio image ***
dracut: *** Constructing GenuineIntel.bin ***
dracut: *** Store current command line parameters ***
dracut: Stored kernel commandline:
dracut:  resume=UUID=f8d4bbf4-cf91-462c-bc7d-4d52a9ac69a2
dracut:  root=UUID=9137078c-a96b-41b4-a87b-1361e8eaf8fb rootfstype=ext4 rootflags=rw,relatime
dracut: *** Creating image file '/boot/initrd-5.3.18-lp152.78-default' ***
dracut: *** Creating initramfs image file '/boot/initrd-5.3.18-lp152.78-default' done ***




grub2-mkconfig -o /boot/grub2/grub.cfg

The above command also ran flawlessly …as shown below…



 grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
Found theme: /boot/grub2/themes/openSUSE/theme.txt
Found linux image: /boot/vmlinuz-5.3.18-lp152.78-default
Found initrd image: /boot/initrd-5.3.18-lp152.78-default



However the error message on space still apears …as shown below…



# zypper -v up

Verbosity: 2
Initializing Target
Loading repository data...
Reading installed packages...
Force resolution: No

The following NEW package is going to be installed:
  kernel-default  5.3.18-lp152.87.1

The following package is going to be upgraded:
  libressl-devel  2.8.0-lp152.2.6 -> 3.3.3-lp152.3.3.1

The following package requires a system reboot:
  kernel-default  5.3.18-lp152.87.1

1 package to upgrade, 1 new.
Overall download size: 0 B. Already cached: 71.7 MiB. After the operation, additional 384.4 MiB will be used.

    Note: System reboot required.
Continue? [y/n/v/...? shows all options] (y): y
committing
In cache kernel-default-5.3.18-lp152.87.1.x86_64.rpm                                                                                                    (1/2),  71.5 MiB (384.3 MiB unpacked)
In cache libressl-devel-3.3.3-lp152.3.3.1.x86_64.rpm                                                                                                    (2/2), 238.9 KiB (  1.3 MiB unpacked)

Checking for file conflicts: ..........................................................................................................................................................[done]
(1/2) Installing: kernel-default-5.3.18-lp152.87.1.x86_64 ............................................................................................................................[error]
Installation of kernel-default-5.3.18-lp152.87.1.x86_64 failed:
Error: Subprocess failed. Error: RPM failed:     installing package kernel-default-5.3.18-lp152.87.1.x86_64 needs 30MB on the /boot filesystem

Abort, retry, ignore? [a/r/i] (a): 




Just wondering how much space does this new kernel need ? Note that /boot is

Filesystem Size Used Avail Use% Mounted on
/dev/sda1 140M 47M 83M 36% /boot

 kernel-default-5.3.18-lp152.87.1.x86_64 needs 30MB on the /boot filesystem  

Is my choice now to move
/boot ( /dev/sda1 )
into
/ ( /dev/sda2 ) ?

Any idea how i can do this ?

Also output of fdisk and gdisk shown below as well …



# fdisk -l

Disk /dev/sda: 7.3 TiB, 7995995979776 bytes, 15617179648 sectors
Disk model: AOC-USAS2LP-H8iR
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 95924660-E77A-4887-9B86-F64908AC5128

Device          Start         End    Sectors  Size Type
/dev/sda1        2048      305151     303104  148M EFI System
/dev/sda2      305152   839172095  838866944  400G Microsoft basic data
/dev/sda3   839172096   906274815   67102720   32G Microsoft basic data
/dev/sda4   906274816  7026606079 6120331264  2.9T Microsoft basic data
/dev/sda5  7026606080 15617177599 8590571520    4T Microsoft basic data






# gdisk -l /dev/sda 


GPT fdisk (gdisk) version 1.0.1

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 15617179648 sectors, 7.3 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 95924660-E77A-4887-9B86-F64908AC5128
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 15617179614
Partitions will be aligned on 2048-sector boundaries
Total free space is 4029 sectors (2.0 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048          305151   148.0 MiB   EF00  primary
   2          305152       839172095   400.0 GiB   0700  primary
   3       839172096       906274815   32.0 GiB    0700  primary
   4       906274816      7026606079   2.8 TiB     0700  primary
   5      7026606080     15617177599   4.0 TiB     0700  primary



Looking at the data above, could i just ;



# move /boot into root partition

mkdir /boot2
cp -avr /boot /boot2
umount /boot
rm -rf /boot
mv /boot2 /boot

# then rerun grub
dracut -f
grub2-mkconfig -o /boot/grub2/grub.cfg



What is not clear for me is the ‘MBR’ part ?
Do i have to mark the /dev/sda2 partition as boot capable ?
Or will grub2-mkconfig -o /boot/grub2/grub.cfg take care of that ?
Or must i run grub2-install /dev/sda2 ( root partition is /dev/sda2 ) AND THEN run grub2-mkconfig -o /boot/grub2/grub.cfg ?

I suspect fstab is not as it should be. Before suggesting how to move anything, more information is needed. Please show:

# lsblk -f
# tree -f /boot/
# cat /etc/fstab

Hi …



# lsblk -f

NAME   FSTYPE LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINT
sda                                                                     
├─sda1 ext4         4243f75b-3893-43f2-87dc-02096b4bb2c5   82.7M    33% /boot
├─sda2 ext4         9137078c-a96b-41b4-a87b-1361e8eaf8fb  178.1G    50% /
├─sda3 swap         f8d4bbf4-cf91-462c-bc7d-4d52a9ac69a2                [SWAP]
├─sda4 ext4         f6ec1830-b01e-4cec-a2e5-1b399e8ba6a4    2.7T     0% /home
└─sda5 ext4         dc639272-fe11-4ae7-a392-ea879f53dd0f      3T    19% /san


And …



# tree -f /boot


/boot
├── /boot/backup_mbr
├── /boot/boot -> .
├── /boot/boot.readme
├── /boot/config-5.3.18-lp152.78-default
├── /boot/grub
│   ├── /boot/grub/e2fs_stage1_5
│   ├── /boot/grub/fat_stage1_5
│   ├── /boot/grub/ffs_stage1_5
│   ├── /boot/grub/iso9660_stage1_5
│   ├── /boot/grub/jfs_stage1_5
│   ├── /boot/grub/minix_stage1_5
│   ├── /boot/grub/reiserfs_stage1_5
│   ├── /boot/grub/stage1
│   ├── /boot/grub/stage2
│   ├── /boot/grub/stage2.old
│   ├── /boot/grub/ufs2_stage1_5
│   ├── /boot/grub/vstafs_stage1_5
│   └── /boot/grub/xfs_stage1_5
├── /boot/grub2
│   ├── /boot/grub2/device.map
│   ├── /boot/grub2/device.map.new
│   ├── /boot/grub2/device.map.old
│   ├── /boot/grub2/fonts
│   │   └── /boot/grub2/fonts/unicode.pf2
│   ├── /boot/grub2/grub.cfg
│   ├── /boot/grub2/grubenv
│   ├── /boot/grub2/i386-pc
│   │   ├── /boot/grub2/i386-pc/acpi.mod
│   │   ├── /boot/grub2/i386-pc/adler32.mod
│   │   ├── /boot/grub2/i386-pc/affs.mod
│   │   ├── /boot/grub2/i386-pc/afs.mod
│   │   ├── /boot/grub2/i386-pc/ahci.mod
│   │   ├── /boot/grub2/i386-pc/all_video.mod
│   │   ├── /boot/grub2/i386-pc/aout.mod
│   │   ├── /boot/grub2/i386-pc/archelp.mod
│   │   ├── /boot/grub2/i386-pc/ata.mod
│   │   ├── /boot/grub2/i386-pc/at_keyboard.mod
│   │   ├── /boot/grub2/i386-pc/backtrace.mod
│   │   ├── /boot/grub2/i386-pc/bfs.mod
│   │   ├── /boot/grub2/i386-pc/biosdisk.mod
│   │   ├── /boot/grub2/i386-pc/bitmap.mod
│   │   ├── /boot/grub2/i386-pc/iorw.mod
│   │   ├── /boot/grub2/i386-pc/iso9660.mod
│   │   ├── /boot/grub2/i386-pc/jfs.mod
│   │   ├── /boot/grub2/i386-pc/jpeg.mod
│   │   ├── /boot/grub2/i386-pc/keylayouts.mod
│   │   ├── /boot/grub2/i386-pc/keystatus.mod
│   │   ├── /boot/grub2/i386-pc/ldm.mod
│   │   ├── /boot/grub2/i386-pc/legacycfg.mod
│   │   ├── /boot/grub2/i386-pc/legacy_password_test.mod
│   │   ├── /boot/grub2/i386-pc/linux16.mod
│   │   ├── /boot/grub2/i386-pc/linux.mod
│   │   ├── /boot/grub2/i386-pc/loadenv.mod
│   │   ├── /boot/grub2/i386-pc/loopback.mod
│   │   ├── /boot/grub2/i386-pc/lsacpi.mod
│   │   ├── /boot/grub2/i386-pc/lsapm.mod
│   │   ├── /boot/grub2/i386-pc/lsmmap.mod
│   │   ├── /boot/grub2/i386-pc/ls.mod
│   │   ├── /boot/grub2/i386-pc/lspci.mod
│   │   ├── /boot/grub2/i386-pc/luks.mod
│   │   ├── /boot/grub2/i386-pc/lvm.mod
│   │   ├── /boot/grub2/i386-pc/lzopio.mod
│   │   ├── /boot/grub2/i386-pc/macbless.mod
│   │   ├── /boot/grub2/i386-pc/macho.mod
│   │   ├── /boot/grub2/i386-pc/mda_text.mod
│   │   ├── /boot/grub2/i386-pc/mdraid09_be.mod
│   │   ├── /boot/grub2/i386-pc/mdraid09.mod
│   │   ├── /boot/grub2/i386-pc/mdraid1x.mod
│   │   ├── /boot/grub2/i386-pc/memdisk.mod
│   │   ├── /boot/grub2/i386-pc/memrw.mod
│   │   ├── /boot/grub2/i386-pc/minicmd.mod
│   │   ├── /boot/grub2/i386-pc/minix2_be.mod
│   │   ├── /boot/grub2/i386-pc/mpi.mod
│   │   ├── /boot/grub2/i386-pc/msdospart.mod
│   │   ├── /boot/grub2/i386-pc/mul_test.mod
│   │   ├── /boot/grub2/i386-pc/multiboot2.mod
│   │   ├── /boot/grub2/i386-pc/multiboot.mod
│   │   ├── /boot/grub2/i386-pc/nativedisk.mod
│   │   ├── /boot/grub2/i386-pc/net.mod
│   │   ├── /boot/grub2/i386-pc/newc.mod
│   │   ├── /boot/grub2/i386-pc/nilfs2.mod
│   │   ├── /boot/grub2/i386-pc/normal.mod
│   │   ├── /boot/grub2/i386-pc/ntfscomp.mod
│   │   ├── /boot/grub2/i386-pc/ntfs.mod
│   │   ├── /boot/grub2/i386-pc/ntldr.mod
│   │   ├── /boot/grub2/i386-pc/odc.mod
│   │   ├── /boot/grub2/i386-pc/offsetio.mod
│   │   ├── /boot/grub2/i386-pc/ohci.mod
│   │   ├── /boot/grub2/i386-pc/part_acorn.mod
│   │   ├── /boot/grub2/i386-pc/part_amiga.mod
│   │   ├── /boot/grub2/i386-pc/part_apple.mod
│   │   ├── /boot/grub2/i386-pc/part_bsd.mod
│   │   ├── /boot/grub2/i386-pc/part_dfly.mod
│   │   ├── /boot/grub2/i386-pc/part_dvh.mod
│   │   ├── /boot/grub2/i386-pc/part_gpt.mod
│   │   ├── /boot/grub2/i386-pc/partmap.lst
│   │   ├── /boot/grub2/i386-pc/part_msdos.mod
│   │   ├── /boot/grub2/i386-pc/part_plan.mod
│   │   ├── /boot/grub2/i386-pc/part_sun.mod
│   │   ├── /boot/grub2/i386-pc/part_sunpc.mod
│   │   ├── /boot/grub2/i386-pc/parttool.lst
│   │   ├── /boot/grub2/i386-pc/parttool.mod
│   │   ├── /boot/grub2/i386-pc/password.mod
│   │   ├── /boot/grub2/i386-pc/password_pbkdf2.mod
│   │   ├── /boot/grub2/i386-pc/pata.mod
│   │   ├── /boot/grub2/i386-pc/pbkdf2.mod
│   │   ├── /boot/grub2/i386-pc/pbkdf2_test.mod
│   │   ├── /boot/grub2/i386-pc/pcidump.mod
│   │   ├── /boot/grub2/i386-pc/pci.mod
│   │   ├── /boot/grub2/i386-pc/pgp.mod
│   │   ├── /boot/grub2/i386-pc/plan9.mod
│   │   ├── /boot/grub2/i386-pc/play.mod
│   │   ├── /boot/grub2/i386-pc/png.mod
│   │   ├── /boot/grub2/i386-pc/priority_queue.mod
│   │   ├── /boot/grub2/i386-pc/probe.mod
│   │   ├── /boot/grub2/i386-pc/procfs.mod
│   │   ├── /boot/grub2/i386-pc/progress.mod
│   │   ├── /boot/grub2/i386-pc/reboot.mod
│   │   ├── /boot/grub2/i386-pc/regexp.mod
│   │   ├── /boot/grub2/i386-pc/reiserfs.mod
│   │   ├── /boot/grub2/i386-pc/relocator.mod
│   │   ├── /boot/grub2/i386-pc/romfs.mod
│   │   ├── /boot/grub2/i386-pc/scsi.mod
│   │   ├── /boot/grub2/i386-pc/search_fs_file.mod
│   │   ├── /boot/grub2/i386-pc/search_fs_uuid.mod
│   │   ├── /boot/grub2/i386-pc/search_label.mod
│   │   ├── /boot/grub2/i386-pc/search.mod
│   │   ├── /boot/grub2/i386-pc/sendkey.mod
│   │   ├── /boot/grub2/i386-pc/serial.mod
│   │   ├── /boot/grub2/i386-pc/setjmp.mod
│   │   ├── /boot/grub2/i386-pc/setjmp_test.mod
│   │   ├── /boot/grub2/i386-pc/setpci.mod
│   │   ├── /boot/grub2/i386-pc/sfs.mod
│   │   ├── /boot/grub2/i386-pc/shift_test.mod
│   │   ├── /boot/grub2/i386-pc/signature_test.mod
│   │   ├── /boot/grub2/i386-pc/sleep.mod
│   │   ├── /boot/grub2/i386-pc/sleep_test.mod
│   │   ├── /boot/grub2/i386-pc/spkmodem.mod
│   │   ├── /boot/grub2/i386-pc/squash4.mod
│   │   ├── /boot/grub2/i386-pc/strtoull_test.mod
│   │   ├── /boot/grub2/i386-pc/syslinuxcfg.mod
│   │   ├── /boot/grub2/i386-pc/tar.mod
│   │   ├── /boot/grub2/i386-pc/terminal.lst
│   │   ├── /boot/grub2/i386-pc/terminal.mod
│   │   ├── /boot/grub2/i386-pc/terminfo.mod
│   │   ├── /boot/grub2/i386-pc/test_blockarg.mod
│   │   ├── /boot/grub2/i386-pc/testload.mod
│   │   ├── /boot/grub2/i386-pc/test.mod
│   │   ├── /boot/grub2/i386-pc/testspeed.mod
│   │   ├── /boot/grub2/i386-pc/tftp.mod
│   │   ├── /boot/grub2/i386-pc/tga.mod
│   │   ├── /boot/grub2/i386-pc/time.mod
│   │   ├── /boot/grub2/i386-pc/trig.mod
│   │   ├── /boot/grub2/i386-pc/tr.mod
│   │   ├── /boot/grub2/i386-pc/truecrypt.mod
│   │   ├── /boot/grub2/i386-pc/true.mod
│   │   ├── /boot/grub2/i386-pc/udf.mod
│   │   ├── /boot/grub2/i386-pc/ufs1_be.mod
│   │   ├── /boot/grub2/i386-pc/ufs1.mod
│   │   ├── /boot/grub2/i386-pc/ufs2.mod
│   │   ├── /boot/grub2/i386-pc/uhci.mod
│   │   ├── /boot/grub2/i386-pc/usb_keyboard.mod
│   │   ├── /boot/grub2/i386-pc/usb.mod
│   │   ├── /boot/grub2/i386-pc/usbms.mod
│   │   ├── /boot/grub2/i386-pc/usbserial_common.mod
│   │   ├── /boot/grub2/i386-pc/usbserial_ftdi.mod
│   │   ├── /boot/grub2/i386-pc/usbserial_pl2303.mod
│   │   ├── /boot/grub2/i386-pc/usbserial_usbdebug.mod
│   │   ├── /boot/grub2/i386-pc/usbtest.mod
│   │   ├── /boot/grub2/i386-pc/vbe.mod
│   │   ├── /boot/grub2/i386-pc/verifiers.mod
│   │   ├── /boot/grub2/i386-pc/vga.mod
│   │   ├── /boot/grub2/i386-pc/wrmsr.mod
│   │   ├── /boot/grub2/i386-pc/xfs.mod
│   │   ├── /boot/grub2/i386-pc/xnu.mod
│   │   ├── /boot/grub2/i386-pc/xnu_uuid.mod
│   │   ├── /boot/grub2/i386-pc/xnu_uuid_test.mod
│   │   ├── /boot/grub2/i386-pc/xzio.mod
│   │   ├── /boot/grub2/i386-pc/zfscrypt.mod
│   │   ├── /boot/grub2/i386-pc/zfsinfo.mod
│   │   ├── /boot/grub2/i386-pc/zfs.mod
│   │   └── /boot/grub2/i386-pc/zstd.mod
│   ├── /boot/grub2/locale
│   │   ├── /boot/grub2/locale/ast.mo
│   │   ├── /boot/grub2/locale/ca.mo
│   │   ├── /boot/grub2/locale/da.mo
│   │   ├── /boot/grub2/locale/de_CH.mo
│   │   ├── /boot/grub2/locale/de.mo
│   │   ├── /boot/grub2/locale/en@quot.mo
│   │   ├── /boot/grub2/locale/eo.mo
│   │   ├── /boot/grub2/locale/es.mo
│   │   ├── /boot/grub2/locale/fi.mo
│   │   ├── /boot/grub2/locale/fr.mo
│   │   ├── /boot/grub2/locale/gl.mo
│   │   ├── /boot/grub2/locale/hr.mo
│   │   ├── /boot/grub2/locale/hu.mo
│   │   ├── /boot/grub2/locale/id.mo
│   │   ├── /boot/grub2/locale/it.mo
│   │   ├── /boot/grub2/locale/ja.mo
│   │   ├── /boot/grub2/locale/ko.mo
│   │   ├── /boot/grub2/locale/lt.mo
│   │   ├── /boot/grub2/locale/nb.mo
│   │   ├── /boot/grub2/locale/nl.mo
│   │   ├── /boot/grub2/locale/pa.mo
│   │   ├── /boot/grub2/locale/pl.mo
│   │   ├── /boot/grub2/locale/pt_BR.mo
│   │   ├── /boot/grub2/locale/ru.mo
│   │   ├── /boot/grub2/locale/sl.mo
│   │   ├── /boot/grub2/locale/sr.mo
│   │   ├── /boot/grub2/locale/sv.mo
│   │   ├── /boot/grub2/locale/tr.mo
│   │   ├── /boot/grub2/locale/uk.mo
│   │   ├── /boot/grub2/locale/vi.mo
│   │   ├── /boot/grub2/locale/zh_CN.mo
│   │   └── /boot/grub2/locale/zh_TW.mo
│   └── /boot/grub2/themes
│       └── /boot/grub2/themes/openSUSE
│           ├── /boot/grub2/themes/openSUSE/ascii.pf2
│           ├── /boot/grub2/themes/openSUSE/COPYING.CC-BY-SA-3.0
│           ├── /boot/grub2/themes/openSUSE/DejaVuSans10.pf2
│           ├── /boot/grub2/themes/openSUSE/DejaVuSans12.pf2
│           ├── /boot/grub2/themes/openSUSE/DejaVuSans-Bold14.pf2
│           ├── /boot/grub2/themes/openSUSE/highlight_c.png
│           ├── /boot/grub2/themes/openSUSE/logo.png
│           ├── /boot/grub2/themes/openSUSE/README
│           ├── /boot/grub2/themes/openSUSE/slider_c.png
│           ├── /boot/grub2/themes/openSUSE/slider_n.png
│           ├── /boot/grub2/themes/openSUSE/slider_s.png
│           └── /boot/grub2/themes/openSUSE/theme.txt
├── /boot/initrd -> initrd-5.3.18-lp152.78-default
├── /boot/initrd-5.3.18-lp152.78-default
├── /boot/lost+found
├── /boot/message
├── /boot/symvers-5.3.18-lp152.78-default.gz
├── /boot/sysctl.conf-5.3.18-lp152.78-default
├── /boot/System.map-5.3.18-lp152.78-default
├── /boot/vmlinux-5.3.18-lp152.78-default.gz
├── /boot/vmlinuz -> vmlinuz-5.3.18-lp152.78-default
└── /boot/vmlinuz-5.3.18-lp152.78-default





And …




# cat /etc/fstab


/dev/disk/by-id/scsi-3600e01800013ca40189abfbd3439b25c-part3 swap                 swap       defaults              0 0
/dev/disk/by-id/scsi-3600e01800013ca40189abfbd3439b25c-part2 /                    ext4       acl,user_xattr        1 1
/dev/disk/by-id/scsi-3600e01800013ca40189abfbd3439b25c-part1 /boot                ext4       acl,user_xattr        1 2
/dev/disk/by-id/scsi-3600e01800013ca40189abfbd3439b25c-part5 /san                 ext4       acl,user_xattr        1 2
/dev/disk/by-id/scsi-3600e01800013ca40189abfbd3439b25c-part4 /home                ext4       acl,user_xattr        1 2






Ignore the “‘MBR’ part”.

Before doing any moving, remove the /boot entry/line from fstab. Then do #s 1-5.

For #2 I use rsync so I can exclude lost+found.

After #5, finish with YaST bootloader to handle the Grub issues.

I can’t think of any need to run dracut.

When finished, sda1 stands ready to facilitate a conversion to UEFI by reformatting VFAT if it’s ever desired to convert. It already has the correct partition ID EF00. The others all have type NTFS (0700) rather than Linux (8300 or 8200).

Hi …

Ok.

How do i select /dev/sda2 to be the boot partition ?

Noted.

Once, i execute the steps above, /dev/sda1 is no longer used ?
It should be booting of /dev/sda2 ( the new /boot ) ? Yes ?

It’s a Grub (bootloader) issue. Open YaST bootloader. Select it, if YaST didn’t already divine and preselect it from your fstab change.

Once, i execute the steps above, /dev/sda1 is no longer used ?
I thought I already made that clear. :stuck_out_tongue:

It should be booting of /dev/sda2 ( the new /boot ) ? Yes ?
Yes. YaST is smart about these things. YaST was designed to be an(other) OS installer as well as a Setup Tool.

Thanks to All of of You for the assistance provided.
Its much appreciated.

I executed the following and the reboot was flawless.

rebooted the machine once before doing the changes below…

then commented the line containing ‘/boot’ in /etc/fstab

took note of the disk-id of the root partition /dev/sda2

for verfication later in grub.cfg

Next, moved /boot into root partition

  1. mkdir /boot2
  2. cp -avr /boot /boot2
  3. umount /boot
  4. rmdir /boot
  5. mv /boot2 /boot

then reran grub

  1. dracut -f
  2. grub2-mkconfig -o /boot/grub2/grub.cfg

verified that the above disk-id of /dev/sda2 was in the grub.cfg.

rebooted and was able to do ‘zypper -v up’ along with the kernel update properly.

Once again … Thanks All.