Monday, 7 April 2008

Install Linux from disk

I do not have DVD drive so I installed Linux from iso file.

Copy files
mount -o loop openSUSE-10.2-GM-DVD-i386.iso opensuse
cd opensuse
cp linux /boot/inst-linux
cp initrd /boot/inst-initrd

Edit /boot/grub/grub.conf
title Install SUSE
root (hd0,0)
kernel /boot/inst-linux
initrd /boot/inst-initrd

Drives and partitions start from 0. If your have boot filesystem as a partition change the lines "kernel inst-linux" and "initrd inst-initrd"

During installation first you choose disk then you have to type the directory and complete filename of the ISO file.

No comments: