Re: Boot from CD (Digest, Vol 156, Issue 6 0, msg 12)

2006-11-15 Thread Keith McKenzie

Date: Mon, 13 Nov 2006 21:49
From: Nils Vogels [EMAIL PROTECTED]
Subject: Re: Boot from CD (this time in ASCII :) )

[EMAIL PROTECTED] wrote on 13-11-2006 16:28:

Now my question is this: how do the kernel know where to search the fstab
(considered that the fstab says where to find the /etc)? I mean: I suppose
I have to put on the CDROM an exact /etc/fstab for that installation?? Or
this could be avoided? Also because I may need to edit the fstab for the
machine without having to reburn the CD? so what? Or maybe the kernel can
actually just be read from the CD and then everything else from the ( SAN 
|

local ) drive? Am I missing something?


Have a look at the following manpages:

boot(8)
loader(8)

This explains the FreeBSD startup system.

In short, you tell the loader which kernel to boot, and you tell the
kernel where the root filesystem is. The root fileystem is considered to
contain instructions on how to proceed from there.

~~

I agree with taking a look at the man pages, but I think what you are 
looking for is creating the actual CD image - what I have managed to do, 
using FreeSBIE 1.1 as a base, is to create my own image and burn it to disk. 
the following is the incantation:-


mkisofs -b boot/cdboot -no-emul-boot -c boot/cat -J -r -ldots -l -L -o 
my.iso directory for image


Note 1: cdboot is a file in the boot directory
Note 2: fstab =  /dev/acd0/cd9660ro00

You can change the entry in fstab to boot whatever partition you like, as 
long as it is /


(I am not an expert, but it worked for me - I am still experimenting.)

HTH
Keith



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


Re: Boot from CD (this time in ASCII :) )

2006-11-13 Thread Nils Vogels
[EMAIL PROTECTED] wrote on 13-11-2006 16:28:
 Now my question is this: how do the kernel know where to search the fstab
 (considered that the fstab says where to find the /etc)? I mean: I suppose
 I have to put on the CDROM an exact /etc/fstab for that installation?? Or
 this could be avoided? Also because I may need to edit the fstab for the
 machine without having to reburn the CD? so what? Or maybe the kernel can
 actually just be read from the CD and then everything else from the ( SAN |
 local ) drive? Am I missing something?
   
Have a look at the following manpages:

boot(8)
loader(8)

This explains the FreeBSD startup system.

In short, you tell the loader which kernel to boot, and you tell the
kernel where the root filesystem is. The root fileystem is considered to
contain instructions on how to proceed from there.

HTH  HAND

-- 
Those who desire to give up freedom in order to gain security, will not have, 
nor do they deserve, either one.

~Benjamin Franklin (American Statesman, Scientist, Philosopher, Printer, Writer 
and Inventor. 1706-1790)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot from CD (this time in ASCII :) )

2006-11-13 Thread Nils Vogels
[EMAIL PROTECTED] wrote on 13-11-2006 16:28:
 Now my question is this: how do the kernel know where to search the fstab
 (considered that the fstab says where to find the /etc)? I mean: I suppose
 I have to put on the CDROM an exact /etc/fstab for that installation?? Or
 this could be avoided? Also because I may need to edit the fstab for the
 machine without having to reburn the CD? so what? Or maybe the kernel can
 actually just be read from the CD and then everything else from the ( SAN |
 local ) drive? Am I missing something?
   
Have a look at the following manpages:

boot(8)
loader(8)

This explains the FreeBSD startup system.

In short, you tell the loader which kernel to boot, and you tell the
kernel where the root filesystem is. The root fileystem is considered to
contain instructions on how to proceed from there.

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


RE: boot on CD?

2005-09-26 Thread Gayn Winters
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Michael W. Holdeman
 Sent: Monday, September 26, 2005 7:45 AM
 To: freebsd-questions@freebsd.org
 Subject: boot on CD?
 
 
 OK so my proliant 3000 server will not boot to the ide HD that I have 
 successfully loaded FreeBSD 6 beta on 3 times. So what if (and most 
 improtantly HOW) I create a CD with the / and /etc on it that 
 would get the 
 kernel, and the config files from /etc, then once the kernel 
 finds the ide 
 hd, the /usr and /home could stay on teh HD?
 
 Does this make any sense? I just want to boot the 3000 far 
 enough for it to 
 recognize the ide HD and then switch to it for the rest. And 
 it does find it 
 when it shows the drives during the boot sequence with the 
 install CD in.
 
 Mike

While there are many notes on creating your own distribution disk, it is
probably easier just to figure out why you can't boot from the HDD.  How
about giving us both a dmesg and an fdisk report?

-gayn


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