Re: Install Sarge on a diskless workstation ?

2004-03-03 Thread Thorsten Sauter

Hi Joey,

* Joey Hess <[EMAIL PROTECTED]> [2004-03-03 20:30]:
| Shouldn't be necessary, I can add a nfs-modules udeb easily with nfs.o
| on it. However, you would have to make sure that the initrd of the
| installer system knew how to use nfs as the root filesystem.

are there any plans to support nfs as an installation source? If so we
need the nfs module anyway. So I guess it's a good idea to include it in
the installer.

The initrd of the "installer" or the "installed" system? I guess only
the installed system needs to know anything about nfs as root
filesystem.

Bye
Thorsten


-- 
Thorsten Sauter
<[EMAIL PROTECTED]>

(Is there life after /sbin/halt -p?)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Install Sarge on a diskless workstation ?

2004-03-03 Thread Thorsten Sauter

Hi Erik,

* Erik Dykema <[EMAIL PROTECTED]> [2004-03-03 21:32]:
|   Sounds like a plan, I'd like to start.  Where can I find the 
| documentation that tells me what a "udeb" is and how to make one?  Also 
| is the API, or however I would interact with d-i to ask the user 
| questions, documented somewhere?

have a look at one of the already available udebs in the CVS tree on
alioth[1].

Bye
Thorsten



[1] alioth.debian.org

-- 
Thorsten Sauter
<[EMAIL PROTECTED]>

(Is there life after /sbin/halt -p?)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Install Sarge on a diskless workstation ?

2004-03-03 Thread Erik Dykema
Thorsten Sauter wrote:
* Erik Dykema <[EMAIL PROTECTED]> [2004-03-03 19:35]:
| Hi-
| 	I think it would be very useful to support installing onto NFS 
| 	volumes.
| 	At my site we operate these big netapp NFS file servers (filers).  
| 	They have no intelligence except to serve NFS volumes, i.e. there is no 
| real 'os' on them.
| 	If we could support installing TO an NFS root, we could use diskless 
| workstations & servers that would install to their own volume on the 
| filers.  Then, the filer takes care of stuff like redundancy.
| 	This might also help for a situation where the NFS master server is 
| 	one architecture (i386) and the machine you want to install 'to' is 
| different, i.e. powerpc / mainframe.
| 	Also, I think that it would be very useful if DI supported 
| 	installing FROM an NFS volume.  Using an NFS volume is more flexible for 
| testers than the initrd.gz files.  If the kernel supported NFS root, could 
| just mount it's root directory & init & etc, it would be possible to tinker 
| with a running installer system, add drivers as needed, etc. without 
| having to re-make the initrd.gz file, which is not easy.

ok. I know what you mean.
Bringing nfs support to d-i shouldn't be very hard. But you must create
your own installation medium, I guess.
First you must modify the existing d-i kernel to support nfs filesystems
(in client mode). Next you must create udebs for the portmap package and
the nfs client tools. Maybe you need also a small udeb, which ask the
user for the nfs mounting parameters (server, port, etc.). And then you
must mount the nfs volume into /target. (this udeb must provide
mounted-partitions). After this d-i should be able to install to an nfs
volume.
Create the udebs, and d-i will support it :-)
Hi-
	Sounds like a plan, I'd like to start.  Where can I find the 
documentation that tells me what a "udeb" is and how to make one?  Also 
is the API, or however I would interact with d-i to ask the user 
questions, documented somewhere?

thanks,
Erik
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: Install Sarge on a diskless workstation ?

2004-03-03 Thread Joey Hess
Thorsten Sauter wrote:
> First you must modify the existing d-i kernel to support nfs filesystems
> (in client mode).

Shouldn't be necessary, I can add a nfs-modules udeb easily with nfs.o
on it. However, you would have to make sure that the initrd of the
installer system knew how to use nfs as the root filesystem.

-- 
see shy jo


signature.asc
Description: Digital signature


Re: Install Sarge on a diskless workstation ?

2004-03-03 Thread Thorsten Sauter
* Erik Dykema <[EMAIL PROTECTED]> [2004-03-03 19:35]:
| Hi-
|   I think it would be very useful to support installing onto NFS 
|   volumes.
|   At my site we operate these big netapp NFS file servers (filers).  
|   They have no intelligence except to serve NFS volumes, i.e. there is no 
| real 'os' on them.
|   If we could support installing TO an NFS root, we could use diskless 
| workstations & servers that would install to their own volume on the 
| filers.  Then, the filer takes care of stuff like redundancy.
|   This might also help for a situation where the NFS master server is 
|   one architecture (i386) and the machine you want to install 'to' is 
| different, i.e. powerpc / mainframe.
|   Also, I think that it would be very useful if DI supported 
|   installing FROM an NFS volume.  Using an NFS volume is more flexible for 
| testers than the initrd.gz files.  If the kernel supported NFS root, could 
| just mount it's root directory & init & etc, it would be possible to tinker 
| with a running installer system, add drivers as needed, etc. without 
| having to re-make the initrd.gz file, which is not easy.

ok. I know what you mean.
Bringing nfs support to d-i shouldn't be very hard. But you must create
your own installation medium, I guess.

First you must modify the existing d-i kernel to support nfs filesystems
(in client mode). Next you must create udebs for the portmap package and
the nfs client tools. Maybe you need also a small udeb, which ask the
user for the nfs mounting parameters (server, port, etc.). And then you
must mount the nfs volume into /target. (this udeb must provide
mounted-partitions). After this d-i should be able to install to an nfs
volume.

Create the udebs, and d-i will support it :-)

Bye
Thorsten

-- 
Thorsten Sauter
<[EMAIL PROTECTED]>

(Is there life after /sbin/halt -p?)



signature.asc
Description: Digital signature


Re: Install Sarge on a diskless workstation ?

2004-03-03 Thread Erik Dykema
Thorsten Sauter wrote:
Hi Lee,

* Lee Mitchell <[EMAIL PROTECTED]> [2004-03-02 22:35]:
| Any help would be much appreciated, even if its just a simple "sorry not 
| supported yet message" cos at the moment i'm just convinced i'm doing 
| something dumb !

yes. That's is.
NFS isn't supported by the debian-installer boot kernel, so you will be
unable to mount *any* nfs partition. This kernel option isn't enough for
nfs access. You will also need the nfs userland binaries and of course
the portmapper program. All of them are not available in d-i (yet?).
If you install you main-system kernel at a later point in d-i you will
run into the next problem. No of the debian default kernels support
nfsroot out-of-the-box. So you must provide your own mirror/cdrom to
install d-i with such custom requirements.
I can't see the point why we should support installing on nfs volumes.
You can simply debootstrap in on the nfs master machine, or if it isn't
a Linux system you can easily copy the contents from an other machine
into the nfsroot.
Bye
Thorsten
p.s. I don't think Sarge will run without any changes in the initscripts
from a nfsroot (ro)
Hi-
	I think it would be very useful to support installing onto NFS volumes.
	At my site we operate these big netapp NFS file servers (filers).  They 
have no intelligence except to serve NFS volumes, i.e. there is no real 
'os' on them.
	If we could support installing TO an NFS root, we could use diskless 
workstations & servers that would install to their own volume on the 
filers.  Then, the filer takes care of stuff like redundancy.
	This might also help for a situation where the NFS master server is one 
architecture (i386) and the machine you want to install 'to' is 
different, i.e. powerpc / mainframe.
	Also, I think that it would be very useful if DI supported installing 
FROM an NFS volume.  Using an NFS volume is more flexible for testers 
than the initrd.gz files.  If the kernel supported NFS root, could just 
mount it's root directory & init & etc, it would be possible to tinker 
with a running installer system, add drivers as needed, etc. without 
having to re-make the initrd.gz file, which is not easy.

erik

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: Install Sarge on a diskless workstation ?

2004-03-02 Thread Thorsten Sauter

Hi Lee,

* Lee Mitchell <[EMAIL PROTECTED]> [2004-03-02 22:35]:
| Any help would be much appreciated, even if its just a simple "sorry not 
| supported yet message" cos at the moment i'm just convinced i'm doing 
| something dumb !

yes. That's is.
NFS isn't supported by the debian-installer boot kernel, so you will be
unable to mount *any* nfs partition. This kernel option isn't enough for
nfs access. You will also need the nfs userland binaries and of course
the portmapper program. All of them are not available in d-i (yet?).

If you install you main-system kernel at a later point in d-i you will
run into the next problem. No of the debian default kernels support
nfsroot out-of-the-box. So you must provide your own mirror/cdrom to
install d-i with such custom requirements.

I can't see the point why we should support installing on nfs volumes.
You can simply debootstrap in on the nfs master machine, or if it isn't
a Linux system you can easily copy the contents from an other machine
into the nfsroot.

Bye
Thorsten


p.s. I don't think Sarge will run without any changes in the initscripts
from a nfsroot (ro)

-- 
Thorsten Sauter
<[EMAIL PROTECTED]>

(Is there life after /sbin/halt -p?)



signature.asc
Description: Digital signature


Re: Install Sarge on a diskless workstation ?

2004-03-02 Thread Geert Stappers
On Tue, Mar 02, 2004 at 09:35:07PM +, Lee Mitchell wrote:
> Hi folks,
>   Hope this is the right place to ask...
> 
> I've been playing around with a Mini ITX machine (VIA M1) and 
> previously had woody installed and configured to boot using PXE and tftp 
>   with its root filesystem mounted via NFS from another machine.
> 
> However, I get bored easilly, so decided to have a play with sarge and 
> its new wizzo installer :-)
> 
> My question is, where do i tell the install process that i want to use a 
> root filesystem that is mounted from NFS ?
> 
> There are no disks whatsoever in this machine, and the install proces 
> doesn't seem too keen on letting me install it on anything other than a 
> local disk.
> 
> I've tried mounting the exported filesystem manually in a console but 
> the version of mount doesn't appear to support nfs (maybe i'm just doing 
> something stupid here).
> 
> I'm using the netboot images from here :-
> 
> http://people.debian.org/~joeyh/d-i/images/daily/netboot/
> 
> 
> 
> Any help would be much appreciated, even if its just a simple "sorry not 
> supported yet message" cos at the moment i'm just convinced i'm doing 
> something dumb !

Hey, that allows me to make some noise  :-)

nfsroot is AFAIK a kernel compile option.
check the config of the install kernel.

> 
> Up to the mounting a filesystem bit though, i'm impressed with the new 
> installer. It detects my not so common hardware fine and configures the 
> network ok, so well done folks, looks like its gonna be great when done !
> 
> Cheers
> 
> Lee Mitchell
> 

Geert Stappers


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Install Sarge on a diskless workstation ?

2004-03-02 Thread Lee Mitchell
Hi folks,
 Hope this is the right place to ask...
I've been playing around with a Mini ITX machine (VIA M1) and 
previously had woody installed and configured to boot using PXE and tftp 
 with its root filesystem mounted via NFS from another machine.

However, I get bored easilly, so decided to have a play with sarge and 
its new wizzo installer :-)

My question is, where do i tell the install process that i want to use a 
root filesystem that is mounted from NFS ?

There are no disks whatsoever in this machine, and the install proces 
doesn't seem too keen on letting me install it on anything other than a 
local disk.

I've tried mounting the exported filesystem manually in a console but 
the version of mount doesn't appear to support nfs (maybe i'm just doing 
something stupid here).

I'm using the netboot images from here :-

http://people.debian.org/~joeyh/d-i/images/daily/netboot/



Any help would be much appreciated, even if its just a simple "sorry not 
supported yet message" cos at the moment i'm just convinced i'm doing 
something dumb !

Up to the mounting a filesystem bit though, i'm impressed with the new 
installer. It detects my not so common hardware fine and configures the 
network ok, so well done folks, looks like its gonna be great when done !

Cheers

Lee Mitchell

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]