Two ways to install SUSE Linux10 system from hard disk

  
                  

First, use GRUB for hard disk installation


1. Pre-installation work

Be sure to divide the area before installation, generally draw the following partitions

/root partition I gave 500M when installing redhat9;

/Boot partition 100M-200M or so;

/swap is generally twice the memory;

/home partition saves the data of each user, according to your own needs

/Usr partition all installed packages are placed in this partition, I gave 5G when installing redhat9

If you do not want to press such a detailed partition, you can only divide /and /swap partition, but later the data is saved in the root partition When reinstalling, the data will be overwritten, just like in Windows, you save the data in the operating system disk and then install the operating system completely in the same directory. But when I install redhat9, the root partition only gives 500M to install normally, and suse linux10 seems to be installed only to the root partition.


(1) Decompress 5 ISO files onto a FAT32 partition with sufficient space, such as C drive, and put it in the folder iso/cd1, iso/cd2, iso/cd3, iso/Cd4, iso/cd5


(2) Download the grldr file from the Internet, copy it to C:\\


(3) Edit boot.ini, add at the end A line C:\\GRLDR="GRUB"


(4) Copy the linux and initrd under the source file iso\\boot\\loader to the root directory of the C partition


(5) Restart the machine


2. Start to enter the installation

(1) After starting, select GRUB, enter the command line mode, note that there must be a space between the command and parameters

(2) enter grub>find /linux, or enter Grub>root (press Tab, get (hd0,0)

(3) Enter grub>root (hd0,0)

(4)Enter grub>kernel (hd0,0 ) /iso/cd1/boot/loader/liunux vga=791

(5)Enter grub>initrd (hd0,0)/iso/cd1/boot/loader/initrd

(6) Enter grub>boot


3.

(1) After the YAST graphical interface appears, follow the prompts to install

(2) in Installation In the Partion selection, select the partition where the source file is located, that is, the C partition

(3). In the next window, you will be asked to select the resource directory. At this time, fill in iso/cd1.

(4 )Installation step by step

(5) After installation, use YAST to update.


Second, use loadlin for DOS to install hard disk (not tested, not recommended)

Please note that under the FAT/FAT32 partition


1.Get the loadlin.exe program, http://www.geekbo Ne.org/~hiweed/tools/loadlin.exe

2. Extract the five .iso files to (eg C:\\iso\\cd1..cd2..cd3..cd4..cd5) ;

3. Create a new folder dosutils in the root directory of the C drive;

4. Copy loadlin.exe to C:\\dosutils;

5. Copy initrd and linux in cd1\\boot\\loader directory to C:\\dosutils;

6. Restart;

7.Use floppy disk or CD-ROM or virtual floppy drive to start machine or start windows Press F8 to enter C:\\> under DOS;

8. Execute the following command:


C:\\>cd dosutils

C: \\dosutils\\>loadlin linux append initrd=initrd vga=791


where:

vga=791 is to even console 1024x768x256 colors.

Top: VGA code and resolution comparison table

Code:

depth------640x480-----800x600-----1024x768-----1280x1024

256---------769---------771----------773-----------775

32000-------784-------- 787----------790-----------793

65000-------785---------788----------791-----------794

16.7 Mill.--786--------- 789----------792-----------795


9. After executing the command, you can enter the installation interface.

Select the hard disk installation, select the dos partition where suse is located (I am /dev/hda0, you can choose according to your own situation), type the path /suse/cd1, you can enter the graphical mode:


Three, summary


After the installation is successful, when restarting into GRUB, no windows2000 items are found in the menu, you can start windows by two methods.


1. Enter the GRUB command line mode, enter

grub>gt (hd0,0)

grub>chainloader (hd0,0)+1

grub>boot


2. Go to suse linux, find the menulst in the /boot/grub path, edit this file, and add the following three lines at the end:

title=windows2000

root (hd0,0)

chainloader (hd0,0)+1

After rebooting, the windows2000 options will appear in the GRUB menu list.

Copyright © Windows knowledge All Rights Reserved