Article Title: a simple way to start Windows XP and Linux systems. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Generally, Windows XP has been installed before LINUX. In this case, GURB is installed on the hard disk MBR, when we reinstall XP or use the partition magician to adjust the hard disk, it is easy to destroy MBR and LINUX cannot be started. What I will introduce to you is to install GURB in the hard disk winner partition, that is, drive C, use XP to guide LINUX.
1. install LINUX with XP installed, and choose to install GURB in MBR at startup.
2. Go to the LINUX root directory:/boot/gurb and find a file named: menu. copy the lst file. This file will be used in XP. You can put it in a FAT32 partition or a USB flash disk for backup.
3. Go to the XP system to download the gurb.tar.gzdecompressed file, put grldrand grub.exe files in the C root directory, and put the menu. lst files tested in LINUX into the C root directory.
4. Find the boot. ini file in the root directory of the C drive, and add
C: \ grldr = "LINUX" Save (LINUX can be changed to the English you want ). In my computer properties, change your XP boot menu time to 5 or 10 seconds.
5. For the first time you restart the system, select start XP. After you see the Start Menu of XP, select Add. In that LINUX, if the steps are correct, you can go to the LINUX system and restart the DOS boot disk to start the DOS command line. Enter fdisk/mbr at the end of the prompt and press Enter, the MBR is replaced. After restart, You can boot LINUX from the XP boot menu. If you want to reinstall XP next time, you only need to back up the grldr, grub, and exemenu. lst files. After the files are installed, you can add the boot item to boot. ini.
6. If it is the first installed LINUX and then installed XP, connect to the next software that reads LINUX partitions under windows and extract the menu. lst file under windows.
Anod221 wrote:
Ls, how should I use liveCD to reinstall grub?
Code execution:
Grub
Go to grub shell or use the code:
Grub-install
Grub-install must contain parameters.