Two ways to install SUSE Linux10 on a hard disk

  

First, use GRUB for hard disk installation

1.Pre-installation work

Before installing, you must divide the area, 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 save The data of each user is determined 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 detailed partition , you can only divide /and /swap partition, but later the data is saved in the root partition, the data will be overwritten when reinstalled, just like in windows you save the data in the operating system disk and then install the new directory operating system. 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, and add a line at the end 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 Enter the installation

(1) After booting, 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, then 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 the Partion selection of Installation, 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 )

Note Please do

under the FAT/FAT32 partition 1. Obtain the loadlin.exe program, http://www.geekbone.org/~hiweed/tools/loadlin.exe

2. Extract the .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. Initrd and cd1\\boot\\loader Copy linux to C:\\dosutils;

6. Restart;

7. Use floppy disk or CD-ROM or virtual floppy to boot the machine or press Windows to enter DOS by pressing F8. C:\\>下;

8. Execute the following command:

C:\\>cd dosutils

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

Where:

vga=791 is to have the console even 1024x768x256 colors.

Attached: 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:

Third, 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 GRUB command Line mode, enter

grub>root (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