Re: FreeBSD installation doesn't work

2008-09-20 Thread Mel
On Friday 19 September 2008 12:17:35 Oliver Fromme wrote:
 Oliver Fromme [EMAIL PROTECTED] wrote:
   Matthew Seaman wrote:
Mel wrote:
 that's aside from the fact that the root partition '/' always has to
 be the first partition, for the simple reason that everything else
 is mounted on top of it.
   
It's not the partition device names that determine the mount order,
but the order of the entries in /etc/fstab.
  
   Actually not even the order in /etc/fstab matters.  You can
   place the root file system last and it will still work.

 Uhm, just to be sure:  We are talking about the *root* file
 system here.

 Of course, the order of the *remaining* file systems in
 /etc/fstab (without noauto flag) *does* matter, because
 this is the order in which they are mounted by the RC
 scripts.  Only the root file system is special.

Yeah, I was too short in previous reply, but since sysinstall both picks 
partition name and writes /etc/fstab the end result for the user is the 
same. First do root, then the rest and don't create partitions that are 
supposed to be put on top of another partition, before creating that 
partition first.

 PS:  BTW, Mel, your email address doesn't work.  I get
 bounces from your mail server.

I know, still been too lazy to implement whitelisting, so anything 
not .freebsd.org at RCPT TO: is bounced. Maybe this time the post-it will 
stick to my monitor ;)

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD installation doesn't work

2008-09-19 Thread Oliver Fromme
Matthew Seaman wrote:
  Mel wrote:
   that's aside from the fact that the root partition '/' always has to be 
   the 
   first partition, for the simple reason that everything else is mounted on 
   top 
   of it.
  
  It's not the partition device names that determine the mount order, but
  the order of the entries in /etc/fstab.

Actually not even the order in /etc/fstab matters.  You can
place the root file system last and it will still work.
The important thing is that the root file system must be
partition a in the label, because this is hardcoded in
the boot loader (and probably in a few other places, too).

The boot loader then hands the location of the root file
system to the kernel.  (However, it is possible to override
it, so in fact you can have a root file system different
from the file system containing /boot.  This is how booting
with rootfs on ZFS works.)

Later in the process, the /etc/rc script (and its children
in /etc/rc.d/*) uses information from /etc/fstab to locate
the root file system for fsck and to remount it read/write.
Of course it is identified by its mountpoint (/), not by
the position of the entry within /etc/fstab.

So the order in /etc/fstab really doesn't matter.
Just make sure that your root file system is partition a.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

In my experience the term transparent proxy is an oxymoron (like jumbo
shrimp).  Transparent proxies seem to vary from the distortions of a
funhouse mirror to barely translucent.  I really, really dislike them
when trying to figure out the corrective lenses needed with each of them.
-- R. Kevin Oberman, Network Engineer
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD installation doesn't work

2008-09-19 Thread Oliver Fromme
Oliver Fromme [EMAIL PROTECTED] wrote:
  Matthew Seaman wrote:
   Mel wrote:
that's aside from the fact that the root partition '/' always has to be 
the 
first partition, for the simple reason that everything else is mounted 
on top 
of it.
   
   It's not the partition device names that determine the mount order, but
   the order of the entries in /etc/fstab.
  
  Actually not even the order in /etc/fstab matters.  You can
  place the root file system last and it will still work.

Uhm, just to be sure:  We are talking about the *root* file
system here.

Of course, the order of the *remaining* file systems in
/etc/fstab (without noauto flag) *does* matter, because
this is the order in which they are mounted by the RC
scripts.  Only the root file system is special.

Best regards
   Oliver

PS:  BTW, Mel, your email address doesn't work.  I get
bounces from your mail server.

-- 
Oliver Fromme, secnetix GmbH  Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

People still program in C.  People keep writing shell scripts.  *Most*
people don't realize the shortcomings of the tools they are using because
they a) don't reflect on their workflows and they are b) too lazy to check
out alternatives to realize there is help. -- Simon 'corecode' Schubert
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD installation doesn't work

2008-09-18 Thread Robert Lebovich
I'm trying to install freeBSD on my pc, but after the installation it  
doesn't boot. It can't find the kernel.

I think it is the problem with my partitioning. i'm trying this order:
/boot
swap
/
/var
/usr
Can you help me how to install in this order?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD installation doesn't work

2008-09-18 Thread Leslie Jensen


Robert Lebovich skrev:
I'm trying to install freeBSD on my pc, but after the installation it 
doesn't boot. It can't find the kernel.

I think it is the problem with my partitioning. i'm trying this order:
/boot
swap
/
/var
/usr
Can you help me how to install in this order?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


Did you install the boot loader?

Is the slice set for boot (active)?

/Leslie

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


Re: FreeBSD installation doesn't work

2008-09-18 Thread Alain G. Fabry
On Thu, Sep 18, 2008 at 03:32:09PM +0200, Leslie Jensen wrote:
 
 Robert Lebovich skrev:
 I'm trying to install freeBSD on my pc, but after the installation it 
 doesn't boot. It can't find the kernel.
 I think it is the problem with my partitioning. i'm trying this order:
 /boot
 swap
 /
 /var
 /usr
 Can you help me how to install in this order?
 ___

Have you already tried the 'auto default' when creating the partitions?

Any particular reason why you created a /boot ?


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


Re: FreeBSD installation doesn't work

2008-09-18 Thread Erik Trulsson
On Thu, Sep 18, 2008 at 03:49:37PM +0300, Robert Lebovich wrote:
 I'm trying to install freeBSD on my pc, but after the installation it  
 doesn't boot. It can't find the kernel.
 I think it is the problem with my partitioning. i'm trying this order:
 /boot
 swap
 /
 /var
 /usr
 Can you help me how to install in this order?

Do not make a '/boot' partition separate from '/'.
It won't work.




-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD installation doesn't work

2008-09-18 Thread Mel
On Thursday 18 September 2008 16:26:43 Erik Trulsson wrote:
 On Thu, Sep 18, 2008 at 03:49:37PM +0300, Robert Lebovich wrote:
  I'm trying to install freeBSD on my pc, but after the installation it
  doesn't boot. It can't find the kernel.
  I think it is the problem with my partitioning. i'm trying this order:
  /boot
  swap
  /
  /var
  /usr
  Can you help me how to install in this order?

 Do not make a '/boot' partition separate from '/'.
 It won't work.

that's aside from the fact that the root partition '/' always has to be the 
first partition, for the simple reason that everything else is mounted on top 
of it.

For the same reason:
/dev/ad1se  /usr/local 
/dev/ad1sf  /usr

will not work.
For this particular case (root not first mount), sysinstall could be made 
smarter.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD installation doesn't work

2008-09-18 Thread Matthew Seaman

Mel wrote:

that's aside from the fact that the root partition '/' always has to be the 
first partition, for the simple reason that everything else is mounted on top 
of it.


For the same reason:
/dev/ad1se  /usr/local 
/dev/ad1sf  /usr

will not work.
For this particular case (root not first mount), sysinstall could be made 
smarter.


It's not the partition device names that determine the mount order, but
the order of the entries in /etc/fstab.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature