Dell T7500 workstation Win7/RHEL5.5 dual system boot menu repair_PHP tutorial

WBOY
Release: 2016-07-12 09:05:56
Original
1322 people have browsed it

Dell T7500 workstation Win7/RHEL5.5 dual system boot menu repair


A batch of Dell T7500 workstations purchased by the unit a few years ago are equipped with Win7/RHEL5.5 dual system. Recently, Win7 system disks have been damaged one after another, so they replaced new disks. First, use the Win7 Ghost U disk to start and reinstall the system. After the installation is complete, restore the Linux boot menu. The specific operations are as follows:

1. Replace the Linux system disk Put it into the optical drive;
2. Restart the system and press F12 to select boot from the optical drive;
3. Under BOOT: enter linux rescue and press Enter;
4. Under sh#, enter fdisk -l|less Press Enter and check the sequence number of the partition where the Win7/Linux system is located (that is, the Boot mark of the corresponding Device is marked with an *). The Win7 originally installed on the machine has a hidden Dell Utility partition occupying /dev/sda1, and the system is installed on the /dev/sda2 partition (from the Linux grub.conf, it corresponds to Win7's rootnoverify (hd0, 1)), and My newly installed Win7 disk is divided into two partitions. The system is installed on /dev/sda1 (corresponding to rootnoverify (hd0, 0) on grub.conf), and /dev/sda2 is used as the data partition. The original Win7 does not have a safe mode option. I can bring up the safe mode after using Ghost to install the system.
5. Enter grub under sh# and press Enter;
6. Enter root (hd1,0) under grub> and press Enter; (Note: Because the Linux system is installed on the second disk (sdb1), The corresponding is (hd1, 0) )
7. Enter setup (hd0) under grub> and press Enter. (hd0 here is the disk where the boot partition (MBR) is located. If the boot is on the second hard disk, this is hd1);
8. If everything goes well, the following information will appear in the last two lines, which means The boot menu was restored successfully!
...
grub/menu.lst"... succeeded
Done.
9. grub> quit
10. Enter reboot under sh# and press Enter;
11. Let the system enter Linux, switch to the root user, vi /etc/grub.conf, change rootnoverify (hd0, 1) in title Other to rootnoverify (hd0, 0), save and exit;
12. Restart the system and go to the startup menu. Then select Other (i.e. Win7) to enter the Win7 system normally.
====================== =
Prompt message when installing grub:

livecd conf.d # grub
Probing devices to guess BIOS drives. This may take a long time.

grub> root ( hd1,0)
Filesystem type is ext2fs, partition type 0xfd

grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 16 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1 16 p (hd0,0)/boot/grub/stage2 /boot/
grub/menu .lst"... succeeded
Done.

grub> quit
sh# reboot

Note: Dust in the chassis will generate static electricity. Too much dust will often cause the system or Hardware failure, so it is necessary to keep the computer room clean and dust the chassis in time

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1067480.htmlTechArticleDell T7500 workstation Win7/RHEL5.5 dual system boot menu repair unit purchased a batch of Dell T7500 workstations a few years ago Installed with Win7/RHEL5.5 dual system, Win7 system disk has been damaged recently...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template