Tell me please what config variations I must try in BOOTX64.cfg (or maybe somewhere else) to successfuly install Qubes?
Now with .iso (dd via Rufus) without any changes I got this problem:
https://drive.google.com/open?id=1y38UJKq1ucuZIKtvlHLFyMKbMhYO3VBo
Also tried different options in BOOTX64.cfg.
Example 1:
[qubes-verbose]
options=console=vga efi=no-rs
(here I changed 'efi=attr=uc' on efi=no-rs') and got this:
https://drive.google.com/open?id=1ms_p53vRnSMy7OTjYFuSBlMH2ULvypLh
Example 2:
[qubes]
options=console=none
kernel=vmlinuz inst.stage2=hd:LABEL=Qubes-R4.0.1-x86_64 i915.alpha_support=1 nouveau.modeset=0 quiet rhgb
ramdisk=initrd.img
(here I added 'nouveau.modeset=0') and got this:
https://drive.google.com/file/d/1zGI53XZ6f-8BoX28XueuuAmDQmFVf4FT/view
Maybe I missing something or doing something wrong?
Will appriciate to any help.
I got this information from here: https://www.engetsu-consulting.com/blog/installing-qubes-4-0-on-laptops-with-nvidia-gpus-that-do-not-support-the-nouveau-driver
And in my case VIM editor could not save any changes in .iso file.
Also I tried to change xen configuration directly in an .iso image from here: https://www.qubes-os.org/doc/uefi-troubleshooting/
My steps:
1. [user@dom0 Desktop]$ sudo parted Qubes-R4.0.1-x86_64.iso unit B print
Model: (file)
Disk /home/user/Desktop/Qubes-R4.0.1-x86_64.iso: 4693426176B
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
2 530432B 29591551B 29061120B primary fat16 esp
2. [user@dom0 Desktop]$ sudo losetup -o 524288 --sizelimit 30562304 /dev/loop13 Qubes-R4.0.1-x86_64.iso
3. [user@dom0 Desktop]$ sudo mount /dev/loop13 /mnt
mount: wrong fs type, bad option, bad superblock on /dev/loop13,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
[user@dom0 Desktop]$ sudo dmesg | tail
[ 1006.443849] audit: type=1106 audit(1551309604.284:192): pid=3760 uid=0 auid=1000 ses=2 msg='op=PAM:session_close grantors=pam_keyinit,pam_limits,pam_keyinit,pam_limits,pam_systemd,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/4 res=success'
[ 1006.443913] audit: type=1104 audit(1551309604.284:193): pid=3760 uid=0 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_env,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/4 res=success'
[ 1046.908659] audit: type=1123 audit(1551309644.748:194): pid=3777 uid=1000 auid=1000 ses=2 msg='cwd="/home/user/Desktop" cmd=6D6F756E74202F6465762F6C6F6F703133202F6D6E74 terminal=pts/4 res=success'
[ 1046.908881] audit: type=1110 audit(1551309644.749:195): pid=3777 uid=0 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_env,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/4 res=success'
[ 1046.911708] audit: type=1105 audit(1551309644.751:196): pid=3777 uid=0 auid=1000 ses=2 msg='op=PAM:session_open grantors=pam_keyinit,pam_limits,pam_keyinit,pam_limits,pam_systemd,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/4 res=success'
[ 1046.994127] audit: type=1106 audit(1551309644.834:197): pid=3777 uid=0 auid=1000 ses=2 msg='op=PAM:session_close grantors=pam_keyinit,pam_limits,pam_keyinit,pam_limits,pam_systemd,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/4 res=success'
[ 1046.994244] audit: type=1104 audit(1551309644.834:198): pid=3777 uid=0 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_env,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/4 res=success'
[ 1051.322813] audit: type=1123 audit(1551309649.163:199): pid=3785 uid=1000 auid=1000 ses=2 msg='cwd="/home/user/Desktop" cmd="dmesg" terminal=pts/4 res=success'
[ 1051.322918] audit: type=1110 audit(1551309649.163:200): pid=3785 uid=0 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_env,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/4 res=success'
[ 1051.324299] audit: type=1105 audit(1551309649.164:201): pid=3785 uid=0 auid=1000 ses=2 msg='op=PAM:session_open grantors=pam_keyinit,pam_limits,pam_keyinit,pam_limits,pam_systemd,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/4 res=success'
So I am stuck on the 3 step where I must mount the loop device. Actually i don't know do I need to do this, because I even don't know about success of this steps on the end. I just need to change some files in .iso image and I don't know how to do this. When I am just extracting and replace those files and packing back the .iso - it is new .iso which not works (I showed the screenshots in first message if this topic).
Could anybody help with this problem?
Ok, that's what I am doing step by step:
1. I write .iso via Rufus in DD mode.
2. When I am trying to open file BOOTX64.cfg:
[user@dom0 BOOT]$ sudo nano BOOTX64.cfg
I can't save any edits in files and after open nano editor I see this below:
[ File 'BOOTX64.cfg' is unwritable ]
What am I doing wrong?
In first step: "1. I write .iso via Rufus in DD mode." I already copied this files on USB. It means that when I open usb flash drive I see not .iso file, I see files and folders which I can't edit because it is not writable.
I don't know, maybe it is the problem of DD mode writing of .iso, but I tried
also usual .iso mode in Rufus and when I am changing anything then I got this:
https://drive.google.com/file/d/1zGI53XZ6f-8BoX28XueuuAmDQmFVf4FT/view - 8GB flash drive
https://drive.google.com/file/d/1ms_p53vRnSMy7OTjYFuSBlMH2ULvypLh/view - 1TB SSD drive
Or you mean another method of copy files to USB drive?
The file system on the USB stick is still ISO 9660 (not FAT or ext2 or NTFS). That file system does not support updates to files.
From wikipedia:
> ISO 9660 is by design a read-only, pre-mastered file system ... all the data has to be written in one go or "session" to the medium
In order to update files, you need to extract the tree to a file system that supports updating files, then remaster the image, then use that image to DD to the USB.
Brendan
If you:
a) use dd to image an iso onto a flash drive, you now have an iso 9660 file system. It's not meant to be written ad-hoc from mount in an OS.
If, instead, you:
b) extract the files from the ISO to an appropriate r/w file system partition on a flash drive (FAT, eFAT, ext3, NTFS) then you can add/modify/delete files to your heart's content.
However, with the latter approach, the mastered-for-ISO boot chain might only be expecting an ISO 9660 file system and therefore fail (in some cases) if it's not running off of one. Hence why there are often very detailed settings required to properly write some ISOs to flash drives and still end up with bootable media.
Brendan
Especially,
'Shahin Azad' who gave me this url-instruction: https://www.engetsu-consulting.com/blog/installing-qubes-4-0-on-laptops-with-nvidia-gpus-that-do-not-support-the-nouveau-driver
and
'0brand' who told me how to use this instruction in right way.
This is my steps:
1. I copied .iso-file to linux system.
2. Opened terminal and start command 'sudo su -'
3. 'chmod u+w /path/to/file.iso'
4. 'nano vim /path/to/file.iso'
5. Edit those lines which described in url: https://www.engetsu-consulting.com/blog/installing-qubes-4-0-on-laptops-with-nvidia-gpus-that-do-not-support-the-nouveau-driver
6. Saved file and write on flash drive in DD-mode.
I know, maybe this is not that easiest way, but this worked for me in my case.
I can open the .iso with "nano vim" but ultimately that doesn't get me to the config file /EFI/BOOT/BOOTX64.cfg that is described but not named in the following post.
I'm also rather concerned why there are two "Original Installer ISO" files described here. Why doesn't he just list the filenames?
I'm also having difficult saving files to the .iso