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

2007-05-09 Thread Frank Wissmann
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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2007-05-09 Thread Gabriel Rossetti
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?

Thank you,
Best regards,
Gabriel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2007-05-09 Thread Gabriel Rossetti
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?

 Thank you,
 Best regards,
 Gabriel
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

   
I get what happened... when I created my partitions, I had my old disk
installed, since I was booting from it, so the a-partition was already
taken, now that it is gone, I would have to rename it, is that possible?

Best regards,
Gabriel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2007-05-09 Thread Matthew Seaman
-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-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2007-05-09 Thread Frank Wissmann
Well, I think if you boot your computer from a cdrom and edit with 
bsdlabel you get into an editor where you can change the d into an a. 
That must be the solution you want.


Regards

Frank
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2007-05-09 Thread Alex Zbyslaw

Matthew Seaman wrote:


Gabriel Rossetti wrote:



How can I do that? When I use sysinstall to create my partitions it
automatically create's it as da0s1d. 


Use:

 bsdlabel -e da0s1
 

There's also a trick you can use in sysinstall.  It will only ever 
assign an a partition to /.  So if you have some partition which you 
know will act as a root partition, but isn't actually going to be one 
right now, *lie*.  Set the mount point to / and get assigned e.g. da0s1a 
then *change* the mountpoint with M (I think) back to whatever you're 
calling this partition right now e.g. /root2.  Make sure you turn off 
softupdates (S?) if changing the mountpoint turns them back on.  Once 
the a partition has been assigned, it won't be re-assigned just because 
you changed the mountpoint.


Of course, this means that you have to assign all the pseudo-root 
partitions before you assign any real root partition otherwise 
sysinstall will likely complain about the duplicate mountpoint.  (Or 
change the real root mountpoint, do your pseudo roots, then change the 
real root back to /).


Of course, it doesn't help you now, but if there's a next time...

--Alex


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2007-05-09 Thread Gabriel Rossetti
Frank Wissmann wrote:
 Well, I think if you boot your computer from a cdrom and edit with
 bsdlabel you get into an editor where you can change the d into an a.
 That must be the solution you want.

 Regards

 Frank
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

ok, thanks, I'll do that

Gabriel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2007-05-09 Thread Gabriel Rossetti
Alex Zbyslaw wrote:
 Matthew Seaman wrote:

 Gabriel Rossetti wrote:

 How can I do that? When I use sysinstall to create my partitions it
 automatically create's it as da0s1d.
 Use:

  bsdlabel -e da0s1
  

 There's also a trick you can use in sysinstall.  It will only ever
 assign an a partition to /.  So if you have some partition which you
 know will act as a root partition, but isn't actually going to be one
 right now, *lie*.  Set the mount point to / and get assigned e.g.
 da0s1a then *change* the mountpoint with M (I think) back to whatever
 you're calling this partition right now e.g. /root2.  Make sure you
 turn off softupdates (S?) if changing the mountpoint turns them back
 on.  Once the a partition has been assigned, it won't be re-assigned
 just because you changed the mountpoint.

 Of course, this means that you have to assign all the pseudo-root
 partitions before you assign any real root partition otherwise
 sysinstall will likely complain about the duplicate mountpoint.  (Or
 change the real root mountpoint, do your pseudo roots, then change the
 real root back to /).

 Of course, it doesn't help you now, but if there's a next time...

 --Alex



Thank you Alex, yes, like you said, there's always a next time :-)

Gabriel

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]