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