win7 the hard disk to install Ubuntu

2011-01-10  来源:本站原创  分类:OS  人气:118 

Recently, a new cell phone can be used to buy evdo Internet. Office of the net and I opened five per package of 500 MB traffic operations also take effect this month. I currently do not support the win7 evdo Internet-driven. So I severely heart, freed a 30-G space to install a ununtu. The package so that I can use. Houhou ~ ~
Preparation: at it from a colleague to a canon, canon Oh installed. Details are as follows:
win7 hard drive to install Ubuntu 10.04
1, win7 settings

Why is this part of the stress, because a lot of XP win7 discarded things, such as C: \ boot.ini win7 was discarded, the hard disk installation will need to add startup items, and want to add startup items under no boot.ini on the win7 only through the bcdedit command to get.

Want to use bcdedit nor is it easily led to things, have to start the administrator account. win7 the other account, even full administrator privileges, and no permission to run the bcdedit, in addition to administrator, and win7 the default administrator user is locked, you want to open the administrator account, was first point of operation.

Right on the desktop "My Computer" icon, out of the menu, select "Manage", then pop up a computer management interface, the computer management interface on the left tree select "System Tools -> Local Users and Groups -> Users ", then the right will come out a list of users, one of which is the administrator, right-administrator, select Properties to bring up the interface card has a conventional option" Account is disabled "check box, hook it remove the selected state, then switch user, you will see there win7 the administrator of the login screen, log in using the administrator account can be implemented after win7 my installation work.

Began under the hard drive to install Ubuntu in win7

1, grub4dos extract, copy of which grldr and grldr.mbr two files to the root directory of C.

2, use winrar to open the virtual drive or ubuntu-9.04-desktop-i386.iso, the. Disk and copied to two folders casper root directory of C, then the casper folder under the initrd.gz and vmlinuz files two to the C root directory.

3, run cmd, open a command prompt, type in the command prompt, what command sequence:

bcdedit / create / d "GRUB4DOS" / application bootsector This will produce a guid print in the cmd window, for example, I is {90e14995-d284-11de-a325-a4ab4deca1b7}.

bcdedit / set {7c9bbd42-c211-11df-85ac-f0def1151b6a} device partition = C: This command is to set the startup items just added the boot partition, C drive is set here, because our documents are in the C drive.
bcdedit / set {7c9bbd42-c211-11df-85ac-f0def1151b6a} path \ grldr.mbr set to run at startup file.
bcdedit / displayorder {7c9bbd42-c211-11df-85ac-f0def1151b6a} / addlast this just to increase the start-up items will be put behind the other startup items.
With the bcdedit / enum look, you will see these commands have just start on configuration.
The real-mode boot sector -------
Identifier {7c9bbd42-c211-11df-85ac-f0def1151b6a}
device partition = C:
path \ grldr.mbr
description GRUB4DOS
8, in the root directory of C under the new menu.lst file, use Notepad to open the paste content into the following categories and save:

color black / cyan yellow / cyan
timeout 30
default / default

title Install Ubuntu
root (hd0, 0)
kernel (hd0, 0) / vmlinuz boot = casper iso-scan/filename = / ubuntu-9.04RC-desktop-i386.iso ro quiet splash locale = zh_CN.UTF-8
initrd (hd0, 0) / initrd.gz

# Start from win7
title>>> windows 7 enable
root (hd0, 0)
chainloader +1
# Start from win7
title>>> windows 7 disnable
find - set-root (hd0, 0) / bootmgr
chainloader (hd0, 0) / bootmgr
savedefault - wait = 2

Where (hd0, 0) is likely due to the hard disk address and can not find the file, you can modify the (hd0, 0) removed.

9, download the ubuntu iso file will be copied to the root directory of C.

10, restart the installation. Prior to installation press Alt + F2 to open terminal and type sudo umount-l / isodevice uninstall iso CD image file we put the C drive. Otherwise it can not be installed.

