Can't get FreeBSD to boot automatically from RAID 5 system

Matthew Seaman m.seaman at infracaninophile.co.uk
Wed May 9 12:43:39 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Gabriel Rossetti wrote:
> Frank Wissmann wrote:
>> FreeBSD boots by default from the a-partition and IMK you can't change
>> this. Try to setup your rootdev as disk0s1a instead of disk0s1d and it
>> will work.
>>
>> Regards
>>
>> Frank
>>
> How can I do that? When I use sysinstall to create my partitions it
> automatically create's it as da0s1d. If you ment to modify my
> root_dev="disk0s1b"  (in /boot/default/loader.conf) back to it's default
> value (an a-partition) Then how is this going to help?

Use:

  bsdlabel -e da0s1

You'll be dumped into an editor showing the existing disklabel.  All
you need to do is swap the 'a' and 'd' fields at the start of those two
lines, or just change 'd' to 'a' if there isn't already an 'a'
partition.

Then edit your /etc/fstab to match.

And reboot.

	Simple,

	Matthew


- --
Dr Matthew J Seaman MA, D.Phil.                       Flat 3
                                                      7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW, UK
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGQcHb3jDkPpsZ+VYRA/NCAKCpekEMdQR8IRZjjSAT1tgkFvov9gCgq0ed
P3Bx7Rv3qqILvCJUOirQszk=
=1uKv
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list