Roger Whittaker

View Roger Whittaker's profile on LinkedIn

Valid XHTML 1.0 Transitional

SUSE remote install howto

Saturday 28th January 2006

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 The NFS server we're installing from is

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 \
    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= 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 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@

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
in order to complete the install.