Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to configure Windows7 and Ubuntu9 dual system

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces the relevant knowledge of "how to configure Windows7 and Ubuntu9 dual systems". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Today we introduce the method of installing Ubuntu 9.04 desktop version without virtual optical drive under Windows 7, specifically, first install Windows 7, then Ubuntu 9.04, and then modify grub to add Windows startup item.

First, install Windows 7

Second, install Ubuntu 9.04

1. Copy the Ubuntu 9.04 CD image file to the root directory of C disk

two。 Copy the initrd.gz and vmlinuz from the casper directory in the image file to the root directory of disk C.

3. Download grub4dos and decompress grldr, grldr.mbr and grub.exe. (note that you don't need grldr.mbr,XP. If it's vista or win7, you must have grldr.mbr. Remember!) Go to the C disk root directory.

4. The new memu.lst file is as follows:

Title Install Ubuntu 9.04

Root (hd0,0)

Kernel (hd0,0) / vmlinuz boot=casper iso-scan/filename=/Ubuntu-9.04-desktop-i386.iso ro quiet splash locale=zh_CN.UTF-8

Initrd / initrd.gz

Boot

5. Copy the boot.ini in the xp system to the root directory of disk C, and add c:\ grldr.mbr= "grub" (note grldr.mbr) on the * * line. If there is no xp system around me, then I will post the boot.ini code for everyone to use. The code is as follows:

[boot loader]

Timeout=30

Default=multi (0) disk (0) rdisk (0) partition (1)\ WINDOWS

[operating systems]

Multi (0) disk (0) rdisk (0) partition (1)\ WINDOWS= "Microsoft Windows XP Professional" / noexecute=optin / fastdetect

C:\ grldr.mbr= "grub"

6. At this point, restart the machine, select grub in the selection menu, and you will automatically enter the live cd desktop environment of Ubuntu. The next step is also very important. Open the terminal (application-attachment-terminal) and enter the following code:

Sudo umount-l / isodevice

Then double-click the installation icon on the desktop, enter the installation interface, select the partition in which you want to install Ubuntu, set the partition format to ext3, and select "/" at the mount point. If there is an error that cannot uninstall / isodevice during installation, open Terminal and type

Sudo unmount-l / isodevice

7. Modify grub to add windows startup menu

After installing and rebooting, you will find that you cannot enter Windows 7. You need to take the following steps:

Ubuntu, open the terminal, enter: sudo gedit / boot/grub/menu.lst

Add the following code:

Title Windows Seven

Root (hd0,0)

Makeactive

This is the end of chainloader + 1, "how to configure Windows7 and Ubuntu9 dual systems". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report