#diskfilter writes error, and how do I stop from having to press enter to start mint eve
93 messages · Page 1 of 1 (latest)
ok
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?
yes
it's just that on boot
unfortunately i don't know what any of this means
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
do i have to download it on sda? i only got 500 gb on there and i wanna download it on my 1tb hdd
which is sdb
it must be installed on the boot disk
no need for a reinstall, issue can solved by writing GRUB_SAVEDEFAULT=false on
/etc/default/grub
so i do this in the terminal? i
yes sudo nano /etc/default/grub
so do i just write it in or it exists somewhere
look for #GRUB_DEFAULT=0 under that add GRUB_SAVEDEFAULT=false
yes would probably work, just not when the disk layout itself prevents GRUB from functioning (like encrypted /boot or missing bootloader install).
all depends on what the "underlaying" error is.
i think you got this @brave tulip i'm gonna drop
Ok I did it
can I see the file?
send the output of cat /etc/default/grub
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"
great now do sudo update-grub
Done,
alright, i got one more thing to ask you
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
but you already have GRUB_TIMEOUT=0 that should skip the boot selection and boot into mint directly
Just rebooted, got the window ahain
And im getting the diskfilter error again
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
you didn't even write the stuff into the grub file
sudo xed /etc/default/grub
and make damn sure this is in there.
GRUB_SAVEDEFAULT=false
dont recommend nano to noobs for editing. tell them to use xed
nevermind, they did add it. just the formatting of text they pasted is shit
if dual boot, it will always show.
or u turned it on from System Administration
mb, that was easiest editor that popped in my head
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
i dont dual boot, and
"remember the last selected choice as the default?"
or the delay thing
.
Delay before booting? set it to 0?
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??
close that and show System Administration app
Do you want me to copy and paste it, changing the window doesn't make a change on the text
ok send the text fully
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.
run in terminal efibootmgr ; lsblk -o name,model,fstype,partuuid,mountpoint
all one line as quoted
efibootmgr ; lsblk -o name,model,fstype,partuuid,mountpoint
Done, do you want the output
maximize the terminal and show screenshot
sudo gnome-disks
both what?
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
he totally explained it right here
any news on this, @formal adder ?