Fresh R3.2 install, no /etc/default/grub

57 views
Skip to first unread message

dmoe...@gmail.com

unread,
Nov 15, 2016, 3:30:44 PM11/15/16
to qubes-users
Hi,

I just completed a fresh R3.2 install on a Lenovo X1 Carbon 3rd generation (20BSCT01WW). Thanks to all the devs for their amazing work on this release. So far as I can tell, everything works out of the box. (One of my favorite features is the ease of implementing VM-by-VM VPNs.)

I want to enable TRIM for the SSD, following https://www.qubes-os.org/doc/disk-trim/. However, there is no /etc/default/grub in dom0. I realized that grub2-tools is supposed to provide /etc/default/grub and grub2-mkconfig. So I installed that in dom0. But there is still nothing in /etc/default/grub. Where can I find the default /etc/default/grub file?

Thanks for any help you might be able to provide, I hope to pass it on in the future to other users.

Best,
Daniel

Marek Marczykowski-Górecki

unread,
Nov 15, 2016, 3:48:23 PM11/15/16
to dmoe...@gmail.com, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
I guess you have installed the system in UEFI mode. In that case, kernel
parameters are in /boot/efi/EFI/qubes/xen.cfg.

- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJYK3SPAAoJENuP0xzK19csnegH/iEE/W0XJMQEi5WgFQFVzHKM
1xWxGpdHgRKbTWWTHxoTm7yN6GHCDLoVOVtK4jlVjo+PMGOqUDZ5gKYhIiZhWnAs
zoS1B/1v4hAHJrzbhXt9akQ2WcifTqBdU+czsP4+mUOJiiZrbATnnJrdRtEPdeLt
NnoIGA9+pHtZjQfFGyeYAVO3d8n47+z0TSD1TGH9pGYzWU+8XhY+ryOs5cOUv3XJ
qfLAd1RK6NfIMlNNK9fuUC7KOTDfK1ePLiwQFkQkdusUyyS8FJn/oTHyAAV0d6N1
hFTOLPS6LuckDJsLOZYLtUlzgdBuF9dN4GY7lslB4AIL5cy5i3R2AufmHQ7hIQw=
=U9KN
-----END PGP SIGNATURE-----

Daniel Moerner

unread,
Nov 15, 2016, 4:18:48 PM11/15/16
to Marek Marczykowski-Górecki, qubes-users
On Tue, Nov 15, 2016 at 3:48 PM, Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com> wrote:
> I guess you have installed the system in UEFI mode. In that case, kernel
> parameters are in /boot/efi/EFI/qubes/xen.cfg.

Hi Marek,

Thank you for the quick response. That hint and a bit more searching helped me find this earlier discussion on the mailing list: https://groups.google.com/forum/#!msg/qubes-users/KTRlrc9vC1U/ajxXQtBPBAAJ

Editing xen.cfg and then relocating the initramfs produced by dracut solved the problem. Perhaps someone with permission could add a link to that discussion to the wiki page.

Thanks!
Daniel
Reply all
Reply to author
Forward
0 new messages