Re: Automated installations

2007-01-18 Thread valentin_nils

Chris,

excellent reply.

Thanks & best regards

Nils Valentin




Quoting Chris Whitehouse <[EMAIL PROTECTED]>:


[EMAIL PROTECTED] wrote:

Hello FreeBSD fans,

I am in search of an tool for automated installations. SOmething   
like Kickstart or Autoyast for Linux - just the BSD-able version ;-)


Is anybody aware of such a tool that I perhaps overlooked or   
anybody perhaps currently developing one ?


Best regards

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



sysutils/freesbie ?

Chris

___
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: Automated installations

2006-10-17 Thread valentin_nils

Hi George,

cool reply. Thank you. ;-)

That basically means that I have to compile/burn my own CD with the  
config file install.cfg in it right ?


is there a version f.e. to start from the CD (with some parameters  
where the config file is located) and do that from a boot floppy -  
basically without PXEboot  or can I point PXEboot to the CD image AND  
the install.cfg somehow ?


Best regards

Nils Valentin

Quoting George Allan <[EMAIL PROTECTED]>:

On Tue, Oct 17, 2006 at 02:46:08AM +,   
[EMAIL PROTECTED] wrote:

I am in search of an tool for automated installations. SOmething like
Kickstart or Autoyast for Linux - just the BSD-able version ;-)

Is anybody aware of such a tool that I perhaps overlooked or anybody
perhaps currently developing one ?


sysinstall(8) is your friend.
pxeboot(8) will buy the drinks.

Be sure to read through Section 2 of the fine Handbook.

___
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]"


Automated installations

2006-10-16 Thread valentin_nils

Hello FreeBSD fans,

I am in search of an tool for automated installations. SOmething like  
Kickstart or Autoyast for Linux - just the BSD-able version ;-)


Is anybody aware of such a tool that I perhaps overlooked or anybody  
perhaps currently developing one ?


Best regards

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


Booting into an installed software raid system

2006-04-18 Thread valentin_nils
Hello FreeBSD users,

I am happilly installing FreeBSD systems (remotely), however there is one thing
which I would like to get solved, hopefully the one or the other can help me
out.

Anyway here the story goes:

I have setup a sample FreeBSD system (Software Raid 1) on the devices /dev/ad2
and /dev/ad4.

I reboot the system and want to leave the FreeBSD system in the CDrom drive for
later use, but boot from the software mirrored FreeBSD installation (on the
HDD).

How do I do this ?

0) I could use the KVM and set the motherboards bios'es boot option, but lets
ignore that for a moment ;-)

1) In the Bootloader menu I am choosing Option "6 - Loading a command prompt"

2) I could probably use the Fixit option in the install CD


So for now, lets explore 1) a bit more

I load the necessary kernel and the modules.

f.e. load geom_mirror

lsdev will show me as devices "cd0", "disk1s1xxx", "disk2s1xxx"

Note that the "real" device name used should be actually f.e. "/dev/ad2s1xxx"
and "/dev/ad4s1xxx"

How can I boot from here into f.e. /dev/gm0s1xxx ?

(ad2 and ad4 are defined as gm0 in the original setup)

Any suggestion welcome.

Best regards

Nils Valentin


- 転送メールは以上です -

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


Re: Filesystem layout with sperated /boot partition

2006-04-03 Thread valentin_nils

Hi Andrew, Andreas and Eric,

Thanks for the replies. I am done for today ;-) (or so)

I learned again that sometimes it is important to know how to search ;-).
Oviously I followed the wrong hints in the first place.

Thanks for the many links and tips.
I am definitely save from now on.

I will give it another couple of installation sessions which should bring me
closer to my destination. ;-)

Thanks anybody for the help.

Best regards

Nils Valentin

http://www.be-known-online.com




Quoting Andrew Reitz <[EMAIL PROTECTED]>:



On Apr 2, 2006, at 11:16 PM, [EMAIL PROTECTED] wrote:


Hi Eric,

Thanks for the reply.  I have now a better understanding whats  
possible with

FreeBSD. One question (last one) which I could not find an answer  to in the
online manual is :

How would you do a Dual or multi OS boot machine f.e. with Windows  
on the first

disk, first slice, first partition and FreeBSD on another partition ?

Would I need a boot floppy or perhaps its not possible at all ?


Hi Valentin,

Dual booting FreeBSD along with other Operating Systems is definitely 
 possible. And you're right, I couldn't find any reference to how 
this  can be done in the Handbook either. :)


Basically, it is my understanding that you will want to add a  
dedicated FreeBSD partition to your disk, and configure the slices  
within that partition as you have learned previously. In terms of how 
 to boot, while you can use a floppy, there are many boot managers,  
