Re: [zfs-discuss] status of zfs boot netinstall kit

2008-02-06 Thread Roman Morokutti
Hi,

I would like to continue this (maybe a bit outdated) thread with
the question:

   1. How to create a netinstall image?
   2. How to write the netinstall image back as an ISO9660 on DVD?
   (after patching it for the zfsboot)

Roman
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] status of zfs boot netinstall kit

2007-04-13 Thread Lori Alt

Peter Bunclark wrote:

On Fri, 13 Apr 2007, Lori Alt wrote:
  

Booting from zfs will not require any changes to OBP.
Existing proms will support it.

Lori



Then presumably not from EFI-labelled disks - is that coming?

Pete.
  

I'm afraid that I don't know the answer to that.  Maybe
someone more in touch with general boot and OBP issues
(not specific to zfs) can answer your question.  You are
correct that at this time, booting from EFI-labeled disks
will not be possible. 


Lori
___
zfs-discuss mailing list
[EMAIL PROTECTED]
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] status of zfs boot netinstall kit

2007-04-13 Thread Peter Bunclark


On Fri, 13 Apr 2007, Lori Alt wrote:
>
> Booting from zfs will not require any changes to OBP.
> Existing proms will support it.
>
> Lori

Then presumably not from EFI-labelled disks - is that coming?

Pete.
___
zfs-discuss mailing list
[EMAIL PROTECTED]
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] status of zfs boot netinstall kit

2007-04-13 Thread Lori Alt

Dick Davies wrote:

On 13/04/07, Lori Alt <[EMAIL PROTECTED]> wrote:


sparc support is in the works.  We're waiting on some other development
work going on right now in the area of sparc booting in general
(not specific to zfs booting, although the zfs boot loader
is part of that project).  I can't give you a date right now,
but zfs boot will defintely be supported on sparc as well as x86.


Excellent work, thanks Lori.

Am I right in thinking the Sparc delay is down to openboot
(licensing issue)?


No, nothing to do with openboot or licensing.  The new sparc
boot work changes some of the interfaces between the various
parts of the code involved in boot (the boot loader, the early
kernel code, some user-level code, etc.).  We could have designed
zfs boot for sparc in accord with the old interfaces or the
new ones, and obviously, we chose to work with the new ones.
But that means we're dependent on them.  So we can't boot from
sparc until that boot rework is delivered and made available.

Booting from zfs will not require any changes to OBP.
Existing proms will support it.

Lori

___
zfs-discuss mailing list
[EMAIL PROTECTED]
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] status of zfs boot netinstall kit

2007-04-13 Thread Boyd Adamson

On 13/04/2007, at 7:27 AM, Lori Alt wrote:

I've attached the README file (as of now) so that anyone
who is interested can get the flavor of what the kit will
contain and how it will be used.

[...]

1.  Build or download a full Solaris netinstall image with
bits that are build 62 or later, or have been built from
the Nevada source files that contain revision 3912 (putback
on 28-Mar-2007).

[...]

1.  Build or download a Solaris install image with bits that support
zfs boot (build 62 or later, or with Revision 3912).


Thanks for all the good work on zfs boot.. I can't wait to try this out.

Might I suggest that the final README should use the hex identifier  
for the changeset in question, rather than the revision number, since  
in mercurial revision numbers are local to the repository and not  
guaranteed to be the same anywhere but your own repository.

___
zfs-discuss mailing list
[EMAIL PROTECTED]
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] status of zfs boot netinstall kit

2007-04-13 Thread Dick Davies

On 13/04/07, Lori Alt <[EMAIL PROTECTED]> wrote:


sparc support is in the works.  We're waiting on some other development
work going on right now in the area of sparc booting in general
(not specific to zfs booting, although the zfs boot loader
is part of that project).  I can't give you a date right now,
but zfs boot will defintely be supported on sparc as well as x86.


Excellent work, thanks Lori.

Am I right in thinking the Sparc delay is down to openboot
(licensing issue)?

--
Rasputin :: Jack of All Trades - Master of Nuns
http://number9.hellooperator.net/
___
zfs-discuss mailing list
[EMAIL PROTECTED]
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] status of zfs boot netinstall kit

2007-04-12 Thread Lori Alt



Mike Gerdts wrote:


On 4/12/07, Lori Alt <[EMAIL PROTECTED]> wrote:

[ about 120 lines deleted]


When it's done, reboot.  You should get a GRUB menu.  Select the
entry with the title "Solaris  X86".  The failsave
entry should work too.



This is the first mention that it is an x86 procedure.  There are a
couple folks out here still running sparc.  Is there any news to
report related to the sparc variant ZFS boot?


sparc support is in the works.  We're waiting on some other development
work going on right now in the area of sparc booting in general
(not specific to zfs booting, although the zfs boot loader
is part of that project).  I can't give you a date right now,
but zfs boot will defintely be supported on sparc as well as x86.

Lori

___
zfs-discuss mailing list
[EMAIL PROTECTED]
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] status of zfs boot netinstall kit

2007-04-12 Thread Mike Gerdts

On 4/12/07, Lori Alt <[EMAIL PROTECTED]> wrote:

[ about 120 lines deleted]


When it's done, reboot.  You should get a GRUB menu.  Select the
entry with the title "Solaris  X86".  The failsave
entry should work too.


This is the first mention that it is an x86 procedure.  There are a
couple folks out here still running sparc.  Is there any news to
report related to the sparc variant ZFS boot?

