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

Source: Internet
Author: User

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

A batch of Dell T7500 workstations purchased by the organization a few years ago are equipped with Win7/RHEL5.5 dual systems. Recently, the Win7 system disk has been broken down, so we need to start and reinstall the system with the Win7 Ghost USB flash drive, after installation, restore the Linux boot menu. The specific operations are as follows:

1. Put the Linux system disk into the optical drive;
2. restart the system and press F12 to start from the optical drive;
3. Enter linux rescue and press enter under BOOT;
4. Under sh #, enter fdisk-l | less and press enter to view the sequence number of the partition where the Win7/Linux system is located (that is, the Boot of the corresponding Device is marked with the * number ). The original Windows 7 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. in the conf file, the rootnoverify (hd0, 1) corresponding to Windows 7, while the new Windows 7 is divided into two zones, and the system is installed on/dev/sda1 (corresponding to grub. rootnoverify (hd0, 0) on conf, And/dev/sda2 as the data partition. There is no security mode option for original Win7. After installing the system with Ghost, I can call up the security mode.
5. Enter grub in sh # And press Enter;
6. Enter root (hd1, 0) and press enter under grub> (Note: Because the Linux system is installed on the second disk (sdb1), the corresponding value is (hd1, 0 ))
7. Enter setup (hd0) and press enter under grub>. (Hd0 here is the disk where the boot partition (MBR) is located. If the boot is on the second hard disk, hd1 is used here );
8. If everything goes well, the following information will appear in the last two rows, indicating that the Startup menu is restored successfully!
......
Grub/menu. lst "... succeeded
Done.
9. grub> quit
10. Enter reboot and press enter under sh;
11. Change the system to Linux and switch to the root user, vi/etc/grub. conf: replace rootnoverify (hd0, 1) in title Other with rootnoverify (hd0, 0). Save and exit;
12. restart the system to the boot menu. Select Other (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. Excessive dust will often lead to system or hardware faults. Therefore, it is necessary to keep the data center clean and remove dust in time.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.