#diskfilter writes error, and how do I stop from having to press enter to start mint eve

93 messages · Page 1 of 1 (latest)

formal adder
#

Plz.

#

@stiff sky

stiff sky
#

ok

brave tulip
#

first can I get the full error of disk filter?
second wdym having to press enter eve?
im guessing it got cutoff

#

is the error something like this similar to this:

error: diskfilter writes are not supported?

brave tulip
#

do you have an encrypted volume?

#

or even LVM, RAID volumes?

formal adder
#

unfortunately i don't know what any of this means

crisp inlet
#

that would be my guess.
Diskfilter error during Linux Mint boot means GRUB is trying to write to a disk setup it cannot write to—usually because the system uses LVM, RAID, encryption, or certain filesystems, and GRUB’s “save environment” feature isn’t allowed to write there

1. Update your system

sudo apt update && sudo apt upgrade

2. Ensure GRUB is installed to the correct device

(example: install to /dev/sda — NOT an LVM volume)

sudo grub-install /dev/sda

3. Reinstall GRUB properly (Live USB method)

Boot Mint Live USB → mount system → chroot → reinstall GRUB

(sdXn is an placeholer, you need to change to your real path/partition)
sudo mount /dev/sdXn /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt
grub-install /dev/sda
update-grub

formal adder
#

which is sdb

crisp inlet
#

it must be installed on the boot disk

brave tulip
formal adder
#

so i do this in the terminal? i

brave tulip
#

yes sudo nano /etc/default/grub

formal adder
#

so do i just write it in or it exists somewhere

brave tulip
#

look for #GRUB_DEFAULT=0 under that add GRUB_SAVEDEFAULT=false

crisp inlet
formal adder
#

Ok I did it

brave tulip
#

send the output of cat /etc/default/grub

formal adder
# brave tulip can I see the file?

If you change this file, run 'update-grub' afterwards to update

/boot/grub/grub.cfg.

For full documentation of the options in this file, see:

info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_SAVEDEFAULT=false
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

If your computer has multiple operating systems installed, then you

probably want to run os-prober. However, if your computer is a host

for guest OSes installed via LVM or raw disk devices, running

os-prober can cause damage to those guest OSes as it mounts

filesystems to look for things.

#GRUB_DISABLE_OS_PROBER=false

Uncomment to enable BadRAM filtering, modify to suit your needs

This works with Linux (no patch required) and with any kernel that obtains

the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)

#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

Uncomment to disable graphical terminal

#GRUB_TERMINAL=console

The resolution used on graphical terminal

note that you can use only modes which your graphic card supports via VBE

you can see them in real GRUB with the command `vbeinfo'

#GRUB_GFXMODE=640x480

Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux

#GRUB_DISABLE_LINUX_UUID=true

Uncomment to disable generation of recovery mode menu entries

#GRUB_DISABLE_RECOVERY="true"

Uncomment to get a beep at grub start

#GRUB_INIT_TUNE="480 440 1"

brave tulip
#

great now do sudo update-grub

formal adder
#

Done,

brave tulip
#

restart and see if the error is still there

#

@formal adder status report

formal adder
#

when i boot, how can i get rid of "boot linux mint"

#

i just want it to automatically boot, without being given the window to make choices

brave tulip
formal adder
#

And im getting the diskfilter error again

brave tulip
#

disable recordfail, sudo nano /etc/grub.d/00_header

#

find set recordfail=1 and add a # in the beginning so it would like #set recordfail=1

#

then sudo update-grub

alpine copper
#

sudo xed /etc/default/grub

and make damn sure this is in there.
GRUB_SAVEDEFAULT=false

alpine copper
#

nevermind, they did add it. just the formatting of text they pasted is shit

alpine copper
#

or u turned it on from System Administration

brave tulip
alpine copper
#

i'd say to @formal adder to show the result via SCREENSHOT, from a wide terminal the result of lsblk -f to see what the heck's going on with their disk and partitions/filesystems

formal adder
alpine copper
#

turn second switch off.

#

ur cancelling out the edit u made by leaving it on

formal adder
alpine copper
formal adder
alpine copper
#

delay put to 5

#

it wont matter anyway because top switch is off

#

TURN ALL SWITCHES OFF!

#

ffs

#

do you KNOW WHAT A SWITCH LOOKS LIKE??

formal adder
#

Uhh @alpine copper

alpine copper
#

sudo xed /etc/default/grub

#

maximize it and show.

formal adder
alpine copper
#

close that and show System Administration app

formal adder
alpine copper
#

move that window out of the way

#

show the main

formal adder
alpine copper
#

show the small window

#

but make it very big

formal adder
#

Do you want me to copy and paste it, changing the window doesn't make a change on the text

alpine copper
#

ok send the text fully

formal adder
#

Running update-grub...

Sourcing file /etc/default/grub' Sourcing file /etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/98_mintsysadm.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.17.0-29-generic
Found initrd image: /boot/initrd.img-6.17.0-29-generic
Found linux image: /boot/vmlinuz-6.14.0-37-generic
Found initrd image: /boot/initrd.img-6.14.0-37-generic
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmware Settings ...
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 69
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.

alpine copper
#

run in terminal efibootmgr ; lsblk -o name,model,fstype,partuuid,mountpoint

#

all one line as quoted

#

efibootmgr ; lsblk -o name,model,fstype,partuuid,mountpoint

formal adder
#

Done, do you want the output

alpine copper
#

maximize the terminal and show screenshot

formal adder
alpine copper
#

sudo gnome-disks

formal adder
alpine copper
#

nevermind. just reboot

#

idk what that thing was. the OS PROBER

formal adder
#

Just rebooted

#

Still getting them both

alpine copper
#

both what?

formal adder
#

The choice menu and diskfilter error

#

@alpine copper Am I cooked

alpine copper
#

idk what ur talking about

#

show photographs of both

#

if it's easy enough, just reinstall Mint. and DONT choose LVM

#

else you're on ur own for that

alpine copper
alpine copper
#

any news on this, @formal adder ?