Re: Must root be on slice 'a'?

2003-12-23 Thread Harald Schmalzbauer
On Monday 22 December 2003 17:27, Leif Neland wrote:
 http://geodsoft.com/howto/dualboot/freebsd.htm
 writes this:To install a new FreeBSD system, you must create a new '/' file
 system at a minimum. If you do this in a slice with an existing '/'
 partition the previous system will become inaccessible. You can normally
 tell that there is a previous '/' mounted in the current slice, if any
 existing partition name ends in an 'a'.

 Does this imply that I must rename my slices, that I can't boot from
 /dev/ad1s3e ?

Right. Root always must be label a. You don't have to change slices.
But you can compile something different in the kernel:
options ROOTDEVNAME=\ufs:da0s2e\

AFAIK it should bee possible to also change the root device in 1st bootstage
See man (8) boot

-Harry


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


pgp0.pgp
Description: signature


Re: Must root be on slice 'a'?

2003-12-23 Thread Leif Neland


On Tue, 23 Dec 2003, Harald Schmalzbauer wrote:

 On Monday 22 December 2003 17:27, Leif Neland wrote:
  Does this imply that I must rename my slices, that I can't boot from
  /dev/ad1s3e ?

 Right. Root always must be label a. You don't have to change slices.
 But you can compile something different in the kernel:
 options ROOTDEVNAME=\ufs:da0s2e\

If the bootloader will not accept 2:ad(2,e), I don't think it matters what
I compile into the kernel.

 AFAIK it should bee possible to also change the root device in 1st bootstage
 See man (8) boot

I used disklabel to rename the slices, so now I have booted from the new
root.

Leif


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


Re: Must root be on slice 'a'?

2003-12-23 Thread Garance A Drosihn
At 5:27 PM +0100 12/22/03, Leif Neland wrote:
Does this imply that I must rename my slices, that I can't
boot from /dev/ad1s3e ?
It is possible to boot from other slices than 'a', but you
want to do automatic boot-ups (ie, without needing to type
commands into the boot loader), you will find it much easier
to use slice 'a' for root, and to have that slice labelled 'a'
be the first slice in the DOS-style partition.
--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Must root be on slice 'a'?

2003-12-23 Thread Jerry McAllister
 
 At 5:27 PM +0100 12/22/03, Leif Neland wrote:
 
 Does this imply that I must rename my slices, that I can't
 boot from /dev/ad1s3e ?
 
 It is possible to boot from other slices than 'a', but you
 want to do automatic boot-ups (ie, without needing to type
 commands into the boot loader), you will find it much easier
 to use slice 'a' for root, and to have that slice labelled 'a'
 be the first slice in the DOS-style partition.

Just be careful on your terminology.   The neither the 'a' nor
the 'e' partition is a slice.  In your example above, the slice 
is '3' which has in it a partition called 'e'.   You are using 
the terms backwards.

So, it is disk 1, slice 3, partition e above.

Otherwise I think the answer is correct.   It is overall better
to set up your disk so that your root and boot partition is 'a'
in whichever slice you boot from.   For many things this is the 
default and there may be some things that just plain assume this.

Enjoy,

jerry

 -- 
 Garance Alistair Drosehn=   [EMAIL PROTECTED]
 Senior Systems Programmer   or  [EMAIL PROTECTED]
 Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]
 ___
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]