About the 64-bit Windows&linux dual system boot problem

Source: Internet
Author: User

Changed the Taiwan Book Win7 64, take the time to make a dual system, installed under Linux.

Encounter boot problem: Into the Linux can be normal use, into the Win7 flower screen, the initial estimate is grub (boot sector bit grub) problem, the initiator is destroyed a performance.

The corresponding processing is done as follows:

1, modify the/boot/grub/gurb.cfg under Linux, put:

1# # begin/etc/grub.d/30_os-Prober # # #2Menuentry'Windows 7 (loader) (ON/DEV/SDA1)'--class windows--class os $menuentry _id_option'osprober-chain-04ec18f4ec18e22a' {3        InsmodPart_msdos4         InsmodNTFS5Set root='HD0,MSDOS1'6         if[x$feature_platform_search_hint = xy]; Then7Search--no-floppy--fs-uuid--set=root--hint-bios=hd0,msdos1--hint-efi=hd0,msdos1--hint-baremetal=ahci0,msdos1 04ec18f4ec18e22a8        Else9Search--no-floppy--fs-uuid--set=Root 04ec18f4ec18e22aTen         fi OneParttool ${root} hidden- AChainloader +1 -  } - ... the } -# # # End/etc/grub.d/30_os-prober # #

Modified to:

1 1 fi

2 Parttool ${root} hidden-

3 ntldr/bootmgr # # # BOOTMGR Launcher # # #

Reposition the start position.

then re-install grub,quote online case:

Make a update-grub in bash beforehand.

Can get

The drive location of the win system

For example, Win7 on/dev/sda1

Then

1 $sudo fdisk-l

--》

1DISK/DEV/SDA:500.1GB,500107862016bytes2 255Heads theSectors/track,60801Cylinders, Total976773168Sectors3Units = sectors of1* += +bytes4Sector size (logical/physical): +Bytes/ +bytes5I/O size (minimum/optimal): +Bytes/ +bytes6Disk identifier:0xc3ffc3ff  7   8 Device Boot Start End Blocks Id System9/DEV/SDA1 *2048 206847 102400 7hpfs/ntfs/ExFATTen/dev/sda2206848 102402047 51097600 7hpfs/ntfs/ExFAT One/dev/sda3102402048 266242047 81920000 7hpfs/ntfs/ExFAT A/dev/sda4266244094 976771071 355263489F W95 Ext'd (LBA) -/dev/sda5266244096 362371071 48063488 7hpfs/ntfs/ExFAT -/dev/sda6362373120 771971071 204798976 7hpfs/ntfs/ExFAT the/dev/sda7771973120 772165631 96256  theLinux -/dev/sda8772167680 776165375 1998848  theLinux Swap/Solaris -/dev/sda9776167424 912883711 68358144  theLinux -/dev/sda10912885760 976771071 31942656  theLinux

You can see where the win system is located, the starting bit 2048,end at 206847, and the sector information sectors of 1 * for the bytes.

——》

1 sudo grub-install /dev/SDA  2sudo update-grub    3sudoddif=/dev/sda of=/dev/sda bs= count=1 seek= 2048 skip=206847

So on.

About 64-bit Windows&linux dual-system boot issues

Related Article

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.