mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2025-10-15 03:50:42 -04:00
Merge branch 'code_block_prompts_full' into rst
This commit is contained in:
commit
ff68e782c8
30 changed files with 98 additions and 97 deletions
|
@ -70,7 +70,7 @@ It helps to run the following command:
|
|||
|
||||
.. code:: console
|
||||
|
||||
nslookup security.debian.org
|
||||
$ nslookup security.debian.org
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -127,7 +127,7 @@ To fix this issue:
|
|||
|
||||
.. code:: console
|
||||
|
||||
fuser -m /home
|
||||
$ fuser -m /home
|
||||
|
||||
|
||||
|
||||
|
@ -139,9 +139,9 @@ Kill these process until they are all gone using ``kill <process ID>``.
|
|||
|
||||
.. code:: console
|
||||
|
||||
umount /home
|
||||
fsck /dev/xvdb
|
||||
resize2fs /dev/xvdb
|
||||
$ umount /home
|
||||
$ fsck /dev/xvdb
|
||||
$ resize2fs /dev/xvdb
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ If this solves the problem then you will want to make the change permanent:
|
|||
|
||||
.. code:: console
|
||||
|
||||
grub2-mkconfig --output=/boot/grub2/grub.cfg
|
||||
$ grub2-mkconfig --output=/boot/grub2/grub.cfg
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -13,9 +13,9 @@ To change this allocation, edit VM’s kernel parameters (this is expressed in 5
|
|||
|
||||
.. code:: console
|
||||
|
||||
# qvm-prefs netvm |grep kernelopts
|
||||
$ qvm-prefs netvm |grep kernelopts
|
||||
kernelopts : iommu=soft swiotlb=2048 (default)
|
||||
# qvm-prefs -s netvm kernelopts "iommu=soft swiotlb=8192"
|
||||
$ qvm-prefs -s netvm kernelopts "iommu=soft swiotlb=8192"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ Successfully installed in legacy mode, but had to change some xen parameters
|
|||
|
||||
.. code:: console
|
||||
|
||||
vi EFI/BOOT/grub.cfg
|
||||
$ vi EFI/BOOT/grub.cfg
|
||||
|
||||
3. Change the ``multiboot2 /images/pxeboot/xen.gz`` line to add your xen parameters on the boot entry of your choice
|
||||
|
||||
|
@ -54,7 +54,7 @@ Some Dell systems and probably others have `another bug in UEFI firmware <https:
|
|||
|
||||
.. code:: console
|
||||
|
||||
sed -i -e 's/ucode=scan/\0 efi=attr=uc/' /mnt/sysimage/boot/efi/EFI/qubes/grub.cfg
|
||||
$ sed -i -e 's/ucode=scan/\0 efi=attr=uc/' /mnt/sysimage/boot/efi/EFI/qubes/grub.cfg
|
||||
|
||||
4. Go back to ``tty6`` (Ctrl-Alt-F6) and click ``Reboot``.
|
||||
|
||||
|
@ -70,7 +70,7 @@ Or if you have already rebooted after the first stage install and have encounter
|
|||
|
||||
.. code:: console
|
||||
|
||||
fdisk -l /dev/sda | grep EFI
|
||||
$ fdisk -l /dev/sda | grep EFI
|
||||
|
||||
The output should look like this:
|
||||
|
||||
|
@ -82,14 +82,14 @@ Or if you have already rebooted after the first stage install and have encounter
|
|||
|
||||
.. code:: console
|
||||
|
||||
mkdir -p /mnt/sysimage/boot/efi
|
||||
mount /dev/sda1 /mnt/sysimage/boot/efi
|
||||
$ mkdir -p /mnt/sysimage/boot/efi
|
||||
$ mount /dev/sda1 /mnt/sysimage/boot/efi
|
||||
|
||||
4. Execute:
|
||||
|
||||
.. code:: console
|
||||
|
||||
sed -i -e 's/ucode=scan/\0 efi=attr=uc/' /mnt/sysimage/boot/efi/EFI/qubes/grub.cfg
|
||||
$ sed -i -e 's/ucode=scan/\0 efi=attr=uc/' /mnt/sysimage/boot/efi/EFI/qubes/grub.cfg
|
||||
|
||||
5. Type ``reboot``.
|
||||
|
||||
|
@ -108,7 +108,7 @@ Some firmware will not recognize the default Qubes EFI configuration. As such, i
|
|||
|
||||
.. code:: console
|
||||
|
||||
fdisk -l /dev/sda | grep EFI
|
||||
$ fdisk -l /dev/sda | grep EFI
|
||||
|
||||
The output should look like this:
|
||||
|
||||
|
@ -120,8 +120,8 @@ Some firmware will not recognize the default Qubes EFI configuration. As such, i
|
|||
|
||||
.. code:: console
|
||||
|
||||
mkdir -p /mnt/sysimage/boot/efi
|
||||
mount /dev/sda1 /mnt/sysimage/boot/efi
|
||||
$ mkdir -p /mnt/sysimage/boot/efi
|
||||
$ mount /dev/sda1 /mnt/sysimage/boot/efi
|
||||
|
||||
4. Copy ``grubx64.efi`` to the fallback path:
|
||||
|
||||
|
@ -142,7 +142,7 @@ Some firmware will not recognize the default Qubes EFI configuration. As such, i
|
|||
|
||||
.. code:: console
|
||||
|
||||
efibootmgr -v -c -u -L Qubes -l /EFI/qubes/grubx64.efi -d /dev/sda -p 1
|
||||
$ efibootmgr -v -c -u -L Qubes -l /EFI/qubes/grubx64.efi -d /dev/sda -p 1
|
||||
|
||||
Accessing installer Rescue mode on UEFI
|
||||
---------------------------------------
|
||||
|
|
|
@ -75,9 +75,9 @@ One solution is to add a dummy interface to allow the package to install correct
|
|||
|
||||
.. code:: console
|
||||
|
||||
ip link add d0 type dummy
|
||||
ip addr add 192.168.0.1/24 dev d0
|
||||
ip link set d0 up
|
||||
$ ip link add d0 type dummy
|
||||
$ ip addr add 192.168.0.1/24 dev d0
|
||||
$ ip link set d0 up
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue