<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://freebsdwiki.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://freebsdwiki.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=GorillaSS</id>
		<title>FreeBSDwiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://freebsdwiki.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=GorillaSS"/>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Special:Contributions/GorillaSS"/>
		<updated>2026-04-30T20:41:03Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://freebsdwiki.net/index.php/GEOM_Boot_Problems,_fixing</id>
		<title>GEOM Boot Problems, fixing</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/GEOM_Boot_Problems,_fixing"/>
				<updated>2008-09-07T04:32:21Z</updated>
		
		<summary type="html">&lt;p&gt;GorillaSS: /* gmirror boot problems */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== gmirror boot problems ==&lt;br /&gt;
&lt;br /&gt;
'''How to fix boot problems caused by errors in loader.conf when using GEOM/GMIRROR'''&lt;br /&gt;
&lt;br /&gt;
Recently I had a problem where adding an entry into loader.conf caused my machine to fail at boot stage 3 (/boot/loader).  This problem was compounded by the fact my boot disks were running on a GEOM mirror; the GEOM module not being loaded by a FixIt cd and my inability to load it using kldload once FixIt was loaded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Background'''&lt;br /&gt;
I have scsi 4 disks on dual bus. Disks 1 and 3 are a gmirror (/dev/mirror/FreeBSD) and hold my whole FreeBSD install.  The other 2 are for data and are using setup using a zfs stripe (but not relevant).  After making an addition to /boot/loader.conf and rebooting, the bootstrap hangs at /boot/defaults/loader.conf.  So, I presumed the entry I just made was causing problems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Normally, booting to a FixIt CD, mounting /boot and editing the file would have resolved this sort of problem.  However, the geom_mirror module isn't loaded into the kernel by the disc and as such, there is no /dev/mirror/FreeBSDs1x to mount.  I was also unable to add the module manually because either kldload is unavailable from the CD; or it returned an error (I forget which now).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get around this problem I performed the following steps:&lt;br /&gt;
&lt;br /&gt;
'''1)''' break out to the loader prompt during boot from CD - ''select option 6''&lt;br /&gt;
&lt;br /&gt;
'''2)''' unload all the currently loaded modules - ''unload''.  I found this had to be done because just telling it to load geom_mirror, still didn't work.  It may have conflicted with another module.  All other necessary modules are loaded at a later stage anyway.&lt;br /&gt;
&lt;br /&gt;
'''3)''' tell loader to include geom_mirror - ''enable_module geom_mirror''&lt;br /&gt;
&lt;br /&gt;
'''4)''' carry on with boot, but when its ready to mount the root filesystem, stop and ask what to boot - ''boot -a -v''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will then continue with verbose output, then stop and return a ''mountroot&amp;gt;'' prompt.  ''?'' here shows a list of devices that can be mounted.  Specify your root partition and its filesystem.  I continued as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''5)''' mount gmirror / - ''ufs:mirror/FreeBSDs1a&lt;br /&gt;
&lt;br /&gt;
'''6)''' because this was a bit of trial and error I had to scan my filesytems.  So if you receive a root shell fsck the devices - ''fsck /dev/mirror/FreeBSDs1a, fsck /dev/mirror/FreeBSDs1b etc.''&lt;br /&gt;
'''7)''' your computer should continue to boot as it did before editing loader.conf.  Let it finish, login, remove your erroneous entries&lt;br /&gt;
'''8)''' remove your FixIt CD and reboot.  Your computer should now boot to its GEOM Mirror as before.&lt;/div&gt;</summary>
		<author><name>GorillaSS</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/GEOM_Boot_Problems,_fixing</id>
		<title>GEOM Boot Problems, fixing</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/GEOM_Boot_Problems,_fixing"/>
				<updated>2008-09-07T04:15:15Z</updated>
		
		<summary type="html">&lt;p&gt;GorillaSS: /* gmirror boot problems */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== gmirror boot problems ==&lt;br /&gt;
&lt;br /&gt;
'''How to fix boot problems caused by errors in loader.conf when using GEOM/GMIRROR'''&lt;br /&gt;
&lt;br /&gt;
Recently I had a problem where adding an entry into loader.conf caused my machine to fail at boot stage 3 (/boot/loader).  This problem was compounded by the fact my boot disks were running on a GEOM mirror; the GEOM module not being loaded by a FixIt cd and my inability to load it using kldload once FixIt was loaded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Background'''&lt;br /&gt;
I have scsi 4 disks on dual bus. Disks 1 and 3 are a gmirror (/dev/mirror/FreeBSD) and hold my whole FreeBSD install.  The other 2 are for data and are using setup using a zfs stripe (but not relevant).  After making an addition to /boot/loader.conf and rebooting, the bootstrap hangs at /boot/defaults/loader.conf.  So, I presumed the entry I just made was causing problems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Normally, booting to a FixIt CD, mounting /boot and editing the file would have resolved this sort of problem.  However, the geom_mirror module isn't loaded into the kernel by the disc and as such, there is no /dev/mirror/FreeBSDxxx to mount.  I was also unable to add the module manually because either kldload was unavailable; or it returned an error (I forget which now).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get around this problem I performed the following steps:&lt;br /&gt;
&lt;br /&gt;
'''1)''' break out to the loader prompt during boot from CD - ''select option 6''&lt;br /&gt;
&lt;br /&gt;
'''2)''' unload all the currently loaded modules - ''unload''.  I found this had to be done because just telling it to load geom_mirror, still didn't work.  It may have conflicted with another module.  All other necessary modules are loaded at a later stage anyway.&lt;br /&gt;
&lt;br /&gt;
'''3)''' tell loader to include geom_mirror - ''enable_module geom_mirror''&lt;br /&gt;
&lt;br /&gt;
'''4)''' carry on with boot, but when its ready to mount the root filesystem, stop and ask what to boot - ''boot -a -v''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will then continue with verbose output, then stop and return a ''mountroot&amp;gt;'' prompt.  ''?'' here shows a list of devices that can be mounted.  Specify your root partition and its filesystem.  I continued as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''5)''' mount gmirror / - ''ufs:mirror/FreeBSDs1a&lt;br /&gt;
&lt;br /&gt;
'''6)''' because this was a bit of trial and error I had to scan my filesytems.  So if you receive a root shell fsck the devices - ''fsck /dev/mirror/FreeBSDs1a, fsck /dev/mirror/FreeBSDs1b etc.''&lt;br /&gt;
'''7)''' your computer should continue to boot as it did before editing loader.conf.  Let it finish, login, remove your erroneous entries&lt;br /&gt;
'''8)''' remove your FixIt CD and reboot.  Your computer should now boot to its GEOM Mirror as before.&lt;/div&gt;</summary>
		<author><name>GorillaSS</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/GEOM_Boot_Problems,_fixing</id>
		<title>GEOM Boot Problems, fixing</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/GEOM_Boot_Problems,_fixing"/>
				<updated>2008-09-07T04:14:27Z</updated>
		
		<summary type="html">&lt;p&gt;GorillaSS: /* gmirror boot problems */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== gmirror boot problems ==&lt;br /&gt;
