openSUSE 12.1 (and also prior version) can be installed without using a cd or dvd. This is the most efficient way if we have running system and do not want to waste a cd/dvd. This also the most efficient way if we have prior version and want to upgrade or clean install running system directly through the network. We can use a brilliant script called setupgrubfornfsinstall.
How to use this small script to fit with our requirement ?
- If you have fast and stable Internet connection, skip step 2. We can directly usenetwork installation by using download.openSUSE.org as base installation source
- Preparing network installation source. I’m using http installation source by mounting openSUSE 12.1 64 bit ISO image onto apache root folder directory. Server has ip address 192.168.1.104 and I mount the iso file to a folder /srv/www/htdocs/12.1 so my repository can be accessed via an http address http://192.168.1.104/12.1
- Download the script (Right clik and save as). I make a backup of script on my blog : http://bit.ly/tgPUi2
- Run the script with the following command :
chmod +x setupgrubfornfsinstall.sh
- Follow the instructions given by the wizard
- Step 1 : Choose either x86 or x86_64 architecture. The initial wizard will be shown if your system supporting the x86_64 architecture
- Step 2 : Choose installation source. I choose “Specify URL manually” for current scenario, although I can choose another option (SLP or internet install from openSUSE.org)
- Type the address of the repository as noticed on the second step, on mine : http://192.168.1.104/12.1
- Select the most convenient screen resolution based on your preferences
- Klik OK and wait until finished
- finally, reboot your computer and choose network installation from GRUB menu while rebooting system