Re: [qubes-users] Re: Oryx Pro laptop (BOOTX64.cfg for Qubes 4.0.1)

2019-02-28 Thread brendan . hoar
On Thursday, February 28, 2019 at 5:30:38 PM UTC-5, awokd wrote:
> br@gmail.com wrote on 2/28/19 3:33 PM:
> >  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.
> > 
> Thought I was able to edit them directly on the USB drive in the past. 
> Has that changed, or am I confused?

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

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/00011ddc-62fb-4f84-a86f-30b69baa3289%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: Oryx Pro laptop (BOOTX64.cfg for Qubes 4.0.1)

2019-02-28 Thread 'awokd' via qubes-users

brendan.h...@gmail.com wrote on 2/28/19 3:33 PM:

On Thursday, February 28, 2019 at 9:26:31 AM UTC-5, Daniil Travnikov wrote:

On Thursday, February 28, 2019 at 9:04:05 AM UTC-5, unman wrote:

You are trying to write to an iso file, which is a read only file
system. (It's an image of a CD/DVD)

As awokd has suggested, you need to copy the files to a USB drive, or
similar, and edit them there. Then create a new iso image and boot from
that.


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.


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

Thought I was able to edit them directly on the USB drive in the past. 
Has that changed, or am I confused?


--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/bd25d37d-33b4-f469-8883-a1a5fb48ea30%40danwin1210.me.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: Oryx Pro laptop (BOOTX64.cfg for Qubes 4.0.1)

2019-02-28 Thread brendan . hoar
On Thursday, February 28, 2019 at 9:26:31 AM UTC-5, Daniil Travnikov wrote:
> On Thursday, February 28, 2019 at 9:04:05 AM UTC-5, unman wrote:
> > You are trying to write to an iso file, which is a read only file
> > system. (It's an image of a CD/DVD)
> > 
> > As awokd has suggested, you need to copy the files to a USB drive, or
> > similar, and edit them there. Then create a new iso image and boot from
> > that.
> 
> 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.

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

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/78f07037-c70c-4213-9e9e-e2eec849ffe9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: Oryx Pro laptop (BOOTX64.cfg for Qubes 4.0.1)

2019-02-28 Thread Daniil Travnikov
On Thursday, February 28, 2019 at 9:04:05 AM UTC-5, unman wrote:
> You are trying to write to an iso file, which is a read only file
> system. (It's an image of a CD/DVD)
> 
> As awokd has suggested, you need to copy the files to a USB drive, or
> similar, and edit them there. Then create a new iso image and boot from
> that.

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?

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/d17b3cbb-ae64-4ac0-93ff-665ff987db78%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: Oryx Pro laptop (BOOTX64.cfg for Qubes 4.0.1)

2019-02-28 Thread unman
On Thu, Feb 28, 2019 at 02:18:57AM -0800, Daniil Travnikov wrote:
> On Wednesday, February 27, 2019 at 10:19:09 PM UTC-5, awokd wrote:
> > Don't edit the ISO directly. dd or cp it to a USB drive (not partition), 
> > then follow the steps and mount the second partition and edit files in 
> > there.
> Thank you very much for your answer and for your help!
> 
> 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?
> 

You are trying to write to an iso file, which is a read only file
system. (It's an image of a CD/DVD)

As awokd has suggested, you need to copy the files to a USB drive, or
similar, and edit them there. Then create a new iso image and boot from
that.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20190228140359.jtcmszi2vdo3egqn%40thirdeyesecurity.org.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: Oryx Pro laptop (BOOTX64.cfg for Qubes 4.0.1)

2019-02-28 Thread Daniil Travnikov
On Wednesday, February 27, 2019 at 10:19:09 PM UTC-5, awokd wrote:
> Don't edit the ISO directly. dd or cp it to a USB drive (not partition), 
> then follow the steps and mount the second partition and edit files in 
> there.
Thank you very much for your answer and for your help!

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?

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/286755d7-0178-4d88-8512-2a6253cbd303%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: Oryx Pro laptop (BOOTX64.cfg for Qubes 4.0.1)

2019-02-28 Thread Daniil Travnikov
On Wednesday, February 27, 2019 at 10:19:09 PM UTC-5, awokd wrote:
> Don't edit the ISO directly. dd or cp it to a USB drive (not partition), 
> then follow the steps and mount the second partition and edit files in 
> there.

Thank you very much for your answer and for your help!

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' in unwritable ]

What am I doing wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/f778292e-e4e8-4d68-98af-33fceed4d0ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: Oryx Pro laptop (BOOTX64.cfg for Qubes 4.0.1)

2019-02-27 Thread 'awokd' via qubes-users

Daniil Travnikov:

Today I tried to change the xen configuration on a USB media. I tried to put in 
BOOTX64.cfg line 'modprobe.blacklist=nouveau' and change also some options but 
without any success because of .iso format file which has Write protection.

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.


Don't edit the ISO directly. dd or cp it to a USB drive (not partition), 
then follow the steps and mount the second partition and edit files in 
there.


--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/c875f69b-006b-3add-4d49-2c8bcdabdd0e%40danwin1210.me.
For more options, visit https://groups.google.com/d/optout.