&lt;br /&gt;
'''How to fix boot problems caused by errors in loader.conf when using GEOM/GMIRROR'''&lt;br /&gt;
&lt;br /&gt;
Recently I had a problem where adding an entry into loader.conf caused my machine to fail at boot stage 3 (/boot/loader).  This problem was compounded by the fact my boot disks were running on a GEOM mirror; the GEOM module not being loaded by a FixIt cd and my inability to load it using kldload once FixIt was loaded.&lt;br /&gt;
&lt;br /&gt;
'''Background'''&lt;br /&gt;
I have scsi 4 disks on dual bus. Disks 1 and 3 are a gmirror (/dev/mirror/FreeBSD) and hold my whole FreeBSD install.  The other 2 are for data and are using setup using a zfs stripe (but not relevant).  After making an addition to /boot/loader.conf and rebooting, the bootstrap hangs at /boot/defaults/loader.conf.  So, I presumed the entry I just made was causing problems.&lt;br /&gt;
&lt;br /&gt;
Normally, booting to a FixIt CD, mounting /boot and editing the file would have resolved this sort of problem.  However, the geom_mirror module isn't loaded into the kernel by the disc and as such, there is no /dev/mirror/FreeBSDxxx to mount.  I was also unable to add the module manually because either kldload was unavailable; or it returned an error (I forget which now).&lt;br /&gt;
&lt;br /&gt;
To get around this problem I performed the following steps:&lt;br /&gt;
&lt;br /&gt;
'''1)''' break out to the loader prompt during boot from CD - ''select option 6''&lt;br /&gt;
&lt;br /&gt;
'''2)''' unload all the currently loaded modules - ''unload''.  I found this had to be done because just telling it to load geom_mirror, still didn't work.  It may have conflicted with another module.  All other necessary modules are loaded at a later stage anyway.&lt;br /&gt;
&lt;br /&gt;
'''3)''' tell loader to include geom_mirror - ''enable_module geom_mirror''&lt;br /&gt;
&lt;br /&gt;
'''4)''' carry on with boot, but when its ready to mount the root filesystem, stop and ask what to boot - ''boot -a -v''&lt;br /&gt;
&lt;br /&gt;
This will then continue with verbose output, then stop and return a ''mountroot&amp;gt;'' prompt.  ''?'' here shows a list of devices that can be mounted.  Specify your root partition and its filesystem.  I continued as follows:&lt;br /&gt;
&lt;br /&gt;
'''5)''' mount gmirror / - ''ufs:mirror/FreeBSDs1a&lt;br /&gt;
&lt;br /&gt;
'''6)''' because this was a bit of trial and error I had to scan my filesytems.  So if you receive a root shell fsck the devices - ''fsck /dev/mirror/FreeBSDs1a, fsck /dev/mirror/FreeBSDs1b etc.''&lt;br /&gt;
'''7)''' your computer should continue to boot as it did before editing loader.conf.  Let it finish, login, remove your erroneous entries&lt;br /&gt;
'''8)''' remove your FixIt CD and reboot.  Your computer should now boot to its GEOM Mirror as before.&lt;/div&gt;</summary>
		<author><name>GorillaSS</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/GEOM_Boot_Problems,_fixing</id>
		<title>GEOM Boot Problems, fixing</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/GEOM_Boot_Problems,_fixing"/>
				<updated>2008-09-07T04:13:45Z</updated>
		
		<summary type="html">&lt;p&gt;GorillaSS: /* gmirror boot problems */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== gmirror boot problems ==&lt;br /&gt;
