Here's a "SUSE remote install" howto. I wanted to install beta2 on a spare
partition without burning any CDs, and without physically touching the machine
I was installing onto. So everything here is being done from a remote
location by ssh. The machine we're installing onto is
192.168.1.2
. The NFS server we're installing from is
192.168.1.1
.
Copy the contents of CD1 to a directory on the machine we're installing to
(here /install
.)
Create an grub menu entry in order to be able to boot from this: in
/boot/grub/menu.lst
add the lines:
title install from hard disk
kernel (hd0,0)/install/boot/x86_64/loader/linux ssh=1 \
sshpassword=password \
install=nfs://192.168.1.1/space/10.1b2/CD1/
initrd (hd0,0)/install/boot/x86_64/loader/initrd
(backslashes denote line continuation)
We're assuming here that there's a DHCP server running on the network,
otherwise we would have to add something like hostip=192.168.1.2/24
to the above.
Copy the contents of all the CDs to the NFS server (in this case the
directories CD1
, CD2
... under
/space/10.2b2/
on 192.168.1.1
. Make the necessary
entry in /etc/exports
on that machine and restart the NFS server.
As root
, type the command grubonce
. This will give
output something like this:
0: SUSE LINUX 10.0
1: XEN
2: Floppy
3: Failsafe -- SUSE LINUX 10.0
4: Memory Test
5: install from hard disk
So we need to type grubonce 5
followed by reboot
.
Now the machine will boot from the installer. Once you see (using
ping
) that's it's come up, ssh
as root to it using
the password set above:
ssh -X root@192.168.1.2
Now type yast
and you will see the graphical installer and do
everything you would do normally.
When the machine reboots after installing the contents of CD1, you need to log
in again, and run
/usr/lib/YaST2/startup/YaST2.ssh
in order to
complete the install.