SUSE Conversations


Installing SUSE Linux Enterprise Server Without a Bootable CD



By: akumar

August 30, 2007 1:23 pm

Reads:193

Comments:0

Rating:0

If you want to install SLES on a machine that has Linux (boot loaded GRUB) already installed, this tip is very useful. [For Testers]

As I am a system test engineer, I need to install SLES 10 SP1 on many machines in parallel. We have the web server for SLES installation, but for starting up the SLES installation we needed the 1st CD of SLES10SP1. With this tip it is not needed.

Steps:

  1. Copy the following lines in file /boot/grub/menu.lst in last and change the parameters for your machine.
  2. ###Boot parameters
    title SUSE Linux Enterprise Server 10 SP1 INSTALL
    kernel /boot/linux.install vga=0x314 install=<Installation Source Path>
    hostip=<Your machine's IP> netmask=<Your machine's Subnet Mask>
    gateway=<Your machine's Gateway> nameserver=<name server's IP>
    initrd /boot/initrd.install

    For example:

    ###Boot parameters
    title SUSE Linux Enterprise Server 10 SP1 INSTALL
    kernel /boot/linux.install vga=0x314 
    install=http://164.99.147.117/sles10/SLES-10-SP1-GM/i386/ 
    hostip=164.99.156.161 netmask=255.255.254.0 gateway=164.99.157.254
    nameserver=164.99.147.1 
    initrd /boot/initrd.install

  3. Now copy files “linux” and “initrd” from installation source as follows.
  4. wget <Install source/boot/i386/loader/linux> 
    cp linux /boot/linux.install
    
    wget <Install source/boot/i386/loader/initrd>
    cp initrd /boot/initrd.install

    For example:

    wget http://164.99.147.117/sles10/SLES-10-SP1-GM/i386/boot/i386/loader/linux
    cp linux /boot/linux.install
    
    wget http://164.99.147.117/sles10/SLES-10-SP1-GM/i386/boot/i386/loader/initrd
    cp initrd /boot/initrd.install

  5. Reboot using command <reboot>
  6. After rebooting, you will see your title (as mentioned above) in grub menu, . Select that and press enter. Installation will get started.

Limitations: The machines should have GRUB loader.

Note: This tip is useful for test engineers, who keep on installing different builds of SLES10SP1 for their testing, and they have a previous SLES build already installed.

———————————————————————————–

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Tags:
Categories: SUSE Linux Enterprise Server, Technical Solutions

Disclaimer: As with everything else at SUSE Conversations, this content is definitely not supported by SUSE (so don't even think of calling Support if you try something and it blows up).  It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.

Comment

RSS