Notes---Linux and Windows dual-system installation __linux

Source: Internet
Author: User

Practice System: Windows 2003 and openSUSE Linux 12.1

---

Personal comparison of the pursuit of perfection, the hard disk partitions all empty, completely new installation.

What needs to be explained is that the openSUSE system is guided by grub 0.97, and there is no grldr, I looked it up online, The final version of GRLDR is 0.4.4 and does not support EXT4, which is known to have modified the master boot record MBR, skipping directly from the MBR to the openSUSE partition and starting.

My original idea was to start the list by Grldr handwriting, but it failed.

Typically, the boot sequence of the system is the bios->mbr-> active partition-> boot file-> loading the kernel, and the "active partition" step is skipped after loading openSUSE. (Personal research, not ensuring correctness)

In a comprehensive way, we must adopt the openSUSE guidance method.

---

In general, you install Windows first and then install Linux for the reasons described above.

If you later reload windows, the MBR changes and Linux does not start.

I do not know why, Linux has been out for a long time, but Windows still do not have some support for Linux (such as boot, file system, etc.).

---

Hard disk Partitioning: A primary partition, an extended partition. Both of these systems are supported. Set up n logical partitions on the extended partition again.

The main partition installed what system, this random, but I did not install anything, only a small space for it, the storage of Windows boot file is enough.

I'm putting Linux on the front logical partition, and Windows is on the logical partition that follows.

Install Linux First, then install Windows. In particular, I wrote the boot program on the/DEV/HDA when I installed Linux.

After installation, you will go directly into Windows, and you will need to fix Linux boot.

---

Insert the installation CD and reboot and boot from the CD.

Select Rescue System, wait for a while will appear login, input root can be, do not need a password.

Enter grub and enter the GRUB command line.

Enter Find/boot/grub/stage1 carriage return. (that is, looking for a file in the Linux partition, this file should be random, but it's best to remain unique and to boot the partition)

Then a message appears: (HD0,X)//x is the partition number for Linux.

Input root (hd0,x)

Input Seup (hd0)

The repair is complete, and the Grub boot menu will be seen after the reboot.

----

As for the boot menu changes, in the Linux boot partition,/boot/grub/menu.lst, with the file editor can be modified, but need root permissions.

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.