11, the installation is completed, remove the startup item bcdedit produce bcdedit / delete {7c9bbd3e-c211-11df-85ac-f0def1151b6a} / f. So far completed.

With the script:

# Default delay time (seconds)
timeout 20
# The first is the default value
default 0
# Animated graphic menu file
# Gfxmenu / boot / grub / grub_chs.msg
# Set the background paper Graphic
splashimage / boot / grub / mscd.gz
# Animated graphic menu file
fontfile / boot / grub / fonts
# Start from win7
title>>> windows 7 enable
root (hd0, 0)
chainloader +1
# Start from win7
title>>> windows 7 disnable
find - set-root (hd0, 0) / bootmgr
chainloader (hd0, 0) / bootmgr
savedefault - wait = 2
# Start WinXPE mini operating systems
title>>> Windows XPE
find - set-root (hd0, 0) / LDRXPE
chainloader (hd0, 0) / LDRXPE
savedefault - wait = 2
# Start the mountains leaves dos Toolbox
title>>> shenshan hongye tools
map - mem (hd0, 0) / boot/grub/DOS98.IMG (fd0)
map - hook
chainloader (fd0) +1
rootnoverify (fd0)
savedefault - wait = 2
# Boot to the GRUB command-line mode
title>>> start the GRUB command line mode
commandline
# From the local disk of the primary partition start
title>>> windows xp
fallback 1
find - set-root (hd0, 0) / ntldr
chainloader (hd0, 0) / ntldr
savedefault - wait = 2
# Restart the computer
title>>> reboot
reboot
# Turn off the computer
title>>> stop
halt

After installation is complete, use the command update-grub, and then enter a sudo!!, Restart, you can choose to start a window or ubuntu.
According to this method, the installation process, there have been some small problems, but by the master shot, one by one gave resolved. I looked at the newly installed system, and my heart that the United States ah.

