Re: Problem at first boot

2005-09-18 Thread Nick Larsen
I have the following directories on seperate partitions partitions:
/
/var
/tmp
/usr
/data

/dev shouldn't have a partition mounted to it, as it wastes space. if you do 
a df -h you will see /dev is always 100% full and has a size of 0

On 9/15/05, Rein Kadastik [EMAIL PROTECTED] wrote:
 
 BTW the reason of the booting problem is that kernel mounts / partition
 and expects to find /bin/sh from there but as the /bin is on separate
 partiton, then it fails.
 
 -- Rein
 

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


Problem at first boot

2005-09-15 Thread Julien FOURNIER
Hello,

I'm a new FreeBsd (French) user, and after 3 days of none-working
installs, I, now can boot my server with FreeBSD installed on it.
The problem is : it ask me to enter the path for the Shell, and I don't
know where it is. Here is the message I get when I attempt to boot :

Can't exec /bin/sh fot /etc/rc : No such File or directory.
Enter full path of Shell or type Enter for /bin/sh

If I type Enter, the system tells me that the file can't be found...I
don't know how to do!!!

I have installed the system as following : Standard installation

* / =1GB
* /etc =1GB
* /bin =1GB
* /dev =1GB
* swap partition =2GB
* /var =6GB

Install with FTP passive

This server is going to be a proxy server with vpn/ssl solution.

Did I make an error while installing, or is there a simple solution to
solve my (very very !!!) big problem??

Thanks a lot...

--
Julien Fournier
[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: Problem at first boot

2005-09-15 Thread Ashley Moran

Julien FOURNIER wrote:

Can't exec /bin/sh fot /etc/rc : No such File or directory.
Enter full path of Shell or type Enter for /bin/sh

If I type Enter, the system tells me that the file can't be found...I
don't know how to do!!!

I have installed the system as following : Standard installation

* / =1GB
* /etc =1GB
* /bin =1GB
* /dev =1GB
* swap partition =2GB
* /var =6GB





Did I make an error while installing, or is there a simple solution to
solve my (very very !!!) big problem??

Thanks a lot...

--
Julien Fournier



Julien

I'm no expert on the boot process of FreeBSD but the problem appears to 
be that your /bin partition has not been mounted.  Normally /bin lives 
in the same partition as / as it contains essential binaries.


Normally you could run

# mount -a

Which will mount all filesystems in /etc/fstab, but because your /etc is 
on a different partition, presumably it is not already mounted.  You 
have a catch-22.


Maybe there is a clever use of the mount command to get the filesystem 
up (if you know the partition layout) but I suggest you re-install and 
put /etc, /bin and /dev on the / partition.  /var should have its own 
partition so this is ok.


Run the following for a good overview of the filesystem:

# man hier


Regards

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


Re: Problem at first boot

2005-09-15 Thread Rein Kadastik
Your partitioning is not correct. There is no point to put /bin and /etc 
on their own partitions as they take very small amount of room.


I recommend to make another clean install and select Auto option when 
creating slices


Usually separate partitions are recommended for the followind folders: 
/, /tmp, /usr, /var, /home and swap


The purpose of separate partitions are that if one partition gets full 
then other partitoons have still room and the system can still run. For 
example if the user downloads files to the home directory, then only 
/home partition can be filled up but /, /usr, /var and /tmp partitions 
would still have some room and the system can function correctly. If 
there would be only one big / partition (totally legal and possible to 
have) then the user could fill that partiton up and system does not have 
room for logging and storing temporary files which might introduce 
unexpected behaviour.


Hope this explains the reason of the partitoning (Actually slicing in 
FreeBSD as there is only one partition containing all the slices) and 
therefore you can figure out the layout by yourself.


-- Rein

Julien FOURNIER wrote:


Hello,

I'm a new FreeBsd (French) user, and after 3 days of none-working
installs, I, now can boot my server with FreeBSD installed on it.
The problem is : it ask me to enter the path for the Shell, and I don't
know where it is. Here is the message I get when I attempt to boot :

Can't exec /bin/sh fot /etc/rc : No such File or directory.
Enter full path of Shell or type Enter for /bin/sh

If I type Enter, the system tells me that the file can't be found...I
don't know how to do!!!

I have installed the system as following : Standard installation

* / =1GB
* /etc =1GB
* /bin =1GB
* /dev =1GB
* swap partition =2GB
* /var =6GB

Install with FTP passive

This server is going to be a proxy server with vpn/ssl solution.

Did I make an error while installing, or is there a simple solution to
solve my (very very !!!) big problem??

Thanks a lot...

--
Julien Fournier
[EMAIL PROTECTED]
___
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: Problem at first boot

2005-09-15 Thread Rein Kadastik
BTW the reason of the booting problem is that kernel mounts / partition 
and expects to find /bin/sh from there but as the /bin is on separate 
partiton, then it fails.


-- Rein

Rein Kadastik wrote:

Your partitioning is not correct. There is no point to put /bin and 
/etc on their own partitions as they take very small amount of room.


I recommend to make another clean install and select Auto option when 
creating slices


Usually separate partitions are recommended for the followind folders: 
/, /tmp, /usr, /var, /home and swap


The purpose of separate partitions are that if one partition gets full 
then other partitoons have still room and the system can still run. 
For example if the user downloads files to the home directory, then 
only /home partition can be filled up but /, /usr, /var and /tmp 
partitions would still have some room and the system can function 
correctly. If there would be only one big / partition (totally legal 
and possible to have) then the user could fill that partiton up and 
system does not have room for logging and storing temporary files 
which might introduce unexpected behaviour.


Hope this explains the reason of the partitoning (Actually slicing in 
FreeBSD as there is only one partition containing all the slices) and 
therefore you can figure out the layout by yourself.


-- Rein

Julien FOURNIER wrote:


Hello,

I'm a new FreeBsd (French) user, and after 3 days of none-working
installs, I, now can boot my server with FreeBSD installed on it.
The problem is : it ask me to enter the path for the Shell, and I don't
know where it is. Here is the message I get when I attempt to boot :

Can't exec /bin/sh fot /etc/rc : No such File or directory.
Enter full path of Shell or type Enter for /bin/sh

If I type Enter, the system tells me that the file can't be found...I
don't know how to do!!!

I have installed the system as following : Standard installation

* / =1GB
* /etc =1GB
* /bin =1GB
* /dev =1GB
* swap partition =2GB
* /var =6GB

Install with FTP passive

This server is going to be a proxy server with vpn/ssl solution.

Did I make an error while installing, or is there a simple solution to
solve my (very very !!!) big problem??

Thanks a lot...

--
Julien Fournier
[EMAIL PROTECTED]
___
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]




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