Qubes 3.1 builder - Which template/file do I add "nomodeset" to get it into the live ISO?

216 views
Skip to first unread message

anton...@gmail.com

unread,
Apr 19, 2016, 5:34:20 AM4/19/16
to qubes-users
Short problem description:
The laptop doesn't boot without "nomodeset" passed to the kernel.
This has normally been done by using tab in grub, but since Q3.1 the "chainloader" module is used (see xen.cfg).
The long term solution would be to do nouveau.modeset=0 I guess but "nomodeset" will do the trick for now.


Solution to non-bootable laptop:
If I could find where to add "nomodeset" before running "make iso" that would greatly help.

Thought it would be either of the two:

- ./qubes-src/linux-pvgrub2/grub-xen.cfg
- ./chroot-fc20/home/user/rpmbuild/BUILD/grub-2.02~beta2/grub-xen.cfg

But these are as you know the same boot options the user is promted with when editing via tab in the grub menu, and adding "nomodeset" to "multiboot" doesn't do anything.

Alos tried adding it to:

- /chroot-fc20/home/user/qubes-src/installer-qubes-os/lorax-templates-qubes/templates/live/config_files/x86/grub2-efi.cfg
- ./chroot-fc20/home/user/qubes-src/installer-qubes-os/lorax-templates-qubes/templates/live/config_files/x86/grub.conf

Without any luck.
So now I'm turning to the community for help, where do I add "nomodeset" prior to running "make iso" so that I can install Qubes 3.1?

Thanks in advance!

Lord Anton Hvornum

unread,
Apr 19, 2016, 5:52:07 AM4/19/16
to qubes-users

I should clarify that this is mainly related to UEFI boot, legacy still has the option to change kernel parameters on boot.


--
You received this message because you are subscribed to a topic in the Google Groups "qubes-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/qubes-users/2tJfQCs2Qf4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to qubes-users...@googlegroups.com.
To post to this group, send email to qubes...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/7b3bfca9-f72e-4c87-a97f-1cd414e91120%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Marek Marczykowski-Górecki

unread,
Apr 19, 2016, 7:25:48 AM4/19/16
to anton...@gmail.com, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
xen.cfg for Live image is created here:
https://github.com/QubesOS/qubes-installer-qubes-os/blob/master/livecd-creator-qubes
(qubes-builder/qubes-src/installer-qubes-os/livecd-creator-qubes)
Take a look "kernel=" line (line 93).
You need to rebuild installer-qubes-os after modification, then iso.

- --
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

iQEcBAEBCAAGBQJXFhW0AAoJENuP0xzK19csFgMH/j1CxsaOyPww+oS3pZDO34Rh
OIVRUQDYq3cz/yHLC6hxgtrEe00KFn4/fg2TvCQ2xinzb2OuehPkm71sqvBUIeQC
1NbX6uec/7Ns175pJhW532Ve/3jmrw/+VUHiHlSQV1Ax3Zy3+T5e6ADjuvrs1CWv
TfybvagDbYTNqIkoXP+PhXWe8Fv7uSxvQd2BhjB8OMlQvkLFN7AqxE+mrJIbj30S
E7k2O2a0cErOCzVdPuQuzb+Cwv/qtoELPeGuxO20AkicwQ1RwOoBwv1yuSC6s5hg
bev7az4A7tqNW8UEoAEJyrbg7CXQ/i5/cZYYRtA+bltlqr40Dg+Re4vBNQ+Z2Xw=
=TYw7
-----END PGP SIGNATURE-----

anton...@gmail.com

unread,
Apr 21, 2016, 6:33:24 AM4/21/16
to qubes-users, anton...@gmail.com
Sweet, that should do the trick.
Thanks for the quick reply!

Regarding top-posting, I get it.. But Google Inbox doesn't and there's no way to work around it with the app (that I know of).

raah...@gmail.com

unread,
Apr 22, 2016, 1:03:33 PM4/22/16
to qubes-users, anton...@gmail.com
I just go to https://groups.google.com/forum/#!topic/qubes-users/ and sign in with my google account.

raah...@gmail.com

unread,
Apr 22, 2016, 1:13:37 PM4/22/16
to qubes-users, anton...@gmail.com, raah...@gmail.com
oh crap I'm being baited with raspberry pi links now, google definitely knows lol.
Reply all
Reply to author
Forward
0 new messages