&lt;br /&gt;
'''How to fix boot problems caused by errors in loader.conf when using GEOM/GMIRROR'''&lt;br /&gt;
&lt;br /&gt;
Recently I had a problem where adding an entry into loader.conf caused my machine to fail at boot stage 3 (/boot/loader).  This problem was compounded by the fact my boot disks were running on a GEOM mirror; the GEOM module not being loaded by a FixIt cd and my inability to load it using kldload once FixIt was loaded.&lt;br /&gt;
&lt;br /&gt;
'''Background'''&lt;br /&gt;
I have scsi 4 disks on dual bus. Disks 1 and 3 are a gmirror (/dev/mirror/FreeBSD) and hold my whole FreeBSD install.  The other 2 are for data and are using setup using a zfs stripe (but not relevant).  After making an addition to /boot/loader.conf and rebooting, the bootstrap hangs at /boot/defaults/loader.conf.  So, I presumed the entry I just made was causing problems.&lt;br /&gt;
&lt;br /&gt;
Normally, booting to a FixIt CD, mounting /boot and editing the file would have resolved this sort of problem.  However, the geom_mirror module isn't loaded into the kernel by the disc and as such, there is no /dev/mirror/FreeBSDxxx to mount.  I was also unable to add the module manually because either kldload was unavailable; or it returned an error (I forget which now).&lt;br /&gt;
&lt;br /&gt;
To get around this problem I performed the following steps:&lt;br /&gt;
&lt;br /&gt;
'''1)''' break out to the loader prompt during boot from CD - ''select option 6''&lt;br /&gt;
'''2)''' unload all the currently loaded modules - ''unload''.  I found this had to be done because just telling it to load geom_mirror, still didn't work.  It may have conflicted with another module.  All other necessary modules are loaded at a later stage anyway.&lt;br /&gt;
'''3)''' tell loader to include geom_mirror - ''enable_module geom_mirror''&lt;br /&gt;
'''4)''' carry on with boot, but when its ready to mount the root filesystem, stop and ask what to boot - ''boot -a -v''&lt;br /&gt;
&lt;br /&gt;
This will then continue with verbose output, then stop and return a ''mountroot&amp;gt;'' prompt.  ''?'' here shows a list of devices that can be mounted.  Specify your root partition and its filesystem.  I continued as follows:&lt;br /&gt;
&lt;br /&gt;
'''5)''' mount gmirror / - ''ufs:mirror/FreeBSDs1a&lt;br /&gt;
'''6)''' because this was a bit of trial and error I had to scan my filesytems.  So if you receive a root shell fsck the devices - ''fsck /dev/mirror/FreeBSDs1a, fsck /dev/mirror/FreeBSDs1b etc.''&lt;br /&gt;
'''7)''' your computer should continue to boot as it did before editing loader.conf.  Let it finish, login, remove your erroneous entries&lt;br /&gt;
'''8)''' remove your FixIt CD and reboot.  Your computer should now boot to its GEOM Mirror as before.&lt;/div&gt;</summary>
		<author><name>GorillaSS</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/GEOM_Boot_Problems,_fixing</id>
		<title>GEOM Boot Problems, fixing</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/GEOM_Boot_Problems,_fixing"/>
				<updated>2008-09-07T03:52:51Z</updated>
		
		<summary type="html">&lt;p&gt;GorillaSS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== gmirror boot problems ==&lt;br /&gt;
&lt;br /&gt;
'''How to fix boot problems caused by errors in loader.conf when using GEOM/GMIRROR'''&lt;br /&gt;
&lt;br /&gt;
Recently I had a problem where adding an entry into loader.conf caused my machine to fail at boot stage 3 (/boot/loader).  This problem was compounded by the fact my boot disks were running on a GEOM mirror; the GEOM module not being loaded by a FixIt cd and my inability to load it using kldload once FixIt was loaded.&lt;br /&gt;
&lt;br /&gt;
'''Background'''&lt;br /&gt;
I have scsi 4 disks on dual bus. Disks 1 and 3 are a gmirror (/dev/mirror/FreeBSD) and hold my whole FreeBSD install.  The other 2 are for data and are using setup using a zfs stripe (but not relevant).  After making an addition to /boot/loader.conf and rebooting, the bootstrap hangs at /boot/defaults/loader.conf.  So, I presumed the entry I just made was causing problems.&lt;br /&gt;
&lt;br /&gt;
Normally, booting to a FixIt CD, mounting /boot and editing the file would have resolved this sort of problem.  However, the geom_mirror module isn't loaded into the kernel by the disc and as such, there is no /dev/mirror/FreeBSDxxx to mount.  I was also unable to add the module manually because either kldload was unavailable; or it returned an error (I forget which now).&lt;br /&gt;
&lt;br /&gt;
To get around this problem I performed the following steps:&lt;br /&gt;
&lt;br /&gt;
1) break out to the loader prompt during boot from CD&lt;/div&gt;</summary>
		<author><name>GorillaSS</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/User:GorillaSS</id>
		<title>User:GorillaSS</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/User:GorillaSS"/>
				<updated>2008-09-07T03:11:21Z</updated>
		
		<summary type="html">&lt;p&gt;GorillaSS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Fixing GEOM Boot Problems]]&lt;/div&gt;</summary>
		<author><name>GorillaSS</name></author>	</entry>

	</feed>