Two Methods for coexistence of Vista and Linux

Source: Internet
Author: User
Tags arch linux
Two Methods for coexistence of Vista and Linux-general Linux technology-Linux technology and application information. For details, refer to the following section. Environment: Vista SP1, Arch Linux

SDA1 vista c
SDA2/boot
SDA3 SWAP
SDA6/
SDA7/home
SDA8/data
SDA9 vista d

Method 1:

1. Export Linux boot records (Grub is not installed in MBR)

# Dd if =/dev/sda2 of =/home/your username/arch. lnx bs = 512 count = 1
/Dev/sda2 depends on the partition where your arch boot is located.
Generate arch. lnx and replace grldr. mbr with this file.

2. Add Ubuntu boot in the Vista boot menu

Run cmd with the Administrator permission under vista, and then
Bcdedit/create/d "ArchLinux"/application bootsector get an id string
Bcdedit/set {id} device partition = C:
Bcdedit/set {id} path \ arch. lnx
Bcdedit/displayorder {id}/addlast

Method 2:

ArchLinux has already been installed, and Vista SP1 has been activated with VistaLoader,
Download grub4dos (wiki: http://grub4dos.sourceforge.net/wiki/index.php/Main_Page)

Copy GRLDR. MBR to the root directory of the Vista system disk, for example, C :\. Copy GRLDR and menu. lst to the root directory of the system disk.
Note that the C: \ GRLDR file already exists. You can change the name as needed.

After the restart, grub4dos will be first entered, instead of the Windows boot interface as in 2000/2003/XP.

Attach my menu.1st
QUOTE:

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.