Grub manual boot, repair win7 Mbr I. Boot Linux to enter the grub menu interface, press the "c" key to enter the grub command mode. 1. Specify the partition where/boot is located. For example, the partition is the first partition of the first hard disk, that is, hd0, 0 grub> root (hd0, 0). 2. Specify the kernel, find the vmlinuz file. Grub> kernel/vmlinuz www.2ct
Configuration:System: win7 + Ubuntu dual-System Computer: Sony
Cause:
After windows 12.04 and Ubuntu are installed, Ubuntu has some problems, so I want to reinstall ubuntu.
I used the easybcd software to install the dual-system, because I did not know about the software and system, and so on. I just thought about it. Do I think Sony has any built-in recovery software? I can fix the entire hard disk and restore the system to the factory status. S
I. repair MBR: MBR (master boot record of MasterBootRecord): the hard disk has 0 cylinder, 0 Head, and 1 sector as the main boot sector. Among them, 446Byte is bootloader, 64Byte is Partitiontable, and the remaining 2Byte is m 1. repair MBR:
ReproducedFirst, repair MBR:MBR (master boot record main boot recording):The hard disk's 0 cylinders, 0 heads, and 1 sectors are referred to as the primary boot sector. Where 446Byte is bootloader,64byte for partition table, and the remaining 2Byte is magic number.Backup MBR:#dd IF=/DEV/SDA Of=/root/mbr.bak count=1 bs=512Destroy Bootloader:#dd If=/dev/zero OF=/DEV/SDA count=1 bs=200Here the block size as lo
Repair MBR Tools Mbrfix downloadInstalled Linux system friends, have had this experience, install GRUB, the hard disk MBR modified, but when the removal of Linux, but even the original Windows system can not start, how to do? There are two simple ways to write an MBR The 1th method is to put the Windows installation di
the partition, the CHS parameter computed from the start sector is different from the partition, the CHS parameter is recalculated and the disk is populated with the MBR, and the disk can be started.After many experiments, the following conclusions are drawn:1: The system at boot will check the CHS parameter in the MBR and the BPB parameter of the boot partition is correct, but it is not always the case, a
". The former refers to the partition name, and the latter tells us that
Is a partition formatted in a Windows operating system. According to this, we know that your windows partition exists.
The first partition on your hard disk SDA. The hard disk sda mbr is exactly what you want to fix.
Next, we need to repair the/dev/sda mbr and input it in the terminal.
Copy
the installation success.After installation, you can see the Grub directory already in the/boot directory.The final step is to manually create the grub.conf file in the Grub directory with the following file contents:650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/86/F9/wKiom1fP-f7zGYxRAAANoNCIVCI335.png "title=" 4.png " alt= "Wkiom1fp-f7zgyxraaanoncivci335.png"/>Where kernel that line if the root filesystem is on a logical volume, you should use the name of the logical volume instea
Add a hard disk to the virtual machine to back up the information for the MBRFdisk-l See if the hard drive system knowsFdisk/dev/sdb to PartitionFdisk-l See if the partition is outMkfs-t EXT4/DEV/SBD1 for formattingMkdir/backupMount/dev/sb1/backup Mount to BackupDo a backup before destroying the MBR, back up the system with:DD IF=/DEV/SDA Of=/backup/sda.mbr.bak bs=512 count=1 back up the SDA front 512 bytes to the backup directoryLs/backup to see if t
computer or on an FTP server by:A. Partitioning, formatting, and mounting another hard drive: fdisk/dev/sdb;mkfs.ext4/dev/sdb1;mount/dev/sdb1/mntB. SCP to another computer or upload an FTP server (step slightly)DD if=/dev/sda of=/mnt/dpt.bak skip=446 bs=1 count= //(2) Destroy DPTDD if=/dev/zero of=/dev/sda seek=446 bs=1 count=Error 22 Errors When restarting after ===> is destroyed(3) Restore dpt===> into rescue mode(Note: Because SDA does not have a disk partition, the hard disk system does no
Article Title: repair MBR after ghostFreeBSD recovers. 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.
Fix bsd startup
1. Use the FreeBSD boot CD to start the FreeBSD Fixit console. Various system tools can be used in this console-these system tools are located on the
Motivation: Dual-system grub repair MBRPrerequisites: Ubuntu 9.04. Other System methods are similar.Applicable: Windows and Linux dual systems are installed on different partitions, And the Linux boot program grub is installed on MBR by default.Problem description: Linux cannot be started because grub in MBR is damaged after Windows is reinstalled.Implementation:
only destroys the front 446 bytes, repairs grub, and the rear partition does not moveDestroying the native bootloader[[emailprotected] mnt]# dd if=/dev/zero of=/dev/sda bs=200 count=1[[emailprotected] grub]# syncThere are several ways to fix the boot state1. Using Grub-install Tools [[emailprotected] mnt]# grub-install --root-directory=/ /dev/sda 2. Grub Tool grub> root (hd0,0)root (hd0,0) Filesystem type is ext2fs, partition type 0x83grub> setup (hd0)setup (hd0) Checking if "/boot/grub/stag
Computer startup
Disk partition Table MSDOSMBR and Gptguid partitiontable
1 MBR partition table
2 GUID partition TABLEGPT partition table
Multiple system Boot
BIOS and UEFI
1. Computer startupWhen we install multiple systems on a single host (such as Win7 and Ubuntu14.04), we will encounter problems with which system is booting up. The typical scen
Win7 + Ubuntu 14.04.1 64 dual system installationBackground: My notebook before the system is window 7 + Ubuntu 14.04.1, with UEFI boot system. The installation process is first installed Win7, and then installs Ubuntu. It was a very harmonious match, but because when the Win7 was loaded, format the hard disk as GPT (globally Unique Identifier Partition table) pa
When the user indicates that the WIN7 system is installed, the disk partition interface cannot continue, prompting Windows to not install to this disk. The selected disk has an MBR partition table. On the EFI system, Windows can only be installed to a GPT disk. ”
Reason Analysis:
Typically, the boot boot entry is incorrectly selected because the user booted the system from the CD.
Solution:
For WIN7/WIN8 that are installed in the MBR partition with a traditional BIOS, you can also use EFI to boot directly into win. First, enter win to extract the EFI boot file, run cmd as Administrator, type the following command
BCDboot c:\windows/s x:/F All
Copy CodeIn the above command, C stands for the C drive, which is the partition letter of win. s, command parameters, boot to another place. x, t
A master boot Record MBR loss will cause the Win7 flagship system to fail to boot, the master boot Record (MBR) is used to detect the correctness of the hard disk partition and to determine the active partition, which is written to the sector by the partition software (such as FDISK) when it is partitioned, so the MBR
1, first use Win7 CD or u disk boot, into the system installation interface, and then press the "Shift + F10" combination shortcut key to open a command prompt;
2, at the Open command prompt in the input "Diskpart" command and press ENTER, and then enter the "list disk" command to see disk information, pay attention to disk capacity to select, the following figure in 465G of disk 0 is hard drive, 3852M Disk 1 is used for
Failure Phenomenon:
When the user indicates that the WIN7 system is installed, the disk partition interface cannot continue, prompting Windows to not install to this disk. The selected disk has an MBR partition table. On the EFI system, Windows can only be installed to a GPT disk. ”
Reason Analysis:
Typically, the boot boot entry is incorrectly selected because the user booted the system from th
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.