Ways to remove the Linux boot interface and considerations

Source: Internet
Author: User
Tags exit file copy insert

People who have played Linux know that in the original system installed Linux, the system boot will show the Linux boot management interface, when we deleted the Linux one day, but found that the Linux boot management interface is still in, then we can use the following methods to delete it.

Prepare a DOS boot disk and FDISK software, use it to boot the system to a DOS command prompt, enter "FDISK/MBR", press Enter on the line. This deletion is not recoverable, please use caution.

How to remove Linux correctly

If you need to remove Linux from a hard drive and have tried to do so with the default DOS (Windows) fdisk, you will experience a "partition exists but does not exist" problem. The best way to remove a non-DOS partition is to use a tool that understands partitions and not just DOS.

First, insert the Red Hat Linux CD to boot the system. After booting, you will see a boot prompt. At the prompt, type: Linux rescue. This will activate the rescue mode program.

You will be prompted to enter your keyboard and language requirements. Enter these values as you would in installing Red Hat Linux.

Next, a screen will appear informing you that the program is trying to find a Red Hat Linux installation to rescue. Select skip on this screen.

Once you have selected Skip, you are given a command prompt that you can use to access the partition you want to delete.

First, type the command list-harddrives. This command lists all the hard drives that are recognized by the installer on your system and their size in megabytes (MB).

Warning

Be careful to remove only the necessary Red Hat Linux partitions. Deleting other partitions can result in data loss or damage to the system environment.

To delete a partition, use the partition tool parted. Start parted, where the/DEV/HDA is the device on which the partition is to be deleted:

Parted/dev/hda

Use the Print command to view the current partition table to determine the number of partitions to delete:

Print

The Print command can also display the types of partitions (such as Linux-swap, Ext2, ext3, and so on). Understanding the partitioning type will help you determine whether you want to delete the partition.

Use the RM command to delete partitions. For example, to delete a partition with a number of 3:

RM 3

Important

As soon as you press the [Enter] key, these changes will occur, so please review the commands repeatedly before confirming. After you delete a partition, use the Print command to confirm that it has been removed from the partition table. Once you've removed the Linux partition and done all the necessary changes, type quit to exit the parted. After you exit parted, type exit after the boot prompt to exit rescue mode and reboot your system instead of continuing with the installation. The system will automatically reboot. If not, you can use [Control]-[alt]-[delete] to reboot the system.

As an emergency XP tool, the Microsoft Windows XP Recovery console 烳 icrosoft Windows XP Command Recovery Console is a well-deserved boutique that eliminates all kinds of difficult failures of win XP and is free. Well, say so much nonsense, or let us feel the win XP command Recovery Console bar!

Win XP command Recovery Console There are two ways to get, one is when your Win XP can not start, with the Win XP boot CD boot, and then choose to use the Win XP command to restore console repair, and second, when XP is still normal time to install. The specific methods are: First insert your Win XP installation boot disk into the CD drive, select Run in the Start menu (or press "Win key +r") to open the Run dialog box, enter the command X\1386\win nt32/cmd con (where x is your CD drive letter), the system asks you whether to install the command to restore the console, Select Yes, the Installation Wizard appears, then choose to skip the network update, and so on file copy completed, the installation was successful. After restarting, you will see the Microsoft Windows XP Recovery console option in the Startup list.

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.