<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=3196&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Xfe + isomount question]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=3196</link>
		<description><![CDATA[The most recent posts in Xfe + isomount question.]]></description>
		<lastBuildDate>Thu, 05 Dec 2019 21:25:55 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Xfe + isomount question]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18820#p18820</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>... you could make a hookscript that will run when you boot the live iso and inject the necessary lines into /etc/fstab.</p></div></blockquote></div><p>No idea how to do that.</p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>... won&#039;t work for a rescue usb that you&#039;re booting on some other box.</p></div></blockquote></div><p>It&#039;s always the same box but as this *.iso (fortunately) is not used with any frequency, the disk configuration is likely to change so to all effects and purposes it is/could well be another box.</p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>... better off doing it manually in a root terminal.<br />... fdisk, df and blkid to get information ...<br />... figure out which one you want to mount.</p></div></blockquote></div><p>Yes, you might be right.<br />I have found that doing things in the terminal is helping me become, slowly albeit steadily, a bit more proficient with in use of the command line.</p><p>But it is hard to shed years point&amp;click muscle memory and the apparent convenience it brought along. </p><p>I&#039;ll see what I can rig up.</p><p>Thanks for your input.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Thu, 05 Dec 2019 21:25:55 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18820#p18820</guid>
		</item>
		<item>
			<title><![CDATA[Re: Xfe + isomount question]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18814#p18814</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>Excuse my ignorance, but how do I set that up in a live *.iso when I don&#039;t know what drives will be in the box when I use it?</p></div></blockquote></div><p>Oh yeah, I didn&#039;t think of that. Once you get everthing set up, you could make a hookscript that will run when you boot the live iso and inject the necessary lines into /etc/fstab. But that won&#039;t work for a rescue usb that you&#039;re booting on some other box. For that, you might be better off doing it manually in a root terminal. Then you can run fdisk, df and blkid to get information about the partitions and figure out which one you want to mount.&#160; That&#039;s my preferred method, even on a box that will let me mount partitions from the desktop.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Thu, 05 Dec 2019 02:49:44 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18814#p18814</guid>
		</item>
		<item>
			<title><![CDATA[Re: Xfe + isomount question]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18811#p18811</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>... can set up the boot menu before or when you make the snapshot.</p></div></blockquote></div><p>OK</p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>... set up the extra partitions in fstab with &#039;noauto,user&#039; options, then you can mount/unmount by right-clicking on the mountpoint.</p></div></blockquote></div><p>Yes, that should do it.</p><p>Excuse my ignorance, but how do I set that up in a live *.iso when I don&#039;t know what drives will be in the box when I use it?</p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>If xfe won&#039;t do what you want ...</p></div></blockquote></div><p>Xfe is really lean, quick and most importantly, desktop agnostic.<br />I&#039;d rather stay with Xfe.</p><p>Thanks for your input, much appreciated.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Wed, 04 Dec 2019 22:54:55 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18811#p18811</guid>
		</item>
		<item>
			<title><![CDATA[Re: Xfe + isomount question]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18810#p18810</link>
			<description><![CDATA[<p>Right, you can set up the boot menu before or when you make the snapshot.</p><p>If you set up the extra partitions in fstab with &#039;noauto,user&#039; options, then you can mount/unmount by right-clicking on the mountpoint. I just tested this in jessie and it works. That&#039;s the version before the custom mount/unmount commands were added.</p><p>If xfe won&#039;t do what you want, take a look at spacefm or pcmanfm.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Wed, 04 Dec 2019 20:16:31 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18810#p18810</guid>
		</item>
		<item>
			<title><![CDATA[Re: Xfe + isomount question]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18807#p18807</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>... don&#039;t understand why you need to mount the isos.</p></div></blockquote></div><p>To tell the truth, neither do I.</p><p>So I tried to recall how that came about and then it came back to me: I was trying out mounting (in general) with Xfe. <br />I was having the issues I have mentioned with USB drives and was also having problems mounting CD/DVDs.</p><p>So I then tried an *.iso I had at hand in /home/snapshot.<br />That is what happened and ho it came about.<br />Sorry ...&#160; </p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>... planning to do frequent editing of the iso&#039;s boot menu?</p></div></blockquote></div><p>No, not really.<br />I can do that before generating it in refractasnapshot.conf, right?</p><p>You are (as usual) right and I stand corrected: the title of the post should have been different.<br />But the issue is common to mounting an *.iso, a USB drive or system drives are similar or the same.</p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>According to the xfe docs ...</p></div></blockquote></div><p>Yes, read them.</p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>... mount filesystems with ctrl-M and unmount with ctrl-U.<br />What I can&#039;t figure out is how/where you find these unmounted filesystems.</p></div></blockquote></div><p>Right.<br />That is <span class="bbu">exactly</span> what I need to find out how to do.</p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>... don&#039;t see anything in the preferences about volume management or devices.</p></div></blockquote></div><p>Neither do I.</p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>... adds custom mount / unmount commands ...</p></div></blockquote></div><p>Yes, it was a feature someone asked for and the author implementes a couple of years later. <br />And that&#039;s what I want to use but I can only select to mount something Xfe can see/show as available.</p><p>Maybe it has to look in <span class="bbc">/etc/fstab</span>?<br />I have two mount points /media/cdrom and /media/usb but my /etc/fstab only has <span class="bbc">rootfs / rootfs rw 0 0</span>.</p><p>Thanks and sorry for the *.iso confusion.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Wed, 04 Dec 2019 18:42:32 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18807#p18807</guid>
		</item>
		<item>
			<title><![CDATA[Re: Xfe + isomount question]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18806#p18806</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>If you recall, this live Devuan ascii *.iso will live inside my box in a small capacity USB plugged into a motherboard USB port and will be used as a sort of rescue installation.<br />The drive will also have one or maybe two separate logical partitions inside an extended partition to hold a few *.iso files which I may need.</p><p>This is why I consider it important to be able to mount an *.iso image from within the live installation.<br />eg: imagine a rig with disabled boot drive and a failing CD/DVD unit with the backups/images in another drive in the box or on a portable external drive.</p></div></blockquote></div><p>I can understand why you want to be able to boot an iso for rescue/repair, and I can understand why you want to be able to mount your installed partitions from that live system, but I still don&#039;t understand why you need to mount the isos. Are you planning to do frequent editing of the iso&#039;s boot menu?</p><p>According to the xfe docs here: <a href="http://roland65.free.fr/xfe/index.php?page=docs" rel="nofollow">http://roland65.free.fr/xfe/index.php?page=docs</a><br />You can mount filesystems with ctrl-M and unmount with ctrl-U. What I can&#039;t figure out is how/where you find these unmounted filesystems. I don&#039;t see anything in the preferences about volume management or devices. I can only see mounted filesystems.</p><p>Edit: Oh, I&#039;m looking at an older version in jessie. I see this for 1.42, which is the version in ascii:</p><div class="quotebox"><blockquote><div><p>This release fixes several bugs and regressions and adds custom mount / unmount commands to the Preferences dialog.</p></div></blockquote></div>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Wed, 04 Dec 2019 15:20:03 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18806#p18806</guid>
		</item>
		<item>
			<title><![CDATA[Re: Xfe + isomount question]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18803#p18803</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>bgstack15 wrote:</cite><blockquote><div><p>... Xfe is recognizing that the /home/groucho/Desktop/Example1 is a separate mount point.<br />... why it is giving you options (that don&#039;t work ...</p></div></blockquote></div><p>Yes, if I mount the *.iso with the script as user and then open another instance of Xfe as root, I am able to unmount the *.iso with the icon from there.<br />I can also mount the *.iso with the script (mounts in <span class="bbc">/root/Desktop</span>) but not with the the icon as it is also greyed out when as running as root. </p><p>Command line mounting of the iso on /media/cdrom is only possible as root.</p><div class="codebox"><pre><code>groucho@devuan:/home/snapshot$ sudo mount snapshot-20191203_1428.iso /media/cdrom
mount: /dev/loop0 is write-protected, mounting read-only
groucho@devuan:/home/snapshot$</code></pre></div><div class="codebox"><pre><code>groucho@devuan:/home/snapshot$ sudo umount snapshot-20191203_1428.iso /media/cdrom
umount: snapshot-20191203_1428.iso: not mounted
groucho@devuan:/home/snapshot$ </code></pre></div><div class="quotebox"><cite>bgstack15 wrote:</cite><blockquote><div><p>Can you write a custom xfe function to fusermount -u the selected directory?</p></div></blockquote></div><p>I&#039;m sorry but my scripting abilities are non-existent so I&#039;d need a more detailed explanation.<br />The isounmount script uses fusermount and is called from Xfe by selecting the *.iso file and <span class="bbc">right-click</span> -&gt; <span class="bbc">scripts</span> -&gt; <span class="bbc">isounmount</span> </p><div class="codebox"><pre><code>#fxe script iso-umount
 #!/bin/bash
 
 FILE=$(basename &quot;$1&quot;)
 MOUNTPOINT=&quot;$HOME/Desktop/$FILE&quot;
 
 fusermount -u &quot;$MOUNTPOINT&quot;</code></pre></div><p>What I don&#039;t understand is why the mount icon does not go &#039;live&#039; when I select the *.iso file with the pointer.<br />ie: Xfe is not identifying it as &#039;mountable&#039; but then it <em>does</em> identify it as &#039;unmountable&#039; once it is mounted.</p><p>Similar thing happens ith a USB stick:</p><p>I can mount it as root via command line and then the unmount icon is &#039;live&#039; but the operation is not permitted.</p><p>Xfe is highly configurable, maybe this is all related to <span class="bbc">Edit</span> -&gt; <span class="bbc">Preferences</span> -&gt; <span class="bbc">Programs</span> where Volume management is configured?</p><p>Mount: mount<br />Unmount: umount</p><p>Thanks for your input.</p><p>Cheers,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Wed, 04 Dec 2019 09:04:39 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18803#p18803</guid>
		</item>
		<item>
			<title><![CDATA[Re: Xfe + isomount question]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18802#p18802</link>
			<description><![CDATA[<p>I suspect that Xfe is recognizing that the /home/groucho/Desktop/Example1 is a separate mount point. That is why it is giving you options (that don&#039;t work, because you&#039;re not running xfe as root) for mount and umount.</p><p>Can you write a custom xfe function to fusermount -u the selected directory?</p>]]></description>
			<author><![CDATA[dummy@example.com (bgstack15)]]></author>
			<pubDate>Wed, 04 Dec 2019 03:35:55 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18802#p18802</guid>
		</item>
		<item>
			<title><![CDATA[Re: Xfe + isomount question]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18801#p18801</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>... commands are correct ...</p></div></blockquote></div><p>Yes ...<br />I thought so too, because ...<br />... one thing I tried actually worked?&#160; ;-D</p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>Why do you want to mount the isos?</p></div></blockquote></div><p>If you recall, this live Devuan ascii *.iso will live inside my box in a small capacity USB plugged into a motherboard USB port and will be used as a sort of rescue installation.<br />The drive will also have one or maybe two separate logical partitions inside an extended partition to hold a few *.iso files which I may need.</p><p>This is why I consider it important to be able to mount an *.iso image from within the live installation.<br />eg: imagine a rig with disabled boot drive and a failing CD/DVD unit with the backups/images in another drive in the box or on a portable external drive.</p><p>That said, why the difference in behaviour I mentioned earlier?</p><p>ie: Why can I mount and unmount an *.iso made with Refractasnapshot using the scripts I set up as the logged in user but cannot unmount it from Xfe?</p><p>On a related subject:</p><p>My Devuan ascii 2.0.0 installation works with four internal SAS drives, a DVD drive and four additional USB/FireWire ports, all of which I have to be to be available in Xfe to mount as needed via the live.iso.</p><p>It would have to be always there, to be awakened if I have a problem.<br />This means it has to be oblivious as to which drives are living inside the box when booted or to the ID any of the USB/FireWire drives that could be plugged in at any time.</p><p>ie:<br />When I boot the live.iso and start Xfe, I need to see the on-board drives present in the box at that time and any USB/FireWire drive I plug in so I can mount any of them.</p><p>Just like with my main Devuan ascii installation, where I can see all my drives in Thunar and mount/unmount them (w/pw) as needed.</p><p>How can I get that done?<br />With autofs?</p><p>Thanks in advance,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Wed, 04 Dec 2019 00:44:13 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18801#p18801</guid>
		</item>
		<item>
			<title><![CDATA[Re: Xfe + isomount question]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18800#p18800</link>
			<description><![CDATA[<p>Your commands are correct for fuseiso and fusermount. I stopped using fuseiso a few years ago because it went away. I guess it&#039;s back, but I haven&#039;t tried it. </p><p>As root:</p><div class="codebox"><pre><code>mount snapshot.iso /some/mountpoint
do stuff
umount /some/mountpoint</code></pre></div><p>Why do you want to mount the isos?</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Wed, 04 Dec 2019 00:11:34 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18800#p18800</guid>
		</item>
		<item>
			<title><![CDATA[Xfe + isomount question]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18799#p18799</link>
			<description><![CDATA[<p>Hello:</p><p>Continuing with my ongoing tune up of a minimal Devuan ascii live *.iso, I am stuck ith the issue regarding automounting the drives.</p><p>While trying to see how to mount an *.iso image, I installed the isomount package as it had a much smaller footprint then other available options.</p><p>I found a couple of adequate scripts on the isomount project page which I set up in <span class="bbc">/home/groucho/.config/xfe/scripts</span>:</p><div class="codebox"><pre><code>#fxe script iso-mount
#!/bin/bash
 
FILE=$(basename &quot;$1&quot;)
MOUNTPOINT=&quot;$HOME/Desktop/$FILE&quot;
 
fuseiso -p &quot;$1&quot; &quot;$MOUNTPOINT&quot;</code></pre></div><p>&#160; &#160; &#160;<br />and </p><div class="codebox"><pre><code>#fxe script iso-umount
 #!/bin/bash
 
 FILE=$(basename &quot;$1&quot;)
 MOUNTPOINT=&quot;$HOME/Desktop/$FILE&quot;
 
 fusermount -u &quot;$MOUNTPOINT&quot;</code></pre></div><p>Now I can right-click on an *.iso file and do <span class="bbc">scripts -&gt; mount</span> or <span class="bbc">scripts -&gt; unmount</span>.</p><p>The surprise was that doing a right-click on the image mounted in /Desktop also showed me a greyed out <span class="bbc">Mount</span> and an <span class="bbc">Unmount</span> option, the latter bringing up a pop-up that said Permisison denied when clicked on.</p><p>So I can mount and unmount an *.iso made with <span class="bbc">Refractasnapshot</span> using the scripts I set up as the logged in user but cannot unmount it from <span class="bbc">Xfe</span>.<br />I cannot mount it either as the <span class="bbc">Mount</span> and <span class="bbc">Unmount</span> icons in the bar are greyed out and the <span class="bbc">Unmount</span> icon appears only if I have previously mounted the *.iso file with the isomount script.</p><p>Same thing happens if I change the ownership of the *.iso file to the logged in user.</p><p>What am I missing here?</p><p>Thanks in advance.</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Tue, 03 Dec 2019 23:44:45 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18799#p18799</guid>
		</item>
	</channel>
</rss>