相关文章
  • win7 the hard disk to install Ubuntu 2011-01-10

    Recently, a new cell phone can be used to buy evdo Internet. Office of the net and I opened five per package of 500 MB traffic operations also take effect this month. I currently do not support the win7 evdo Internet-driven. So I severely heart, free

  • U disk to install Ubuntu. HDD 2010-10-12

    Previously been run in a virtual machine on Linux, seeing less and less disk space, faster and slower. . . Just have a 16G U-hand drive, had worked to install Ubuntu to the U disk to go inside, make a portable Linux system, the following is a specifi

  • windows xp disk to install ubuntu 10.04 Method (Reprinted) 2010-06-20

    ubuntu 10.04 also issued some time, I think many people can not wait, ubuntu 10.04 is a long-term support version. Installed in three ways. 1. Through the direct upgrade ubuntu 9.10 to 10.04, but the update up more slowly, but may retain some of the

  • U disk to install Ubuntu 2010-10-12

    The Ubuntu system is installed to the U disk, U disk generally use the entire space. Although the entire Ubuntu system about 2.6GB of space, but normal use, including system updates, installation of application software, at least 8GB of space. 1. The

  • How U disk to install ubuntu 2010-11-12

    To install ubuntu-10.10-server-amd64.iso Case Required software: USBstarter-setup.exe (http://u.115.com/file/f594d63aa3) ubuntu-10.10-server-amd64.iso (or other version) initrd.gz (http://archive.ubuntu.com/ubuntu/dists/maverick/main/installer-amd64/

  • ThinkPad X201 notebook hard disk to install Ubuntu dual system through 2011-05-04

    Recently wanted to install a Linux notebook systems, virtual machine, after all, sometimes not so cool with it. Start the installation of CentOS 4.8. As the laptop has no optical drive, so start by U disk and hard disk installation method. Operation

  • u disk to install ubuntu server 10.10 2010-10-22

    Bored a few days ago to upgrade that old server, the result hung up, hung up because the do-release-upgrade time to knock the other command causes a file is locked, the upgrade to half of the failure, restart could get in, recovery mode does not work

  • U disk to install Ubuntu will not start after the solution 2011-04-16

    U disk boot into the installed UBUNTU, then check first if the location of U disk and hard disk, hard disk should be hung on the sdb sudo fdisk-l sudo grub-setup-d / boot / grub / dev / sdb Uninstall U disk, restart, see the GRUB menu, right? sudo gr

  • Independent hard disk partition to install ubuntu 10.04 Step Records 2010-09-22

    1, in the windows to take out a blank partition and to delete the partition 2, U disk to install ubuntu by 3, partition, select "Choose the largest continuous space" 4, add the source 5, the installation language, hardware drivers 6, install the

  • win7 the hard disk install ubuntu 2011-04-30

    This article for ubuntu10.04, such as the version does not match the unknown case, please do not refer. ps: This method has risk, should be ready to guide u disk or CD-ROM to prevent misfortune. If you do not pursue it point performance, you can choo

  • Under the hard drive to install Ubuntu win7 2011-01-10

    Recently, a new online buy a mobile phone can use evdo. Hall and I opened the network packet 500 MB 5 yuan of business traffic into effect this month also. And my win7 currently no drivers to support evdo Internet. Therefore, I severely heart, freed

  • under the hard drive to install Ubuntu 10.10 win7 dual system (non-wubi installation) 2011-09-04

    Finally get a night, ok, not wasted. In the windows hard disk installation linux many ways, saw a lot of information and, finally, it is actually a 3-step 1) the original system's hard drive under the new sub-district, leaving an empty place a disk l

  • windows xp disk method to install ubuntu 10.04 2010-05-09

    Ubuntu 10.04 also issued some time, I think many people can not wait, Ubuntu 10.04 is a long-term support version. Installed in three ways. By ubuntu 9.10 upgrade to 10.04, but the update up more slowly, but may retain some of the software configurat

  • Original - in Install Ubuntu 10.04 U disk 2010-05-15

    Ubuntu 10.04 published recently, have on hand, U-8G disk, so I want to install a play in the above, specific steps are as follows: 1. From Ubuntu's official website to download Ubuntu 10.04 2. If you want to use U disk to install can create a liveCD,

  • U disk to install on ubuntu 2010-10-12

    1, following the first linux partition (8G) First sub-fat32 area (1.5G), U disk storage for temporary use (must be the first partition, otherwise windows does not recognize the following) And then sub-ext4 area (6G) swap area (500M) 2, the next Ultra

  • How to divide the hard disk partition in Windows install ubuntu on 2010-10-19

    To install Ubuntu Linux, you first need to create a Linux partition on the hard drive before you can install Linux into the final configuration. Following details how to operate. First, create a Linux partition on the hard disk The first step, run No

  • With LPVM use Wubi to install Ubuntu to modify the allocation of hard disk size when 2011-06-06

    Many people may have encountered this problem: see, said the use wubi to install ubuntu in a convenient and safe. The first time with ubuntu but his request has no concept of space allocation, they readily gave a 5,6 g I thought should be enough. The

  • Install Ubuntu on Win7 64 bit System 2011-07-19

    Install Ubuntu on Win7 64 bit System 1. Download ubuntu 64 bit system The file name is ubuntu-11.04-desktop-amd64.iso 2. Download grub4dos http://download.gna.org/grub4dos/ The file name is grub4dos-0.4.4.zip. Unzip the file and copy the file list to

  • win7 under (a hidden partition) hard drive install ubuntu 2011-09-17

    1. Download grub4dos (2) under the grub4dos grldr, grldr.mbr and menu.lst extract out, the other can throw it away. If the loading process of the system created a hidden partition of 100M, then Control Panel -> Administrator Tools -> Computer Manage

  • Under the hard drive to install Ubuntu 10.10 WIN7 dual system 2011-01-08

    1. Software download operating system Ubuntu: http://www.ubuntu.com/desktop/get-ubuntu/download EasyBCD boot software: http://neosmart.net/dl.php?id=1 2. EasyBCD boot the computer into the ubuntu configuration system 1) ubuntu-10.10-desktop-amd64.iso