<?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=3063&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Installing Devuan on a 2007(!) iMac]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=3063</link>
		<description><![CDATA[The most recent posts in Installing Devuan on a 2007(!) iMac.]]></description>
		<lastBuildDate>Sun, 13 Oct 2019 09:04:54 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Installing Devuan on a 2007(!) iMac]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18223#p18223</link>
			<description><![CDATA[<p>to install debian on my macmini 2006 i&#160; used &quot;refit&quot; tool first, and then after installation of the linux distro via cd used the included partition tool to update the partition table.<br />afterwards some linux distro would sometimes not boot with refit, so i installed refind over it (and choosing no to remove refit partition tool ) and then upon reboot would boot linux grub from within refind.</p><p>debian SQUEEZE not STRETCH was the best option at that time, alongside with debian wheezy and lubuntu.<br />ubuntu cd for some strange reason very often didn&#039;t get picked up by the apple machine for some reason or did not allow to boot.</p>]]></description>
			<author><![CDATA[dummy@example.com (kapqa)]]></author>
			<pubDate>Sun, 13 Oct 2019 09:04:54 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18223#p18223</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing Devuan on a 2007(!) iMac]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=17994#p17994</link>
			<description><![CDATA[<p>I run devuan ASCII on a 2006 iMac 6,1. The install is _very_ tedious.<br />Debian Wheezy is the most recent installer that will boot. Anything later leaves you with a black screen and you can&#039;t even persuade the install disc to boot.</p><p>Install the most basic debian wheezy possible - about 160 packages. No X no desktop no nothing.<br />dist-upgrade to stretch, clean up unneeded packages etc.<br />Then follow the instructions for changing from Debian Stretch to Devuan ASCII.<br />Then install X and whatever desktop and stuff you want.<br />I use LILO as the boot loader because I don&#039;t need any of the features of grub.</p><p>Have a read of <a href="https://forums.freebsd.org/threads/intel-imac-6-1-install-failure.48596/" rel="nofollow">https://forums.freebsd.org/threads/inte … ure.48596/</a> which documents my attempt to get FreeBSD installed and a bit more as well. I did it as a resource for anybody trying to get linux or bsd up and running an an old intel iMac.</p><p>The FreeBSD installer won&#039;t boot because it can&#039;t handle the 32bit EFI.<br />No derivatives of FreeBSD will boot for the same reason.<br />NetBSD and OpenBSD work well but no sound. There is a bug in the sound chip that linux fixed a decade or more ago but the BSDS never got around to it!<br />TinyCore linux boots.<br />Debian Wheezy boots.<br />Fedora 14 boots.</p>]]></description>
			<author><![CDATA[dummy@example.com (DaveT)]]></author>
			<pubDate>Sun, 22 Sep 2019 16:42:15 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=17994#p17994</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing Devuan on a 2007(!) iMac]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=17951#p17951</link>
			<description><![CDATA[<p>Perhaps it&#039;s worth trying an <span class="bbc">extlinux</span> boot rather than grub. There&#039;s an excellent instruction for this at <a href="https://wiki.syslinux.org/wiki/index.php?title=EXTLINUX" rel="nofollow">https://wiki.syslinux.org/wiki/index.php?title=EXTLINUX</a>, and in general it involves 3 steps:</p><ol class="decimal"><li><p>install the <span class="bbc">extlinux</span> package</p></li><li><p>run its boot loader installer (which replaces grub&#039;s boot loader on MBR)</p></li><li><p>prepare the boot configuration for your system</p></li></ol><p>Notionally it follows the same procedure as a grub boot; that the boot loader loads the configuration file, which points out where the kernel and initrd are found, and then it runs that kernel. The differences between them are probably plenty in the nitty-gritty, most of which I don&#039;t know anything about.</p><p>For your system, I think the configuration file <span class="bbc">/boot/extlinux/extlinux.conf</span> could be along the lines of</p><div class="codebox"><pre><code>DEFAULT Devuan
SAY Now booting Devuan using exlinux just like Ralph said...
LABEL Devuan
    KERNEL /vmlinuz
    APPEND ro root=/dev/sda1 initrd=/initrd.img vga=auto nomodeset</code></pre></div><p>Check out <a href="https://wiki.syslinux.org/wiki/index.php?title=Config" rel="nofollow">https://wiki.syslinux.org/wiki/index.php?title=Config</a> for details and extras. Note that I dropped in a <span class="bbc">nomodeset</span> kernel boot parameter just for illustration.</p><p><span class="bbc">extlinux</span> and <span class="bbc">grub</span> are alternative bootstrap solutions, and while you may have them both installed in the sense of their software and configurations residing on the file system, the one whose boot loader gets installed to MBR (i.e., disk block zero) is the ruling one, and you may as well purge the one you are not using. As always with these things, some people prefer the one and others prefer the other, and many people don&#039;t care either way as long as it works.</p><p>Final note: the installation disk probably uses extlinux.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Fri, 20 Sep 2019 12:57:00 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=17951#p17951</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing Devuan on a 2007(!) iMac]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=17950#p17950</link>
			<description><![CDATA[<div class="quotebox"><cite>Lomax wrote:</cite><blockquote><div><div class="quotebox"><cite>ralph.ronnquist wrote:</cite><blockquote><div><p>I think <span class="bbc">update-grub</span> uses <span class="bbc">blkid</span> information about partitions, not <span class="bbc">fstab</span>.</p></div></blockquote></div><p>Ah, many thanks, that clears things up! </p><div class="quotebox"><cite>ralph.ronnquist wrote:</cite><blockquote><div><p>everything works like magic <img src="https://dev1galaxy.org/img/smilies/cool.png" width="15" height="15" alt="cool" /></p></div></blockquote></div><p>Well... Considering I can&#039;t even get this thing to boot... </p><p>How is it that I can boot in rescue mode and chroot to /dev/sda1 but grub can&#039;t boot at all? The disk is clearly there, and it clearly has all the right bits on it. This <em>should</em> be a doddle, surely?</p></div></blockquote></div><p>Did you modify /etc/default/grub as ralph mentioned? Then update-grub ?</p>]]></description>
			<author><![CDATA[dummy@example.com (HevyDevy)]]></author>
			<pubDate>Fri, 20 Sep 2019 12:28:25 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=17950#p17950</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing Devuan on a 2007(!) iMac]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=17948#p17948</link>
			<description><![CDATA[<div class="quotebox"><cite>ralph.ronnquist wrote:</cite><blockquote><div><p>I think <span class="bbc">update-grub</span> uses <span class="bbc">blkid</span> information about partitions, not <span class="bbc">fstab</span>.</p></div></blockquote></div><p>Ah, many thanks, that clears things up! </p><div class="quotebox"><cite>ralph.ronnquist wrote:</cite><blockquote><div><p>everything works like magic <img src="https://dev1galaxy.org/img/smilies/cool.png" width="15" height="15" alt="cool" /></p></div></blockquote></div><p>Well... Considering I can&#039;t even get this thing to boot... </p><p>How is it that I can boot in rescue mode and chroot to /dev/sda1 but grub can&#039;t boot at all? The disk is clearly there, and it clearly has all the right bits on it. This <em>should</em> be a doddle, surely?</p>]]></description>
			<author><![CDATA[dummy@example.com (Lomax)]]></author>
			<pubDate>Fri, 20 Sep 2019 10:41:00 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=17948#p17948</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing Devuan on a 2007(!) iMac]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=17943#p17943</link>
			<description><![CDATA[<p>I think <span class="bbc">update-grub</span> uses <span class="bbc">blkid</span> information about partitions, not <span class="bbc">fstab</span>. Therefore, it will install that uuid into <span class="bbc">grub.cfg</span> regardless. Then upon boot, it&#039;s view of partitions fails to use those uuids, for whatever reasons.</p><p>A quick glance at <span class="bbc">man update-grub</span> leads to <span class="bbc">man grub-mkconfig</span>, which leads to <span class="bbc">info grub-mkconfig</span> (it&#039;s always good to make documentation hard to find, isn&#039;t it <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" />), which suggests that you should put <span class="bbc">GRUB_DISABLE_LINUX_UUID=true</span> in <span class="bbc">/etc/default/grub</span> to avoid using uuid as partition identifications in <span class="bbc">grub.cfg</span>, and instead use the &quot;hardware path&quot;, which would be <span class="bbc">/dev/sda1</span> (i.e. grub refers to &quot;where&quot; the partition is, rather than via its content).</p><p>Then you need another <span class="bbc">update-grub</span> to execute that wish, and everything works like magic <img src="https://dev1galaxy.org/img/smilies/cool.png" width="15" height="15" alt="cool" /></p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Thu, 19 Sep 2019 23:39:24 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=17943#p17943</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing Devuan on a 2007(!) iMac]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=17942#p17942</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><div class="quotebox"><blockquote><div><p>Gave up waiting for suspend/resume device</p></div></blockquote></div><p>This one can often be fixed by adding <span class="bbc">RESUME=none</span> to /etc/initramfs-tools/initramfs.conf and then running <span class="bbc">update-initramfs -u</span> or my manually unpacking the initrd and removing the resume file before repacking it. I suppose it would also be valid to put the correct swap uuid in the resume file if you&#039;re planning to hibernate.</p></div></blockquote></div><p>Good tips, thanks! I did notice it crashing on resume from suspend when I booted with <span class="bbc">nomodeset</span>. At this stage though, just getting it to boot with GPU acceleration is my #1 concern. For which this might be the answer: <a href="https://www.rodsbooks.com/refind/features.html" rel="nofollow">https://www.rodsbooks.com/refind/features.html</a></p><div class="quotebox"><blockquote><div><p>Provide the gptsync utility for creating hybrid MBRs. Note that rEFInd&#039;s version of gptsync is significantly updated compared to rEFIt&#039;s. Also, this tool should be used only on Macs that dual-boot with a BIOS-based OS, such as Windows; or very rarely on other computers.</p></div></blockquote></div><p><strong>Edit:</strong> I&#039;m still curious though; where does it get the idea to try booting from a UUID when no such reference should be present any more? Doesn&#039;t fstab inform <span class="bbc">update-grub</span> which partitions are available? Not that I think this would fix the problem (the UUIDs did match) but it&#039;s just not what I expected to see.</p>]]></description>
			<author><![CDATA[dummy@example.com (Lomax)]]></author>
			<pubDate>Thu, 19 Sep 2019 21:59:30 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=17942#p17942</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing Devuan on a 2007(!) iMac]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=17941#p17941</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>Gave up waiting for suspend/resume device</p></div></blockquote></div><p>This one can often be fixed by adding <span class="bbc">RESUME=none</span> to /etc/initramfs-tools/initramfs.conf and then running <span class="bbc">update-initramfs -u</span> or my manually unpacking the initrd and removing the resume file before repacking it. I suppose it would also be valid to put the correct swap uuid in the resume file if you&#039;re planning to hibernate.</p><div class="quotebox"><blockquote><div><p>Gave up waiting for root file system device</p></div></blockquote></div><p>I don&#039;t know an initrd edit for this. You could try adding rootdelay=10 to the linux line in grub.cfg as suggested in the screen. If you know your way around grub command line, you could muck around there and see if you can find the root device yourself.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Thu, 19 Sep 2019 20:30:44 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=17941#p17941</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing Devuan on a 2007(!) iMac]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=17940#p17940</link>
			<description><![CDATA[<p>Uncredibly inbelievable.</p><p><span class="postimg"><img src="https://i.imgur.com/7rP1iUB.png" alt="7rP1iUB.png" /></span></p><p><span class="postimg"><img src="https://i.imgur.com/6pD1Hw3.png" alt="6pD1Hw3.png" /></span></p>]]></description>
			<author><![CDATA[dummy@example.com (Lomax)]]></author>
			<pubDate>Thu, 19 Sep 2019 18:29:02 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=17940#p17940</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing Devuan on a 2007(!) iMac]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=17938#p17938</link>
			<description><![CDATA[<div class="quotebox"><cite>ralph.ronnquist wrote:</cite><blockquote><div><p>replace that to say <span class="bbc">/dev/sda1</span> instead.</p></div></blockquote></div><p>I had the same thought, but first forgot to run <span class="bbc">update-grub</span> after making the change, and was surprised to still see <em>the same error</em>. So I went back to the rescue shell, verified that fstab was still the same (with /dev/sda1 and /dev/sda2 instead of UUIDs), then I ran <span class="bbc">update-initramfs -u</span> and <span class="bbc">update-grub</span>. Guess what; I STILL GET THE SAME BLOODY MESSAGE! How can it complain about a missing UUID when none are present? </p><div class="quotebox"><cite>ralph.ronnquist wrote:</cite><blockquote><div><p>And you would &quot;activate&quot; the swap space by replacing <span class="bbc">#UUID=b10e083f-db41-40e4-ac56-13e66da6ee32</span> (including the <span class="bbc">#</span>) with <span class="bbc">/dev/sda2</span>.</p></div></blockquote></div><p>Ah yes, that was just a typo (in my post); the swap partition was always active - I had only commented it out prior to copying in order to change to /dev/sda2. </p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>Does your laptop normally boot in uefi mode, like the one in the article you posted? Have you tried installing with gpt and uefi? Do you know if it needs a 32-bit bootloader to do that? If so, there&#039;s a way to use the amd64 desktop-live iso to install on such a system.*</p></div></blockquote></div><p>It&#039;s not a laptop, it&#039;s a <a href="https://everymac.com/systems/apple/imac/specs/imac-core-2-duo-2.0-17-inch-specs.html" rel="nofollow">white Core 2 Duo iMac</a>. It normally boots in EFI mode (this machine is pre-UEFI), but the GPU stops working at <span class="bbc">modeset</span> with EFI boot. As <a href="https://www.reddit.com/r/linux/comments/4pry3i/i_couldnt_find_any_current_info_on_getting_a/d4nri1d/" rel="nofollow">the thread on Reddit I linked to</a> makes clear, those iMacs included a &quot;BIOS emulation mode&quot; for compatibility with BootCamp - and this is automatically activated when booting from a disk with a MBR/msdos partition table (there is no GUI for activating this). The GPU (Radeon) works under Linux in BIOS compatibility mode - and that&#039;s precisely <em>why</em> I&#039;m battling with all this. As for AMD64 vs i386, from everymac.com: </p><div class="quotebox"><blockquote><div><p>&quot;Although it has a 64-bit processor, it has a 32-bit EFI and is not capable of booting into 64-bit mode.&quot;</p></div></blockquote></div><p>It also cannot accept more than 4Gb of RAM, so no need for 64-bit addressing - or indeed even PAE. </p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>It sounds like Ralph identified the problem. Get rid of that erroneous uuid, and it should work. (Run blkid to prove that the uuid doesn&#039;t exist, if you haven&#039;t already done that.)</p></div></blockquote></div><p>Already done that; the UUIDs both match <em>exatly</em> what <del>is</del> was in fstab.</p><p><strong>Edit:</strong> Better photos below.</p>]]></description>
			<author><![CDATA[dummy@example.com (Lomax)]]></author>
			<pubDate>Thu, 19 Sep 2019 17:00:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=17938#p17938</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing Devuan on a 2007(!) iMac]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=17934#p17934</link>
			<description><![CDATA[<p>Does your laptop normally boot in uefi mode, like the one in the article you posted? Have you tried installing with gpt and uefi? Do you know if it needs a 32-bit bootloader to do that? If so, there&#039;s a way to use the amd64 desktop-live iso to install on such a system.*</p><p>It sounds like Ralph identified the problem. Get rid of that erroneous uuid, and it should work. (Run blkid to prove that the uuid doesn&#039;t exist, if you haven&#039;t already done that.)</p><p>* You would install the grub-efi-ia32 package that&#039;s in the root of the live system before you run the installer. When it asks about installing the bootloader, say No. Then run the installer, and when that asks about bootloader, let it install. <br />This was tested at least one time, on a macbook pro, by someone other than me.</p><p>_</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Thu, 19 Sep 2019 14:43:07 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=17934#p17934</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing Devuan on a 2007(!) iMac]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=17933#p17933</link>
			<description><![CDATA[<p>The core problem seems to be with the partition identifier for the root file system. At some time it was <span class="bbc">9cb7fe29-135e-4471-8b2c-d3e08d6ad44f</span>, and now it appears to be something else. But that identifier has got into <span class="bbc">/etc/fstab</span>.</p><p>So replace that to say <span class="bbc">/dev/sda1</span> instead.</p><p>And you would &quot;activate&quot; the swap space by replacing <span class="bbc">#UUID=b10e083f-db41-40e4-ac56-13e66da6ee32</span> (including the <span class="bbc">#</span>) with <span class="bbc">/dev/sda2</span>.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Thu, 19 Sep 2019 14:21:36 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=17933#p17933</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing Devuan on a 2007(!) iMac]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=17932#p17932</link>
			<description><![CDATA[<div class="quotebox"><cite>HevyDevy wrote:</cite><blockquote><div><p>try wiping out the grub config file.</p></div></blockquote></div><p>Isn&#039;t that what I&#039;ve already done? Like <em>three times</em> by now? The result is exactly the same anyway.</p>]]></description>
			<author><![CDATA[dummy@example.com (Lomax)]]></author>
			<pubDate>Thu, 19 Sep 2019 14:08:44 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=17932#p17932</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing Devuan on a 2007(!) iMac]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=17930#p17930</link>
			<description><![CDATA[<p>try wiping out the grub config file.</p><p><span class="bbc">sudo rm /boot/grub/grub.cfg</span></p><p>Then <span class="bbc">sudo update-grub</span> or&#160; <span class="bbc">sudo grub-mkconfig -o /boot/grub/grub.cfg</span></p>]]></description>
			<author><![CDATA[dummy@example.com (HevyDevy)]]></author>
			<pubDate>Thu, 19 Sep 2019 13:33:06 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=17930#p17930</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing Devuan on a 2007(!) iMac]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=17929#p17929</link>
			<description><![CDATA[<p>If I was paid the minimum wage for doing this I&#039;d soon be able to buy a brand new iMac (or whatever they&#039;re called these days). Not that I ever would, of course. Get paid I mean. Or buy a Mac.</p><p><strong>Edit:</strong> What&#039;s all this talk about a &quot;hybrid&quot; partition table anyway? Apparently the Macs use some kind of MBR within GPT PT, to allow dual booting with Windows or something like that - but I&#039;ll be damned if I had a clue how to create one! <a href="https://www.reddit.com/r/linux/comments/4pry3i/i_couldnt_find_any_current_info_on_getting_a/" rel="nofollow">This guy didn&#039;t seem to need one</a>: </p><div class="quotebox"><blockquote><div><p>I fired up GParted and created an MBR table and a FAT32 partition and ran the installer. It installed, rebooted, and now she has a fast, perfectly usable machine with full acceleration and everything works, even standby/sleep and WiFi.</p></div></blockquote></div>]]></description>
			<author><![CDATA[dummy@example.com (Lomax)]]></author>
			<pubDate>Thu, 19 Sep 2019 13:25:43 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=17929#p17929</guid>
		</item>
	</channel>
</rss>