that once configured, are more convenient to use than floppies.


I did a quick google, and found a guide that seems to cover this  
topic in some depth:


http://www.faqs.org/docs/win_bsd/index.htm

Good luck,
-Andy Reitz.






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


Re: Filesystem layout with sperated /boot partition

2006-04-02 Thread valentin_nils

Hi Eric,

Thanks for the reply.  I have now a better understanding whats possible with
FreeBSD. One question (last one) which I could not find an answer to in the
online manual is :

How would you do a Dual or multi OS boot machine f.e. with Windows on 
the first

disk, first slice, first partition and FreeBSD on another partition ?

Would I need a boot floppy or perhaps its not possible at all ?

Best regards

Nils Valentin

http://www.be-known-online.com



Quoting Erik Trulsson <[EMAIL PROTECTED]>:

On Mon, Apr 03, 2006 at 02:33:42AM +, 
[EMAIL PROTECTED] wrote:

Hello FreeBSD Fans,

I wanted to create a new system and was thinking about the following layout.

Size | Mountpoint | Device name | File system
100M /boot /dev/ad2s1a UFS2+S
1024MB --- /dev/ad2s1b SWAP
15GB / /dev/ad2s1c UFS2

I want to put /boot on its own partition, but somehow I dont have a 
lot of luck.

I can install the OS, but when I reboot the bootloader will not boot.


Don't do that.  You can not have /boot as a separate partition.  It just
contains the kernel and the loader.  The other things that are needed for
booting (like /bin/sh or /sbin/mount) reside elsewhere.  (Having /boot as a
separate partition is apparently some Linux-specific convention.)

What is normally done under FreeBSD when you want a small boot partition is
to create /usr and /var as separate partitions which will let you create a
small (100M) '/' partition.  (You will probably also want either a separate
/home partition for user home directories, or let them reside under
/usr/home.  (I think the latter is the default, but I am not 100% sure.)





No /boot/loader
...
Default: 0:ad(0,a)/boot/kernel/kernel
boot:
No /boot/kernel/kernel
...

1) I wouldnt mind on which partition "/boot" or "/" sits or what its 
named, but
I would like to separate "/boot" on a different partition and it 
seems like it
wouldnt boot when I do this. Is this just a matter of updating the 
bootloader ?

Wouldnt the installer do that automatically ?


See above.  You can't do that.



2) The part which I dont get is why is "/" always ad2s1a - even when 
I create
"/boot" first ? ("/boot" will become f.e. ad2s1d) and SWAP will 
become ad2s1b.


You need to boot from "/" and it should be partition 'a' on the slice.  It
is probably possible to change this, but it would be much more pain and
trouble than it is worth.



So what I end up with is something like

Size | Mountpoint | Device name | File system
15GB / /dev/ad2s1a UFS2
1024MB --- /dev/ad2s1b SWAP
100M /boot /dev/ad2s1d UFS2+S


Any replies much appreciated.


A good place to start reading is the online handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/
especially the chapter on installing FreeBSD:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html
The FAQ at http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/  might also
prove helpful.



Best regards

Nils Valentin
http://www.be-known-online.com



--

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: Filesystem layout with sperated /boot partition

2006-04-02 Thread valentin_nils

Hello,




Because it instinctively (without the MBR boot manager)
looks for /boot/kernel/kernel in the first partition of the
first active slice on the first drive.


But I have choosen to install the Boot loader. ;-o



...

1) I wouldnt mind on which partition "/boot" or "/" sits or what its 
named, but

I would like to separate "/boot" on a different partition


Why you would want to do this is a bit unclear.


I would like to use different mount option later on each partitions - just for
the fun of it ;-). That wouldnt be possible if all is on one partititon. Would
that make any sense ?







That's a sysinstall thing.  If you were to muck about
and install your base system without sysinstall you
could place it wherever.  And it probably still won't
boot.


So whats the solution to this ??? Not installing FreeBSD ? Develop my own Boot
loader ?



Part of the reason linux wants to make /boot its
own partition is their ugly habit of not seperating
anything else from root.



I decide not to comment on this anymore. I didnt came here to start a 
flame war

of the OS's. Let's not go down that road (most come back uglier than before),
lets focus on the technical issue instead.

Best regards

Nils Valentin

http://www.be-known-online.com



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


Filesystem layout with sperated /boot partition

2006-04-02 Thread valentin_nils
Hello FreeBSD Fans,

I wanted to create a new system and was thinking about the following layout.

Size | Mountpoint | Device name | File system
100M /boot /dev/ad2s1a UFS2+S
1024MB --- /dev/ad2s1b SWAP
15GB / /dev/ad2s1c UFS2

I want to put /boot on its own partition, but somehow I dont have a lot of luck.
I can install the OS, but when I reboot the bootloader will not boot.


No /boot/loader
...
Default: 0:ad(0,a)/boot/kernel/kernel
boot:
No /boot/kernel/kernel
...

1) I wouldnt mind on which partition "/boot" or "/" sits or what its named, but
I would like to separate "/boot" on a different partition and it seems like it
wouldnt boot when I do this. Is this just a matter of updating the bootloader ?
Wouldnt the installer do that automatically ?

2) The part which I dont get is why is "/" always ad2s1a - even when I create
"/boot" first ? ("/boot" will become f.e. ad2s1d) and SWAP will become ad2s1b.

So what I end up with is something like

Size | Mountpoint | Device name | File system
15GB / /dev/ad2s1a UFS2
1024MB --- /dev/ad2s1b SWAP
100M /boot /dev/ad2s1d UFS2+S


Any replies much appreciated.

Best regards

Nils Valentin
http://www.be-known-online.com


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


Re: Passing options to Newfs in the FreeBSD installer

2006-04-02 Thread valentin_nils

Hi Erik,

I just wanted to say thank you for pointing me into the right direction.

Turns out, I had a somewhat skewed understanding what "newfs" is for. I
understand now that those options noexec and nosuid are to be passed to the
mount command and the quota options must be enabled in the kernel first.


Thank you also especially for the online man page link. That defintely 
helped a

lot as my installation always fell (understandably ;-)

Best regards

Nils Valentin
http://www.be-known-online.com


Quoting Erik Trulsson <[EMAIL PROTECTED]>:

On Sun, Apr 02, 2006 at 04:24:48PM +, 
[EMAIL PROTECTED] wrote:

Hello FreeBSD Fans ;-),

I have a probably simple question,which kept me busy for several 
days by now.
I have a few years experience with Linux and would like to extend my 
knowledge

now to the BSD*s.

Hopefully my question is not too stupid so that somebody can point 
me into the

correct direction. Anyway here we go...

During the FreeBSD installation I would like to pass parameters to 
the programm

which creates the filesystem *newfs if I understand that correctly.

I would like to pass the following options: nosuid, noexec, userquota &
groupquota to some partitions.

Whatever I do - even when I want to pass only a single option - I 
get as a error

message "Invalid argument"

1) Are the above options "nosuid, noexec, userquota, groupquota" 
valid options
to be passed to the installer programme newfs or do I have some 
misspells here

?


Those are not options that can be passed to newfs or used when creating the
filesystem.  They are options for mount(8) and can be put in /etc/fstab to
be used when you are mounting the filesystem. (See the mount(8) and fstab(5)
manpages.)




2) How would I separate several options in the installers input screen after
pressing "G", by komma (,) by semicolon (;) or just by space ( ) ?


Assuming that you are still talking about options to newfs, you write the
options exactly as you would do on the command line.
(See the newfs(8) manpage for available options.)

(If you do not have a FreeBSD system available with manpages installed, they
can also be found at http://www.freebsd.org/cgi/man.cgi )



I did search the mailing lists up and down and consulted my book 
from Michael

Lucas and googled, but somehow I didnt find the answer.

I would appreciate any replies.

Best regards

Nils Valentin
http://www.be-known-online.com


--

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]"





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


Passing options to Newfs in the FreeBSD installer

2006-04-02 Thread valentin_nils
Hello FreeBSD Fans ;-),

I have a probably simple question,which kept me busy for several days by now.
I have a few years experience with Linux and would like to extend my knowledge
now to the BSD*s.

Hopefully my question is not too stupid so that somebody can point me into the
correct direction. Anyway here we go...

During the FreeBSD installation I would like to pass parameters to the programm
which creates the filesystem *newfs if I understand that correctly.

I would like to pass the following options: nosuid, noexec, userquota &
groupquota to some partitions.

Whatever I do - even when I want to pass only a single option - I get as a error
message "Invalid argument"

1) Are the above options "nosuid, noexec, userquota, groupquota" valid options
to be passed to the installer programme newfs or do I have some misspells here
?

2) How would I separate several options in the installers input screen after
pressing "G", by komma (,) by semicolon (;) or just by space ( ) ?

I did search the mailing lists up and down and consulted my book from Michael
Lucas and googled, but somehow I didnt find the answer.

I would appreciate any replies.

Best regards

Nils Valentin
http://www.be-known-online.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"