What IBM hates is that MBR is the master, which writes control information to the MBR file of each hard disk from the factory so as to operate its "blue key ". I have been seeking for a long time and have not found a solution to the conflict between GRUB and MBR, recently, it is very popular to install LINUX on a mobile hard disk to solve not only the startup sector conflict of all models but also the problem of running it without any problems. As a result, I also got a 10 Gb small mobile hard drive experience. The installation is very simple, and the CD is started. Select the mobile hard disk as the installation object.
What IBM hates is that MBR is the master, which writes control information to the MBR file of each hard disk from the factory so as to operate its "blue key ". I have been seeking for a long time and have not found a solution to the conflict between GRUB and MBR, recently, it is very popular to install LINUX on a mobile hard disk to solve not only the startup sector conflict of all models but also the problem of running it without any problems. As a result, I also got a 10 Gb small mobile hard drive experience.
The installation of Ubuntu Linux 7.10 is very simple. When the CD is started, select the mobile hard disk as the installation object. The only thing to note is that we need to adjust the installation location of GRUB in Step 7, the default value is (hd0). We should change it to (hd1). Note that hd0 and hd1 are both relative positions, but they are written in absolute positions when installed on the hard disk, what does it mean? We will wait for the time being.
It may take about 15 minutes to install it. If your network speed is fast enough. After the installation is complete, restart the system. It is verified that the built-in hard disk has not been changed.
At this time, we start the ubuntu starter through USB. After clicking start, the system prompts an error: the operating system cannot be found in the specified partition!
Here is the question of "Writing in absolute position" that I just mentioned. When we install it, the USB hard disk is mounted to the system as an slave disk (hd1, primary disk (hd0) is a built-in hard disk, so ubuntu defines the boot partition information as (hd1, 0) and writes it to the boot partition. When USB is used for boot, It is started as the primary disk (hd0, 0), which is inconsistent with the partition definition. Therefore, the system cannot be found on the partition.
How can I fix this error? First, we can temporarily modify the menu. lst file in GRUB, but we cannot save it. After entering the system, we can use the editor to modify it again and save it all. Haha.
On the GRUB interface, press "C" to enter the command line.
Input: boot (hd0, 0), return to the previous menu, and press "B" to start the system. At this time, the long-time illegal image appeared.
After entering the system, enter terminal input:
Sudo nano/boot/grub/menu. lst
Edit the startup project to hd () and press ctrl + o to save and restart. Solve the problem!
Configuration:
1. language Pack: sudo apt-get install language-support zh
2. server: sudo apt-get install apache2 php5 mysql-server phpmyadmin
3. Editor: sudo apt-get install emacs bluefish
4. KDE4: sudo apt-get install kubuntu-desktop
Sudo apt-get install language-pack-kde-zh-base language-pack-zh-base language-support-zh
Modify the image source:
Sudo nano/etc/apt/sources. list
Delete all the content and replace it with the following:
Http://ubuntu.cn99.com/ubuntu/ gutsy main restricted universe multiverse
Deb http://ubuntu.cn99.com/ubuntu/ gutsy-security main restricted universe multiverse
Deb http://ubuntu.cn99.com/ubuntu/ gutsy-updates main restricted universe multiverse
Deb http://ubuntu.cn99.com/ubuntu/ gutsy-proposed main restricted universe multiverse
Deb http://ubuntu.cn99.com/ubuntu/ gutsy-backports main restricted universe multiverse
Deb-src http://ubuntu.cn99.com/ubuntu/ gutsy main restricted universe multiverse
Deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-security main restricted universe multiverse
Deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-updates main restricted universe multiverse
Deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-proposed main restricted universe multiverse
Deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-backports main restricted universe multiverse
Http://ubuntu.cn99.com/ubuntu-cn/ gutsy main restricted universe multiverse
Http://archive.ubuntu.org.cn/ubuntu-cn/ gutsy main restricted universe multiverse
Do not forget sudo apt-get update. It has been verified that the download speed in the library can reach 600 kbps.
Done.