You are not logged in.
One of the first things I do on a fresh install is to disable ipv6 using Grub by doing this:
Open /etc/default/grub as administrator. Find the line:
GRUB_CMDLINE_LINUX=""
and change it to:
GRUB_CMDLINE_LINUX="ipv6.disable=1"
Then in terminal run:
sudo update-grub
But when I go there I see this, something I've never seen before:
GRUB_CMDLINE_LINUX="initrd=/install/gtk/initrd.gz"
What does this do? I've searched it, but what I've read seems to be above my pay grade. And how can I add "ipv6.disable=1"? Should I overwrite "initrd=/install/gtk/initrd.gz" or just add "ipv6.disable=1" after/before it?
Last edited by Ron (2023-12-25 00:42:34)
Offline
Is there a /install/gtk/initrd.gz in your / or /boot ? If there's a /initrd.img on your system is it a symlink to somewhere?
I'm not an expert, but I know that the system loads an initrd.img early in boot processing (possibly compressed). So I'd expect that entry to point to the one the system should use. So removing that entry might stop your system booting.
Does your /etc/default/grub say anything like:
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
If so try that.
Offline
Here's what I see in / and /boot. What do I do with info -f grub -n 'Simple configuration'? I tried that in the terminal and nothing happened (sorry for my ignorance).
Offline
I'm beginning to wonder if it's even worth it to disable it. What could (theoretically) happen leaving it enabled?
Offline
What's the reason you want to disable ipv6?
Offline
I disable ipv6 the same way for my vpn.
But I don't have that other reference to an image.
you could comment (#) the reference and put the ipv6 command before the initrd...
initrd is supposed to speed up the loading of the kernel, and it does a little bit.
If it breaks you system-boot, then re-edit and try again.
All the best.
Last edited by GlennW (2023-12-24 23:27:07)
pic from 1993, new guitar day.
Offline
I disabled it by running these 2 commands in the terminal:
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
That's easier than messing with grub. (FTR, I found this here.)
Last edited by Ron (2023-12-25 00:43:57)
Offline
i like to see my grub menu when booting and so i have it visible and with a short delay before automatically booting
on some systems you use "tab" and others "e"(for-edit) to view and/or change/edit your current grub settings(non-persistent)
on a fresh install, sometimes there is no /etc/default/grub so it is necessary to copy the one stored at /usr/share/grub/default/ and then to edit it as necessary(don't forget to save your changes and to do a "sudo update-grub" for persistence)
my usual grub edits are to remove "quiet" and to add "ipv6.disable=1"
also, to reference the
GRUB_CMDLINE_LINUX="initrd=/install/gtk/initrd.gz"
a DDG search had this as one result:
ttps://lists.debian.org/debian-user/2015/10/msg00161.html
(and our thread was the next result right below it...lol!)
ttps://dev1galaxy.org/viewtopic.php?id=6281
Be Excellent to each other and Party On!
https://www.youtube.com/watch?v=rph_1DODXDU
https://en.wikipedia.org/wiki/Bill_%26_Ted%27s_Excellent_Adventure
Do unto others as you would have them do instantaneously back to you!
Offline