Project

General

Profile

Actions

action #73465

closed

/etc/default/grub missed if rootfs<>btrfs

Added by EDV_Lotse over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bug
Target version:
Start date:
2020-10-17
Due date:
% Done:

100%

Estimated time:

Description

Wegen einen Tippfehler (grub2.nobtrfs statt grub.nobtrfs) bleibt die Datei /etc/defaults/grub leer, deswegen fehlen im grub2.cfg manche Sachen.

Actions #1

Updated by EDV_Lotse over 3 years ago

  • % Done changed from 0 to 90
  1. grub2.nobtrfs ==> grub.nobtrfs
  2. /etc/default/grub.zfs
  3. Modify check-Script:

A)
rootfs=cat /etc/fstab | grep "/\s"|tr -s " "|cut -d " " -f3
==>
rootfs=mount | grep "/\s" | tr -s " " | cut -d " " -f5

B)
if [[ $rootfs == "btrfs" ]]
...
==>
case $rootfs in
...

Actions #2

Updated by EDV_Lotse over 3 years ago

  • % Done changed from 90 to 100

Testing is OK.

Actions #3

Updated by EDV_Lotse over 3 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF