Mittwoch, 23. Januar 2013

Upgrade your running Linux to SL 6.3 headless and medialess

Installing new running linux without  going in to cluster room:)
Without PXE and CD/DVD or USB.

On the host with old linux.
cd /boot

curl -o vmlinuz-sl63
curl -o initrd-sl63

update Grub:
Add following:

title Remote SL63 OS Install
   root (hd0,0)
   kernel /vmlinuz-sl63 vnc vncconnect=n.n.n.n headless ip=n.n.n.n
     netmask=n.n.n.n gateway=n.n.n.n dns=n.n.n.n hostname=x ksdevice=eth0
     method= lang=en_US keymap=us
   initrd /initrd-sl63.img

If your remote machine does not use a static IP address but uses DHCP instead, the recipe is a little different. In the case of DHCP you can leave off the netmask, gateway, and dns parameters and just replace "ip=n.n.n.n" with "ip=dhcp".

The full list of parameters:

vncconnect={IP address of machine where you will run vncviewer in listen mode}
ip={IP address for the remote machine}
netmask={netmask for the remote machine}
gateway={gateway IP address for the remote machine}
dns={IP address for the DNS server}
hostname={desired FQDN}
ksdevice={name of network device}
method={URL to parent directory of images/state2.img}
lang={proper language code}
keymap={proper country code}

Keine Kommentare: