Re: [qubes-users] Re: Attach cd-rom block device to Fedora Template VM (where does it show up?)
On Tue, Jul 04, 2017 at 08:12:31AM -0700, Greg Strong wrote: > 4. run the following command, substituting your device name for xvdi: > > sudo mount -t iso9660 -o ro /dev/xvdi /mnt/removable/ Glad you got it working! As a side note, most of the time you don't need to specify options when mounting common filesystems, like iso9660. It will figure out the filesystem and whether or not it is ro/rw. You can also define a mount point in /etc/fstab allowing you to just do: # mount /mnt/removable If you actually want auto mounting maybe a udev rule would suffice. However, personally I feel auto mounting is a bit scary... :-) -- noor |_|O|_| |_|_|O| Noor Christensen |O|O|O| n...@fripost.org ~ 0x401DA1E0 -- 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/20170706102641.zj66es2yfdvwlxm7%40mail. For more options, visit https://groups.google.com/d/optout. signature.asc Description: PGP signature
[qubes-users] Re: Attach cd-rom block device to Fedora Template VM (where does it show up?)
Thanks, Andrew, I'm in business now. The lsblk showed a new entry (xvdi) when the cd-rom was attached, but showed no mount point. I didn't realize I needed to manually enter a command to mount it because I haven't had to do that with USB hard drives, but I guess this should have been obvious. Anyway, in case anyone else has the question in the future and finds this thread, here's what you do to get a cd or dvd-rom to show up: 1. In a command prompt for the VM you wish to attach to, (before attaching the device), run 'lsblk' to list your block devices. 2. In the Qubes VM Manager, right-click on the vm you wish to attach to, select attach block devices, and pick your drive. 3. run the 'lsblk' command again and see what new device has appeared. 4. run the following command, substituting your device name for xvdi: sudo mount -t iso9660 -o ro /dev/xvdi /mnt/removable/ Thanks again, Greg On Monday, July 3, 2017 at 11:57:08 AM UTC-4, Andrew Morgan wrote: > On 07/02/2017 07:10 PM, Greg Strong wrote: > > Hello, > > > > I think I'm doing something pretty basic and coming up empty. I'm putting > > a CD Rom in an internal SATA cd-rom device and then using the "Attach block > > device" to attach it to a (running) Fedora template VM. Where is this > > supposed to appear? I can't find it anywhere. /mnt/removable seems like a > > likely place but there's nothing there (although the Qubes VM Manager shows > > a device attached successfully.) > > > > Doubt this matters, but this template is Fedora 2 - I followed the > > instructions to update the provided Fedora 23 template since Fedora 23 is > > end-of-life. > > > > Any help greatly appreciated. > > > > Thanks, > > Greg > > > > Does the `lsblk` command show anything different when the device is > attached versus not attached in the fedora vm? > > Andrew Morgan -- 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/92c1db6f-adf8-41f8-8cde-9cde0663e2c1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[qubes-users] Re: Attach cd-rom block device to Fedora Template VM (where does it show up?)
On 07/02/2017 07:10 PM, Greg Strong wrote: > Hello, > > I think I'm doing something pretty basic and coming up empty. I'm putting a > CD Rom in an internal SATA cd-rom device and then using the "Attach block > device" to attach it to a (running) Fedora template VM. Where is this > supposed to appear? I can't find it anywhere. /mnt/removable seems like a > likely place but there's nothing there (although the Qubes VM Manager shows a > device attached successfully.) > > Doubt this matters, but this template is Fedora 2 - I followed the > instructions to update the provided Fedora 23 template since Fedora 23 is > end-of-life. > > Any help greatly appreciated. > > Thanks, > Greg > Does the `lsblk` command show anything different when the device is attached versus not attached in the fedora vm? Andrew Morgan -- 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/ojdpfq%242n1%241%40blaine.gmane.org. For more options, visit https://groups.google.com/d/optout. signature.asc Description: OpenPGP digital signature