<?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=3172&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Problems configuring persistence]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=3172</link>
		<description><![CDATA[The most recent posts in Problems configuring persistence.]]></description>
		<lastBuildDate>Sat, 23 Nov 2019 21:04:19 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Problems configuring persistence]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18658#p18658</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>Altoid wrote:</cite><blockquote><div><p>... take out the USB ...<br />... reboot and see what happens when I plug it into one of the external ports ...</p></div></blockquote></div><p>Yes, that did it.</p><p>I think this was probably some sort of BIOS glitch.<br />The rig is a Sun Ultra24, excellent hardware and way ahead of its time.<br />But the BIOS is absolute crap.</p><p>Then Oracle came along...<br />But I digress.</p><p>I assume that it could have been a BIOS glitch because when the problem cropped up, the boot screen (which rolls by fast but you can catch it) did not list a Kingston DataTraveller storage device like it usually did. </p><p>And then, having pressed F8 to get at the Boot Menu, when it came up it showed me a <span class="bbc">USB: USB Flash Drive</span> as the first option instead of showing me a <span class="bbc">USB: Kingston DataTraveller</span>.</p><p>Shutting down, unplugging and plugging it in again (on an external port just in case I had to do something) set things right: at reboot the Boot Menu option was the correct one ie: <span class="bbc">USB: Kingston DataTraveller</span>.</p><p>Thanks for your input.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sat, 23 Nov 2019 21:04:19 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18658#p18658</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problems configuring persistence]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18656#p18656</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>... did it include reinstalling grub?<br />... grub even installed in the live system?</p></div></blockquote></div><p>I don&#039;t think so. (?)<br />Mounting the live *.iso image using AcetoneISO shows me three folders:</p><p>- isolinux<br />- live<br />- pkglist_Alien-OS MNML-20170610_1259</p><p>The pkglist includes:</p><p>grub-common<br />grub-pc<br />grub-pc-bin<br />grub2-common</p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>... computer boot without the usb stick?</p></div></blockquote></div><p>Yes.<br />No problems with that. </p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>Maybe the flash drive is dying.</p></div></blockquote></div><p>I don&#039;t think so ...<br />It&#039;s a new/almost no use Kingston DTSE9.</p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>... a reboot will fix it.</p></div></blockquote></div><p>Been there, tried that.</p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>... pulling the stick out and plugging it back ...<br />... probably be /dev/sdf if you do this</p></div></blockquote></div><p>Was about to try that after my afternoon espresso.</p><p>I have the impression/idea that somehow/for some reason the file system went south.</p><p>But no idea how <em>that</em> could have happened.<br />It is my understanding that whatever was being written to the drive was getting written to <span class="bbc">/sda2</span> and there were 3.0Gb available for that.</p><p>I&#039;ll take out the USB, which lives inside the box in its own socket on the motherboard, reboot and see what happens when I plug it into one of the external ports and then post back.</p><p>Thanks for your input.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sat, 23 Nov 2019 20:12:58 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18656#p18656</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problems configuring persistence]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18655#p18655</link>
			<description><![CDATA[<p>When you ran the upgrade, did it include reinstalling grub? Is grub even installed in the live system? Does the computer boot without the usb stick?</p><p>Maybe the flash drive is dying.</p><p>Maybe the system is just randomly confused and a reboot will fix it. (I&#039;d power off completely then restart.)</p><p>Maybe just pulling the stick out and plugging it back in will help. (It will probably be /dev/sdf if you do this.)</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sat, 23 Nov 2019 19:25:21 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18655#p18655</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problems configuring persistence]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18653#p18653</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>... &#039;persistence&#039; in the boot command and the filesystem label on the persistent partition ...<br />... enough space in the persistent partition to hold a big upgrade.<br />... boot with persistence when you make the snapshot, it will copy the upgraded (running) system.</p></div></blockquote></div><p>This morning I went ahead and booted the live *.iso with persistence and then ran Synaptic.<br />The update took a long time, probably because the *.iso is from two years ago, the list was huge and included <span class="bbc">linux-image-3.16.0-10-amd64</span>.</p><p>When it finished, I shut down and rebooted the live *.iso with persistence, expecting to see it updated.</p><p>But alas, something <em>strange</em> happened on the way to persistence ....&#160; &#160;=^o !</p><p>Not only did the live *.iso not boot ie: on selection of the USB drive, it just proceeded to my usual grub screen.</p><p>I booted into my main Devuan and to see what had been written into the persistence partition /dev/sda is nowhere to be found.</p><p>It has absolutely <em>dissapeared</em> from the system.</p><p>- <span class="bbc">fdisk</span> does not see it:</p><div class="codebox"><pre class="vscroll"><code>groucho@devuan:~$ sudo fdisk -l
[sudo] password for groucho: 
Disk /dev/sdb: 68.4 GiB, 73407488000 bytes, 143374000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0004a8f4

Device     Boot     Start       End  Sectors  Size Id Type
/dev/sdb1            2048  40974335 40972288 19.6G 83 Linux
/dev/sdb2        40974336 139278335 98304000 46.9G  5 Extended
/dev/sdb3       139278336 143372287  4093952    2G 82 Linux swap / Solaris
/dev/sdb5        40976384  45072383  4096000    2G 83 Linux
/dev/sdb6        45074432 139278335 94203904 44.9G 83 Linux

Partition table entries are not in disk order.

Disk /dev/sdc: 279.4 GiB, 300000000000 bytes, 585937500 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x30830f4e

Device     Boot Start       End   Sectors   Size Id Type
/dev/sdc1        2048 585936895 585934848 279.4G  5 Extended
/dev/sdc5        4096 585936895 585932800 279.4G 83 Linux

Disk /dev/sdd: 68.4 GiB, 73407488000 bytes, 143374000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x68017f5c

Device     Boot    Start       End  Sectors  Size Id Type
/dev/sdd1  *        2048  40962047 40960000 19.5G 83 Linux
/dev/sdd2       40962048  45058047  4096000    2G 82 Linux swap / Solaris
/dev/sdd3       45058048 143372287 98314240 46.9G  5 Extended
/dev/sdd5       45060096 143372287 98312192 46.9G 83 Linux

Disk /dev/sde: 232.9 GiB, 250056000000 bytes, 488390625 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x85188518

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sde1            2048 329396223 329394176 157.1G 83 Linux
/dev/sde2       329396224 488388607 158992384  75.8G 83 Linux
groucho@devuan:~$ </code></pre></div><p>- <span class="bbc">parted</span> does not see it either:</p><div class="codebox"><pre><code>groucho@devuan:~$ sudo parted
GNU Parted 3.2
Using /dev/sdb
Welcome to GNU Parted! Type &#039;help&#039; to view a list of commands.
(parted) print devices                                                    
/dev/sdb (73.4GB)
/dev/sdc (300GB)
/dev/sdd (73.4GB)
/dev/sde (250GB)
(parted) quit                                                             
groucho@devuan:~$ </code></pre></div><p>Any idea as to what may have happened?</p><p>I find it strange that the device is not available ...</p><p><span class="bbu">Edit:</span></p><p>... dmesg reports it ...</p><div class="codebox"><pre><code>--- snip ---
[    3.584672] scsi 7:0:0:0: Direct-Access     USB      Flash Drive      2.00 PQ: 0 ANSI: 0
[    3.596655] sd 7:0:0:0: [sda] Attached SCSI removable disk
--- snip ---</code></pre></div><p>... but says nothing of<span class="bbc"> /sda2</span>, which is where persistence is/was supposed to live.</p><p>lsblk does not see it either.</p><div class="codebox"><pre><code>groucho@devuan:~$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sdb      8:16   0  68.4G  0 disk 
|-sdb1   8:17   0  19.6G  0 part /
|-sdb3   8:19   0     2G  0 part 
|-sdb5   8:21   0     2G  0 part /var/log
`-sdb6   8:22   0  44.9G  0 part /home
sdc      8:32   0 279.4G  0 disk 
|-sdc1   8:33   0     1K  0 part 
`-sdc5   8:37   0 279.4G  0 part 
sdd      8:48   0  68.4G  0 disk 
|-sdd1   8:49   0  19.5G  0 part 
|-sdd2   8:50   0     2G  0 part 
|-sdd3   8:51   0     1K  0 part 
`-sdd5   8:53   0  46.9G  0 part 
sde      8:64   0 232.9G  0 disk 
|-sde1   8:65   0 157.1G  0 part /media/backups
`-sde2   8:66   0  75.8G  0 part 
sr0     11:0    1  1024M  0 rom  
groucho@devuan:~$ </code></pre></div><p>lshw sees it:</p><div class="codebox"><pre class="vscroll"><code>groucho@devuan:~$ sudo lshw | grep logical
             logical name: eth0
                logical name: usb1
                logical name: usb2
                logical name: usb3
                logical name: usb9
                   logical name: scsi7

                      logical name: /dev/sda
                      configuration: logicalsectorsize=512 sectorsize=512
                         logical name: /dev/sda

                logical name: scsi8
                   logical name: /dev/sdb
                   configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=0004a8f4
                      logical name: /dev/sdb1
                      logical name: /
                    *-logicalvolume:0
                         logical name: /dev/sdb5
                         logical name: /var/log
                    *-logicalvolume:1
                         logical name: /dev/sdb6
                         logical name: /home
                      logical name: /dev/sdb3
                   logical name: /dev/sdc
                   configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=30830f4e
                      logical name: /dev/sdc1
                    *-logicalvolume
                         logical name: /dev/sdc5
                   logical name: /dev/sdd
                   configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=68017f5c
                      logical name: /dev/sdd1
                      logical name: /dev/sdd2
                      logical name: /dev/sdd3
                    *-logicalvolume
                         logical name: /dev/sdd5
                   logical name: /dev/sde
                   configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=85188518
                      logical name: /dev/sde1
                      logical name: /media/backups
                      logical name: /dev/sde2
                   logical name: usb7
                   logical name: usb8
                logical name: usb4
                logical name: usb5
                logical name: usb6
                logical name: usb10
          logical name: scsi1
             logical name: /dev/cdrom
             logical name: /dev/cdrw
             logical name: /dev/dvd
             logical name: /dev/dvdrw
             logical name: /dev/sr0
groucho@devuan:~$ </code></pre></div><p>Thanks in advance,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sat, 23 Nov 2019 15:04:03 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18653#p18653</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problems configuring persistence]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18648#p18648</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>... &#039;persistence&#039; in the boot command and the filesystem label on the persistent partition ...<br />... enough space in the persistent partition to hold a big upgrade.<br />... boot with persistence when you make the snapshot, it will copy the upgraded (running) system.</p></div></blockquote></div><p>Good.</p><p>Thanks a lot for your help.&#160; =-)</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sat, 23 Nov 2019 01:11:46 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18648#p18648</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problems configuring persistence]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18647#p18647</link>
			<description><![CDATA[<p>Yes, you must have the word &#039;persistence&#039; in the boot command and the filesystem label on the persistent partition must also be &#039;persistence&#039;.</p><p>You have enough space in the persistent partition to hold a big upgrade. As long as you boot with persistence when you make the snapshot, it will copy the upgraded (running) system.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sat, 23 Nov 2019 00:56:24 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18647#p18647</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problems configuring persistence]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18646#p18646</link>
			<description><![CDATA[<p>Hello:</p><p>I was in my Devuan install and rebooted to alien-os to answer your post and ...</p><p>It works.<br />Go figure.</p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>What does your boot command look like?&#160; <span class="bbc">cat /proc/cmdline</span></p></div></blockquote></div><div class="codebox"><pre><code>Alien-OS@alien-os╺─╸[~]  cat /proc/cmdline
BOOT_IMAGE=/live/vmlinuz initrd=/live/initrd.img boot=live persistence vga=795 username=alien-os  
Alien-OS@alien-os╺─╸[~]  </code></pre></div><p>Stanzas <span class="bbc">persistence</span> and <span class="bbc">vga=795</span> were added bz me after <span class="bbc">Tab</span> to edit the boot command.<br />Otherwise it boots as a the std live *.iso. (?)</p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>What is in persistence.conf?</p></div></blockquote></div><div class="codebox"><pre><code>Alien-OS@alien-os╺─╸[~]  cat /persistence.conf
/ union
Alien-OS@alien-os╺─╸[~]  </code></pre></div><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>... don&#039;t know Alien-OS.<br />... a debian-based distro and it uses live-boot and live-config. Is that correct?</p></div></blockquote></div><p>Don&#039;t know what it uses, have to check/read up.<br />All I can say is that the DE keyboard (qwerz) layout + the darkish theme are a bitchy combination.&#160; =-/ </p><p>I saw alien-os mentioned here ...</p><p><a href="http://dev1galaxy.org/viewtopic.php?id=1811" rel="nofollow">http://dev1galaxy.org/viewtopic.php?id=1811</a><br /><a href="http://dev1galaxy.org/viewtopic.php?pid=3569#p3569" rel="nofollow">http://dev1galaxy.org/viewtopic.php?pid=3569#p3569</a></p><p>... and assumed it was Devuan based.</p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>Is the OS 32-bit or 64-bit?</p></div></blockquote></div><p>Apparently only 64-bit.</p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>... system directories on the persistent partition ...</p></div></blockquote></div><p>Yes, automagically created.</p><p>There is a website:<br /><a href="https://www.alien-os.de/" rel="nofollow">https://www.alien-os.de/</a></p><p>Every boot the installation says there are updates available (a nag) but it is a huge list which includes linux-image-3.16.0-10-amd64.<br />If I accept and go ahead, do these stay installed on reboot in persistence mode and then get carried on to the new *.iso?</p><p>Thanks in advance,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Fri, 22 Nov 2019 23:51:03 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18646#p18646</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problems configuring persistence]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18645#p18645</link>
			<description><![CDATA[<p>What does your boot command look like?&#160; <span class="bbc">cat /proc/cmdline</span><br />What is in persistence.conf?</p><p>I don&#039;t know Alien-OS. I assume this is a debian-based distro and it uses live-boot and live-config. Is that correct?</p><p>Is the OS 32-bit or 64-bit?</p><p>Were the system directories on the persistent partition automatically created, or did you create them manually?</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Fri, 22 Nov 2019 22:26:11 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18645#p18645</guid>
		</item>
		<item>
			<title><![CDATA[Problems configuring persistence]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18643#p18643</link>
			<description><![CDATA[<p>Hello:</p><p>I am attempting to set up alien-os with persistence so as to change a few things and maybe slim it down a bit further to then burn a new *.iso with the changes.</p><p>I am using an 8gb pen drive which I have partitioned in this manner:</p><p>500Mib for the *.iso image<br />3,00Gib for the persistence partition<br />3,78Gib of unallocated space</p><div class="codebox"><pre><code>Alien-OS@alien-os╺─╸[~]  sudo fdisk -l
Disk /dev/sda: 7.2 GiB, 7757398016 bytes, 15151168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x062ec9ea

Device     Boot  Start     End Sectors  Size Id Type
/dev/sda1  *        64  921599  921536  450M 17 Hidden HPFS/NTFS
/dev/sda2       921600 7219199 6297600    3G 83 Linux
Alien-OS@alien-os╺─╸[~]  </code></pre></div><p>These are the mount points:</p><div class="codebox"><pre><code>Alien-OS@alien-os╺─╸[~]  mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=813044k,mode=755)

/dev/sda1 on /lib/live/mount/medium type iso9660 (ro,noatime)

/dev/loop0 on /lib/live/mount/rootfs/filesystem.squashfs type squashfs (ro,noatime)
tmpfs on /lib/live/mount/overlay type tmpfs (rw,relatime)
tmpfs on /lib/live/mount/overlay type tmpfs (rw,noatime,mode=755)
aufs on / type aufs (rw,noatime,si=4d6addd750f80fe7,noxino)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
pstore on /sys/fs/pstore type pstore (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=1012409,mode=755)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1626080k)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
gvfsd-fuse on /home/alien-os/.gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)

/dev/sda2 on /media/alien-os/persistence type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)

» Alien-OS@alien-os╺─╸[~]  </code></pre></div><p>The persistence partition has (apparently) all that it has to have:</p><div class="codebox"><pre><code>Alien-OS@alien-os╺─╸[~] ls /media/alien-os/persistence
etc  home  lib  lost+found  persistence.conf  tmp  var
Alien-OS@alien-os╺─╸[~]  </code></pre></div><p>But I think (?) there is probably something wrong with the mount point as persistence is not working.</p><p>What did I miss?</p><p>Thanks in advance,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Fri, 22 Nov 2019 21:50:12 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18643#p18643</guid>
		</item>
	</channel>
</rss>
