Hard disk installation Debian experience

xiaoxiao2021-03-06  14

Hard disk installation Debian experience (this sticker starts from the bbs between the clouds, please indicate, thank you.)

After a few days, finalizing X-WINDOW can enter, Debian's installation process is basically getting. These days have encountered some problems during the installation process (actually a lot of people who have come out), and they have also helped the help of many people. I would like to express my heartfelt thanks. Write down the installation experience here, calculate a blog, and give a reference for the subsequent classmates (the table makes the low-level error ^ _ ^).

This article is actually added on the YELLOWOLF post (3104), and it has been added to the situation I have encountered, non-original, hereby illustrated ~~

ZJG hard drive installation Debian method, premise of GRUB.

First, ready to work:

First ready to install ISO: Sarge-i386-NetInst.iso, and three files of VMLinuz, Initrd.gz and Sources.list.

My files are downloaded from ftp: // anonymous: jlj@10.214.45.220/, Sources.list is http://10.214.45.220/Help/Testing/ in the one in Yellowolf.

(Supplement: Originally here is Source.List, I just turned a lot of circles, but also to Down's Sources files in Stable, also troubled out a lot of people, the result is still not doing well. Installed classmates must pay attention to the input.

In order to save trouble, put the four files on a disk root directory, which can be disk under Windows (FAT32, NTFS, I don't know how to do it). I am placed on the D disk.

Second, install the basic system:

Restart the computer, press C to enter the GRUB console in the GRUB booting the selection system. Type the command here:

GRUB> KERNEL (HD0, 4) / VMLinuz root = / dev / ramdisk_size = 10000 devfs = mount, DA5

Note: The C disk is 0, D is 4, E is 5, so that the number of the rear Da is added in front of 1

GRUB> Initrd (HD0, 4) /initrd.gz

GRUB> Boot

After Boot, you will start the graphical installation interface, and there is not much better here.

(Supplement: ramdisk_size = 10000, I have had a mistake after boot, I have to say about 10,300, 100,000 deficiency, I will change this number into 11000 smoothly installed, please clearly explain what this is something East, thank you)

I haven't forgot to add it. When I installed the process partition, I said that it was a SWAP partition that I can't format normally. After restarting, I will have a good time, but I still have a problem. Later, my MS was directly used from the original swap. (Just MS !!! Because I didn't figure it out). If you haven't encountered this problem, you will be troubled to me. If you encounter, I suggest you try the partition, what to replace the original partition Format, re-divide the new partition, directly use the old partition, Try it more, it's ok ~~ (It's too perfunction, because I didn't understand this, but also a high-end finger.)

Third, after the restart, I entered Base-Config (I first install the completion prompt for the first time, I was restarted to this or didn't enter Base-Config, but black screen ... I should format the problem with my SWAP. Problem related). Select the manual modification of the APT source, then enter that file to edit, ignore the direct: Q Exit. After the end of the graphical interface, enter the command line, log in with root, then (the original is: select the manual modification APT source mode, then Ctrl Alt F2 switched to the command line interface, log in to ROOT ... : $ CD / MNT

$ MKDIR D

$ mount -t vfat / dev / hda5 / mnt / d

$ CD D

$ cp Sources.list /etc/apt/sources.list

Restart and enter Windows.

Fourth, the upgrade system and the installation graphical interface.

1. Power on the virtual machine software VMware, enter the just installed Linux. After logging in, running:

APT-GET UPDATE

APT-GET DIST-UPGRADE

Uname -A (View System Version)

2. Install xwindow, run the command:

Apt-get install x-window- * gnome

3. Restart (difficult to enter XWindow in the virtual machine)

(This part should have no problem, if you do it in front, I have been doing it because the Sources file is wrong, cry ~~~~~~~~~ What to explain is, the VMware new system To select Custom, select the entire hard drive after the back, the network mode is selected. I didn't have used VMware results. These small problems have to be sent, shy ~~)

V. Install the Chinese font (not to display the Chinese font normally)

run:

Apt-get install xserver-xfree86 // Installing X servers

Apt-get install xfonts-base // Install basic fonts for X

Apt-get install Xfonts-Intl-Chinese // Some fonts

APT-GET Install TTF-ARPH * / / TTF font

Apt-get install XBase-Clients // StartX to be used

Apt-get install gnome // Install your favorite desktop manager

Sixth, after the treatment

1. Boot on the partition under Mount Windows

Run: MKDIR / MNT / D

Run: VI / ETC / FSTAB, add the following line:

/ dev / hda5 / mnt / d vfat defaults, codepage = 936, ocharset = cp936

(The last two don't add, the Chinese file name is garbled)

2. Input method SCIM installation

(1) APT installation SCIM

# aptitude install scim scim-chinese

Or $ Sudo Aptitude Install Scim Scim-CHINESE

(2). $ Vi ~ / .gnomerc

If this file does not exist, it will automatically build a new file. Then add the following in the file:

Export XModifierS = @ im = scim

EXPORT GTK_IM_MODULE = SCIM

Scim -d

(3). Logout

3. Change the default operating system

Run vi /boot/grub/menu.lst

4. Go to the qualification system, with konqueror

5. Screen offset, run xvidtune.

The above two phases I discharged in VMware. I have encountered some questions during this period:

When I restarted into Debian, X I didn't recognize my ATI graphics (the real, of course, I don't know if I installed in the virtual machine, the MS display is also a problem). Hurred back to Windows down the version to ask, saying that it is running DPKG-Reconfigure XServer-Xfree86

To set it. Restart, then discovery / etc / x11 / xf86config-4 files have not changed, and this file I will not change it (actually trying to change, no success :). Go back to Windows to the online query. I know that I can run first.

MD5SUM / ETC / X11 / XF86CONFIG-4> /VAR/LIB/xfree86/xf86config-4.md5sum

Then run the dpkg-reconfigure xserver-xfree86 to configure it, it is ok.

Here is a command LSPCI, MS can be used to view PCI components.

Another problem is that I will send it to the root user's input method after entering X. Ctrl Space under ordinary users cannot switch out of the input method. On the way, I know that when I install the SCIM input method, I use the root account, configured .Gnomerc files are only created in the / root directory, and the ordinary user directory is not.

Cp /Root/.gnomerc / home / username /.gnomerc

Original COPY has come over, then it will be OK.

There is also the GRUB setting the default operating system. I originally changed it in Redhat. I won't change here. . Go online to check the number of default behind the menu.lst file, indicating the N 1 title in this file, according to this number, the default OS wants to set is the first time.

The last question is that I will pick an XDM when I install X. Later, starting the GDM from the command line to find the language after logging in to the login (I didn't know how to change the system in English), I came to the version again. Back to the command line:

Aptitude Remove XDM

Aptitude Install GDM

An uninstalled installation is as simple as it is. . . I also know here. GNomerc is originally a setting file of GDM. (PS: Which of GDM and XDM I don't know, I just used GDM because I saw GDM.

In this way, my installation process is basically over. The installed QTERM can come to 88 water (PS: The command to install the DEB package is: DPKG-I * .deb. Found the DPKG looks very useful, you should look at the Man DPKG).

Yes, I have to have a document of Debian (Apt-Get Install debian-reference-zh-cn), slowly learn ~~

I finally finished writing, MS didn't write such a long thing after I was university (although I was actually very short). . . .

Besides two sentences look forever:

Originally, it was still very popular, and I saw the post on the Essence area. I don't understand. . Later, because the Redhat upgrade kernel handled the system and met YELLOWOLF, he tried to install, and met a lot of small setbacks (thank you again for help and guidance), but in general. 8 wrong. After installing, I feel that this system is better than Redhat, at least I am in redhat, I have not solved it, I have successfully solved it. Feel the management of this system is also better, more things still have to be found ^ _ ^

I hope that the masters will guide the mistakes and deficiencies in the text, and I hope to help the students who have been installed ~~

转载请注明原文地址:https://www.9cbs.com/read-46457.html

New Post(0)