--
Mike Gerdts
http://mgerdts.blogspot.com/
___
zfs-discuss mailing list
[EMAIL PROTECTED]
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] status of zfs boot netinstall kit

2007-04-12 Thread Al Hopper
On Thu, 12 Apr 2007, Lori Alt wrote:

> I wanted to send out status on the effort to make a
> version of Solaris install available that supports zfs
> as a root file system.  I've got a version of it ready
> for distribution, but I'd like to test it on the Build 62
> community release before I make it available.
> Without the build 62 community release, I have to
> test it on a build 61 image, updated with some build 62
> packages.  It's kind of a hack and I'm not sure it's a
> such a good test of the "real" procedure.  I hate to
> put something out there that hasn't been tested at all
> on its actual target environment.  So once we get a build
> 62 community release available, I will verify that the
> kit works on it and then will make it available through
> the download center.

Thank you Lori.  I agree with your logic/decision-making which will only
help to maximize a users chances of being successful.

> I've attached the README file (as of now) so that anyone
> who is interested can get the flavor of what the kit will
> contain and how it will be used.

Excellent - and again - many Thanks for all your hard work!

Team ZFS Rocks!  :)

Al Hopper  Logical Approach Inc, Plano, TX.  [EMAIL PROTECTED]
   Voice: 972.379.2133 Fax: 972.379.2134  Timezone: US CDT
OpenSolaris.Org Community Advisory Board (CAB) Member - Apr 2005
OpenSolaris Governing Board (OGB) Member - Feb 2006 to Mar 2007
___
zfs-discuss mailing list
[EMAIL PROTECTED]
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] status of zfs boot netinstall kit

2007-04-12 Thread Lori Alt

I wanted to send out status on the effort to make a
version of Solaris install available that supports zfs
as a root file system.  I've got a version of it ready
for distribution, but I'd like to test it on the Build 62
community release before I make it available. 
Without the build 62 community release, I have to

test it on a build 61 image, updated with some build 62
packages.  It's kind of a hack and I'm not sure it's a
such a good test of the "real" procedure.  I hate to
put something out there that hasn't been tested at all
on its actual target environment.  So once we get a build
62 community release available, I will verify that the
kit works on it and then will make it available through
the download center. 


I've attached the README file (as of now) so that anyone
who is interested can get the flavor of what the kit will
contain and how it will be used.

Lori
Introduction

This toolkit contains files which enable the conversion
of a Solaris install image to support profile-based
installation of a system with a ZFS root file system.

CAVEAT*
---
This software is very preliminary.  It is certain to
change, and the profile syntax is very likely to change.
There is no guarantee that systems set up with zfs root using
this procedure will be upgradable, or even migratable to
subsequent releases of this software.  We hope that a more
"cooked" version of this procedure and software can be provided
soon, but for now, this is being made available for those who
are willing and interested in trying out a very preliminary
install.  This version of the software isn't being provided
for the purpose of testing the install software per se, but for
testing the actual operation of ZFS as a root file system.
This install procedure is just easier than the manual setup.


Overview of Procedure
-
The steps for installing a system with a zfs root file system are:

1.  Build or download a full Solaris netinstall image with
bits that are build 62 or later, or have been built from
the Nevada source files that contain revision 3912 (putback
on 28-Mar-2007).

2.  Run the patch_image_for_zfsboot script (provided in this
toolkit directory) on the netinstall image.  This will modify
the image to contain install software that is able to install
a system with a ZFS root file system.

3.  Boot a system to be installed from the netinstall image, or burn
a DVD from the image and boot a client from it.

4.  Do the installation, providing it a Jumpstart profile that
contains the new keywords for defining root pools and bootable
datasets.

5.  Boot the newly-installed system, now running with a zfs root.


Detailed Steps for Preparation of the Image
---
1.  Build or download a Solaris install image with bits that support
zfs boot (build 62 or later, or with Revision 3912).

2.  Become root.

3.  cd into the top level of the directory you unpacked from the
tarball (the directory where this README is found).

4.  Execute this command:

# ./patch_image_for_zfsboot 

where  is the directory containing
the install image produced in step 1.  This is the directory
that contains subdirectories "boot", "Solaris_11", the
file ".cdtoc", and others.

5.  Now boot a machine to be installed from the netinstall image.

Detailed Steps for the Install
--
Netinstall or DVD install of a system with a zfs root must be done with
the profile-driven install program (pfinstall).  This means that the
install is controlled by a profile (a short file describing the
desired system configuration) instead of by interactive responses.
You can do a profile-driven install either by setting your system
up for jumpstart install or by a fairly simple tweak to the usual
interactive netinstall procedure (described below).

The standard way to do a profile-driven install is to set up your
system for Jumpstart.  However, since not everyone wants to set
up the overhead for Jumpstart, it might be easier to use the standard
netinstall procedure, with a small change described here:

Here's a quick-and-dirty way to do a profile-driven install:

1. Boot your system off the net or from the DVD in the usual manner.

2. Select "Interactive Install".  Then, at the first opportunity
   to exit out of it (which will be after you've answered the
   system configuration questions, such as whether you want
   Kerberos and what the root password will be), exit out to a shell.

3. Create a profile for the install in /tmp/profile.  (The contents
   of the profile are described below).

4. Execute the following:

   # pfinstall /tmp/profile

When it's done, reboot.  You should get a GRUB menu.  Select the
entry with the title "Solaris  X86".  The failsave
entry should work too.


Creating a profile for the install
--
The system profile you use should look something like this:

i