<?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=1709&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / booting Jessie: File system check failed.]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=1709</link>
		<description><![CDATA[The most recent posts in booting Jessie: File system check failed..]]></description>
		<lastBuildDate>Mon, 22 Jan 2018 11:05:39 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: booting Jessie: File system check failed.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=7231#p7231</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>I installed grub from CentOS, Debian 8, Devuan, Fedora</p><p>I tried run openSUSE after every grub installation in each distribution.</p></div></blockquote></div><p>This is a confused mess to begin with. It won&#039;t help if you keep installing grub from different distros. Have you been closely examining and comparing the grub.cfg files from each distro every time you run grub-install? How can you keep track of what you&#039;re doing?</p><p>Pick one disto to be in charge of grub. Then see which ones you can boot from that menu. If any don&#039;t work, try starting them from grub command line. It might be that one or more installations is not where you think it is or not where grub thinks it is. <a href="https://www.linux.com/learn/how-rescue-non-booting-grub-2-Linux" rel="nofollow">https://www.linux.com/learn/how-rescue- … ub-2-Linux</a></p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Mon, 22 Jan 2018 11:05:39 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=7231#p7231</guid>
		</item>
		<item>
			<title><![CDATA[Re: booting Jessie: File system check failed.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=7227#p7227</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>So, whichever one ran grub-install last should be the one in charge of booting. And update-grub (or whatever command generates a new boot menu on that installation) should include an entry for each installation on that machine. Right now, which system is listed first, and will it boot?</p><p>If you can boot into devuan enough to run root commands, or if you can chroot into it, you might try the following. I can&#039;t tell if this is what you need for sure, but there&#039;s at least a small chance it will fix the problem with devuan.</p><div class="codebox"><pre><code>apt-get remove live-tools
CRYPTSETUP=y update-initramfs -u (and maybe -k &lt;kernel&gt; if you want to be specific)</code></pre></div></div></blockquote></div><div class="quotebox"><blockquote><div><p>I installed grub from CentOS, Debian 8, Devuan, Fedora</p></div></blockquote></div><p>I tried run openSUSE after every grub installation in each distribution.</p><div class="codebox"><pre><code># apt-get remove live-tools
# CRYPTSETUP=y update-initramfs -u
update-initramfs: Generating /boot/initrd.img-3.16.0-5-amd64
cryptsetup: WARNING: failed to detect canonical device of /dev/sda14
cryptsetup: WARNING: could not determine root device from /etc/fstab
live-boot: core filesystems devices utils udev wget blockdev.</code></pre></div><p>Devuan grub, it didn&#039;t solve anything.</p>]]></description>
			<author><![CDATA[dummy@example.com (boycottsystemd)]]></author>
			<pubDate>Mon, 22 Jan 2018 06:37:54 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=7227#p7227</guid>
		</item>
		<item>
			<title><![CDATA[Re: booting Jessie: File system check failed.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=7217#p7217</link>
			<description><![CDATA[<p>So, whichever one ran grub-install last should be the one in charge of booting. And update-grub (or whatever command generates a new boot menu on that installation) should include an entry for each installation on that machine. Right now, which system is listed first, and will it boot?</p><p>If you can boot into devuan enough to run root commands, or if you can chroot into it, you might try the following. I can&#039;t tell if this is what you need for sure, but there&#039;s at least a small chance it will fix the problem with devuan.</p><div class="codebox"><pre><code>apt-get remove live-tools
CRYPTSETUP=y update-initramfs -u (and maybe -k &lt;kernel&gt; if you want to be specific)</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sun, 21 Jan 2018 14:36:48 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=7217#p7217</guid>
		</item>
		<item>
			<title><![CDATA[Re: booting Jessie: File system check failed.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=7214#p7214</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>Did this installation ever work normally? Was it ok up until it complained about fsck, or did it complain on the first reboot into the new system?</p><p>Is this a uefi system, or legacy bios?<br />Are you using gpt or msdos partition table?<br />Please post the output of &#039;fdisk -l&#039; and &#039;blkid&#039; <br />Which installations will boot and which will not? Which one is in charge of grub?</p></div></blockquote></div><p>Never. It complained on the first reboot into the new system.</p><p>Legacy bios.<br />Msdos partition table.</p><div class="codebox"><pre><code>#fdisk -l

Disk /dev/sda: 931,5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x00......

Device     Boot      Start        End    Sectors   Size Id Type
/dev/sda1  *          2048     718847     716800   350M  7 HPFS/NTFS/exFAT
/dev/sda2           718848  719351807  718632960 342,7G  7 HPFS/NTFS/exFAT
/dev/sda3        719351808 1953523711 1234171904 588,5G  5 Extended
/dev/sda5        719353856  719357951       4096     2M 83 Linux
/dev/sda6        719360000  721457151    2097152     1G 83 Linux
/dev/sda7        721459200  763406335   41947136    20G 83 Linux
/dev/sda8        763408384  779663359   16254976   7,8G 83 Linux
/dev/sda9        779665408  799199231   19533824   9,3G 83 Linux
/dev/sda10       799201280  803409919    4208640     2G 82 Linux swap / Solaris
/dev/sda11       803411968  887302143   83890176    40G 83 Linux
/dev/sda12       887304192  950212607   62908416    30G 83 Linux
/dev/sda13      1543329792 1662517247  119187456  56,9G 83 Linux
/dev/sda14      1021849600 1124188159  102338560  48,8G 83 Linux
/dev/sda15      1124190208 1179574271   55384064  26,4G 83 Linux
/dev/sda16      1662519296 1751398399   88879104  42,4G 83 Linux
/dev/sda17      1179576320 1300207615  120631296  57,5G 83 Linux
/dev/sda18      1300209664 1414524927  114315264  54,5G 83 Linux

Partition table entries are not in disk order.</code></pre></div><div class="codebox"><pre><code># blkid
/dev/sda1: LABEL=&quot;System Reserved&quot; UUID=&quot;D410F54A10F533D8&quot; TYPE=&quot;ntfs&quot; PARTUUID=&quot;00a68792-01&quot;
/dev/sda2: UUID=&quot;7E80F79280F74F61&quot; TYPE=&quot;ntfs&quot; PARTUUID=&quot;00a68792-02&quot;
/dev/sda5: LABEL=&quot;empty&quot; UUID=&quot;........-....-....-....-............&quot; TYPE=&quot;ext4&quot; PARTUUID=&quot;00a68792-05&quot;
/dev/sda6: UUID=&quot;........-....-....-....-............&quot; TYPE=&quot;xfs&quot; PARTUUID=&quot;00a68792-06&quot;
/dev/sda7: UUID=&quot;........-....-....-....-............&quot; TYPE=&quot;crypto_LUKS&quot; PARTUUID=&quot;00a68792-07&quot;
/dev/sda8: UUID=&quot;........-....-....-....-............&quot; TYPE=&quot;crypto_LUKS&quot; PARTUUID=&quot;00a68792-08&quot;
/dev/sda9: UUID=&quot;........-....-....-....-............&quot; TYPE=&quot;crypto_LUKS&quot; PARTUUID=&quot;00a68792-09&quot;
/dev/sda10: UUID=&quot;........-....-....-....-............&quot; TYPE=&quot;swap&quot; PARTUUID=&quot;00a68792-0a&quot;
/dev/sda11: UUID=&quot;........-....-....-....-............&quot; TYPE=&quot;ext4&quot; PARTUUID=&quot;00a68792-0b&quot;
/dev/sda12: UUID=&quot;........-....-....-....-............&quot; TYPE=&quot;ext4&quot; PARTUUID=&quot;00a68792-0c&quot;
/dev/sda13: UUID=&quot;........-....-....-....-............&quot; TYPE=&quot;ext4&quot; PARTUUID=&quot;00a68792-0d&quot;
/dev/sda14: LABEL=&quot;devuan&quot; UUID=&quot;........-....-....-....-............&quot; TYPE=&quot;ext4&quot; PARTUUID=&quot;00a68792-0e&quot;
/dev/sda15: UUID=&quot;........-....-....-....-............&quot; TYPE=&quot;crypto_LUKS&quot; PARTUUID=&quot;00a68792-0f&quot;
/dev/sda16: UUID=&quot;........-....-....-....-............&quot; TYPE=&quot;ext4&quot; PARTUUID=&quot;00a68792-10&quot;
/dev/sda17: LABEL=&quot;fedora&quot; UUID=&quot;........-....-....-....-............&quot; TYPE=&quot;ext4&quot; PARTUUID=&quot;00a68792-11&quot;
/dev/sda18: LABEL=&quot;debian&quot; UUID=&quot;........-....-....-....-............&quot; TYPE=&quot;ext4&quot; PARTUUID=&quot;00a68792-12&quot;</code></pre></div><p>You may have read that openSUSE can&#039;t boot. I installed grub from CentOS, Debian 8, Devuan, Fedora (run on this disk).</p>]]></description>
			<author><![CDATA[dummy@example.com (boycottsystemd)]]></author>
			<pubDate>Sun, 21 Jan 2018 11:15:52 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=7214#p7214</guid>
		</item>
		<item>
			<title><![CDATA[Re: booting Jessie: File system check failed.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=7201#p7201</link>
			<description><![CDATA[<p>Did this installation ever work normally? Was it ok up until it complained about fsck, or did it complain on the first reboot into the new system?</p><p>Is this a uefi system, or legacy bios?<br />Are you using gpt or msdos partition table?<br />Please post the output of &#039;fdisk -l&#039; and &#039;blkid&#039; <br />Which installations will boot and which will not? Which one is in charge of grub?</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sat, 20 Jan 2018 13:19:13 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=7201#p7201</guid>
		</item>
		<item>
			<title><![CDATA[Re: booting Jessie: File system check failed.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=7200#p7200</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>Aha! Did you notice that what was in the video looks completely different from what you saw during the installation? I recognize the warnings about using uuid or labels with encryption. That was the live installer. You can use uuids or labels with encrypted partition, but you have to do it manually after the install. The installer won&#039;t do it for you. </p><p>Are there any files in /etc/initramfs-tools/conf.d/ in the devuan installation? If so, what&#039;s there? </p><p>Is there more than one hard drive on the computer? If so, please say a little more about your setup.</p></div></blockquote></div><p>Yes I did notice that, but unfortunately it&#039;s long time ago so it&#039;s hard to remember.</p><div class="quotebox"><blockquote><div><p>You can use uuids or labels with encrypted partition, but you have to do it manually after the install.</p></div></blockquote></div><p>That is what I&#039;m trying to.</p><p><span class="bbc">/etc/initramfs-tools/conf.d</span>&#160; &#160;is empty.</p><p>One hard drive only.</p>]]></description>
			<author><![CDATA[dummy@example.com (boycottsystemd)]]></author>
			<pubDate>Sat, 20 Jan 2018 12:50:29 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=7200#p7200</guid>
		</item>
		<item>
			<title><![CDATA[Re: booting Jessie: File system check failed.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=7189#p7189</link>
			<description><![CDATA[<p>Aha! Did you notice that what was in the video looks completely different from what you saw during the installation? I recognize the warnings about using uuid or labels with encryption. That was the live installer. You can use uuids or labels with encrypted partition, but you have to do it manually after the install. The installer won&#039;t do it for you. </p><p>Are there any files in /etc/initramfs-tools/conf.d/ in the devuan installation? If so, what&#039;s there? </p><p>Is there more than one hard drive on the computer? If so, please say a little more about your setup.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Fri, 19 Jan 2018 20:46:30 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=7189#p7189</guid>
		</item>
		<item>
			<title><![CDATA[Re: booting Jessie: File system check failed.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=7188#p7188</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>Here&#039;s a video showing the creation of an encrypted filesystem in the installer. In this case, I made a separate /boot partition so I could encrypt the root filesystem. But the procedure for creating the encrypted volume would be the same for /home. Take a look and see if you did something significantly different from this. It is confusing. The -4 in the filename is there because I had to do it four times before I got it right for the video. <br /><a href="http://distro.ibiblio.org/refracta/misc/partition_encrypt-4.ogv" rel="nofollow">http://distro.ibiblio.org/refracta/misc … rypt-4.ogv</a></p><p>You said above that you were able to fix it in one installation. What did you do on that one that you didn&#039;t do on the one that&#039;s still failing?</p><p>Did you try it like this?</p><div class="codebox"><pre><code>fstab
/dev/sda14	/	ext4	defaults,noatime	0	1
/dev/mapper/home_fs	/home	ext4	defaults,noatime	0	2
/dev/sda10	swap	 swap	defaults	0	0

crypttab
home_fs		/dev/sda15		none		luks</code></pre></div></div></blockquote></div><p>Thank you for video. Did you use UUIDs and labels in your video ? </p><p>I&#039;ve got this message from installer:</p><div class="codebox"><pre><code>...
--&gt;UUIDs in fstab won&#039;t work with encrypted filesystems and will not be used. Edit fstab manually after the installation.
--&gt;Disk labels in fstab won&#039;t work with encrypted filesystems and will not be used. Edit fstab manually after the installation.
...</code></pre></div><div class="quotebox"><blockquote><div><p>What did you do on that one that you didn&#039;t do on the one that&#039;s still failing?</p></div></blockquote></div><p>I created user&#039;s home directory after previous installation.</p><p>I tried this fstab and crypttab but user&#039;s home directory is not visible.</p><p>I&#039;m not sure if it&#039;s related but something has happened during solving this:<br /><a href="https://dev1galaxy.org/viewtopic.php?id=1827" rel="nofollow">https://dev1galaxy.org/viewtopic.php?id=1827</a></p>]]></description>
			<author><![CDATA[dummy@example.com (boycottsystemd)]]></author>
			<pubDate>Fri, 19 Jan 2018 17:23:34 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=7188#p7188</guid>
		</item>
		<item>
			<title><![CDATA[Re: booting Jessie: File system check failed.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=7170#p7170</link>
			<description><![CDATA[<p>Here&#039;s a video showing the creation of an encrypted filesystem in the installer. In this case, I made a separate /boot partition so I could encrypt the root filesystem. But the procedure for creating the encrypted volume would be the same for /home. Take a look and see if you did something significantly different from this. It is confusing. The -4 in the filename is there because I had to do it four times before I got it right for the video. <br /><a href="http://distro.ibiblio.org/refracta/misc/partition_encrypt-4.ogv" rel="nofollow">http://distro.ibiblio.org/refracta/misc … rypt-4.ogv</a></p><p>You said above that you were able to fix it in one installation. What did you do on that one that you didn&#039;t do on the one that&#039;s still failing?</p><p>Did you try it like this?</p><div class="codebox"><pre><code>fstab
/dev/sda14	/	ext4	defaults,noatime	0	1
/dev/mapper/home_fs	/home	ext4	defaults,noatime	0	2
/dev/sda10	swap	 swap	defaults	0	0

crypttab
home_fs		/dev/sda15		none		luks</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Wed, 17 Jan 2018 11:53:43 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=7170#p7170</guid>
		</item>
		<item>
			<title><![CDATA[Re: booting Jessie: File system check failed.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=7169#p7169</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>If you lost your home directory after editing files, you should restore those files to their previous working state. Exactly what edits did you do?</p></div></blockquote></div><p>Previous state was created by installer:</p><div class="codebox"><pre><code>fstab
/dev/sda14	/	ext4	defaults,noatime	0	1
/dev/sda15	/home	ext4	defaults,noatime	0	2
/dev/sda10	swap	swap	defaults	0	0

crypttab
home_fs		/dev/sda15		none		luks</code></pre></div><p>But it causes boot error - see original post.</p><p>I tried these changes - see post #10</p>]]></description>
			<author><![CDATA[dummy@example.com (boycottsystemd)]]></author>
			<pubDate>Wed, 17 Jan 2018 07:25:45 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=7169#p7169</guid>
		</item>
		<item>
			<title><![CDATA[Re: booting Jessie: File system check failed.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=7168#p7168</link>
			<description><![CDATA[<p>If you lost your home directory after editing files, you should restore those files to their previous working state. Exactly what edits did you do?</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Wed, 17 Jan 2018 02:53:43 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=7168#p7168</guid>
		</item>
		<item>
			<title><![CDATA[Re: booting Jessie: File system check failed.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=7165#p7165</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>That doesn&#039;t make sense. If it was working before you commented those lines, it should work again when you uncomment them. Where is that volume already mounted or mapped?</p><p>Look at the output of </p><div class="codebox"><pre><code>df -h
mount
ls -l /dev/mapper/</code></pre></div></div></blockquote></div><p>I&#039;ve never been using both commented and uncommented lines at the same time. There is password prompt in infinite loop so I can&#039;t switch to command prompt.</p>]]></description>
			<author><![CDATA[dummy@example.com (boycottsystemd)]]></author>
			<pubDate>Tue, 16 Jan 2018 18:52:59 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=7165#p7165</guid>
		</item>
		<item>
			<title><![CDATA[Re: booting Jessie: File system check failed.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=7164#p7164</link>
			<description><![CDATA[<p>That doesn&#039;t make sense. If it was working before you commented those lines, it should work again when you uncomment them. Where is that volume already mounted or mapped?</p><p>Look at the output of </p><div class="codebox"><pre><code>df -h
mount
ls -l /dev/mapper/</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Tue, 16 Jan 2018 15:39:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=7164#p7164</guid>
		</item>
		<item>
			<title><![CDATA[Re: booting Jessie: File system check failed.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=7163#p7163</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>It makes sense that your /home is not visible after you comment out the lines for /home in fstab and cryupttab. That&#039;s not the right solution.</p><p>1. Boot a live CD/DVD/USB<br />2. As root, run:</p><div class="codebox"><pre><code>cryptsetup luksOpen /dev/sda15 homefs
fsck /dev/mapper/homefs</code></pre></div><p>3. When that&#039;s done, you can fix those two files:</p><div class="codebox"><pre><code>mount /dev/mapper/homefs /mnt</code></pre></div><p>Then edit fstab and crypttab to uncomment the lines you commented.<br />4. Finish</p><div class="codebox"><pre><code>umount /mnt
cryptsetup luksClose homefs</code></pre></div><p>5. Reboot into the installed system.</p></div></blockquote></div><p>Thank you. <br />After uncommenting: </p><div class="codebox"><pre><code>Cannot use device /dev/disk/by-uuid/33e...-...-...  which is in use (already mapped or mounted)</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (boycottsystemd)]]></author>
			<pubDate>Tue, 16 Jan 2018 13:29:36 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=7163#p7163</guid>
		</item>
		<item>
			<title><![CDATA[Re: booting Jessie: File system check failed.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=7162#p7162</link>
			<description><![CDATA[<p>It makes sense that your /home is not visible after you comment out the lines for /home in fstab and cryupttab. That&#039;s not the right solution.</p><p>1. Boot a live CD/DVD/USB<br />2. As root, run:</p><div class="codebox"><pre><code>cryptsetup luksOpen /dev/sda15 homefs
fsck /dev/mapper/homefs</code></pre></div><p>3. When that&#039;s done, you can fix those two files:</p><div class="codebox"><pre><code>mount /dev/mapper/homefs /mnt</code></pre></div><p>Then edit fstab and crypttab to uncomment the lines you commented.<br />4. Finish</p><div class="codebox"><pre><code>umount /mnt
cryptsetup luksClose homefs</code></pre></div><p>5. Reboot into the installed system.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Tue, 16 Jan 2018 12:32:58 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=7162#p7162</guid>
		</item>
	</channel>
</rss>
