Edit /etc/default/grub

These are my entries for the above -

GRUB_DEFAULT="0"
GRUB_TIMEOUT="5"
GRUB_DISTRIBUTOR="`( . /etc/os-release && echo ${NAME} )`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet mitigations=off ipv6.disable=1 net.ifnames=0 transparent_hugepage=never systemd.gpt_auto=no"
GRUB_CMDLINE_LINUX=""

Do NOT forget to run "update-grub" if you change any entries in the abovementioned file.

I run Debian.

On 16.07.2026 15:15, Rick Troth wrote:

Here's hoping this helps.
I've run IPv6 for several years, even some IPv6-only, but (contrary to what seems to be the norm in IPv6 land) I hard-code fixed IPv6 addresses.

Now ... I have NOT experienced what you describe: a hang while waiting for a DHCPv6 lease. (when booting installation/recovery media) Never the less, we should try what you mention: explicitly turn OFF IPv6.

GRUB offers an edit function.
You should be able to edit the boot parm line before letting GRUB loose to proceed. But I expect the token you want would NOT contain blanks, so maybe "ipv6_disable=1"?
(or possibly "ipv6-disable=1" or "ipv6disable=1")

I see that Jeremy cited some Debian discussions. That might help too.

Also look for "rescue" or "rescue shell" as an option from the boot menu. (If that doesn't lead to the forever wait mentioned above.)

-- R; <><

On 7/15/26 4:57 PM, Steve Thompson wrote:

I am trying to recover a NAS based on Debian/OMV.

I have been reading various Linux explanations on how to write a grub config file.

I have two different thumb drives one with OMV install and another with Mint.

I need to tell Debian 13 (Trixie) to NOT use IPV6.

I can't figure out where to put this string, which kills IPV6 for Debian:

ipv6 disable =1 ---- (or something close to this)

Now you may ask why -- I run pfsense and I did not configure DHCP6.

I could, but from all I've been told, one keeps servers on/with IPV4 and static addresses (which I have been doing for years).

So during the install, the system decides to try to communicate with DHCP6 and then hangs (too bad these systems have no idea about missing interrupt. Which I think I will suggest to the Debian people -- what a concept.

Meanwhile if anyone knows the incantation to put the above into the boot loader (GRUB2 in this case) from the keyboard (and I am not running terminal mode at this early stage of the game so I can't sudo.... arg!!

Regards,
Steve Thompson

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

"Aut viam inveniam aut faciam" - Hannibal.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to