===============================================
Centos 5.5
===============================================
Windows7 is install on C:.
First download grub4dos. I have used 0.4.4. Extract grub4dos-0.4.4.zip and copy
grldr, grldr.mbr and grub.exe to C:.
Download CentOS-5.5-i386-bin-DVD.iso. Find vmlinuz and initrd.img in isolinux
folder and copy them to C:.
Create menu.lst file in C:.
color black/cyan yellow/cyan
timeout 30
default /default
title Microsoft Windows 7
root (hd0,1)
savedefault
makeactive
chainloader +1
title Install CentOS 5.5
root (hd0,1)
kernel (hd0,1)/vmlinuz
initrd (hd0,1)/initrd.img
hd0.1 denotes the first partition in the first hard disk. Since Windows7 creates
100M partition before windows7 system partion. hd0.1 is used. If there is not
such a 100M partion, hd0.0 should be used.
-----------------------------------
| 100M | windows7 partion | other |
-----------------------------------
Open a command line with admistrator rights. Type
bcdedit /create /d "GRUB4DOS" /application bootsector
Copy the GUID. The GUI is used in the following three commands.
bcdedit /set {GUID} device partition=C:
bcdedit /set {GUID} path \grldr.mbr
bcdedit /displayorder {GUID} /addlast
Copy CentOS-5.5-i386-bin.iso to the root folder of a FAT32 partition. In my
case, it is D:. I don't know whether NTFS works and whether the iso can be placed in
a folder other than the root.
Reboot machine. Choose GRUB4DOS. Then chose Install CentOS 5.5. Choose Hard Disk
when be asking for installation media (The installation also recognized
partitions on a USB hard disk). Then choose the partion which contains the iso.
In my case, it is /dev/sda5.
http://wenku.baidu.com/view/222ae33383c4bb4cf7ecd180.html is a good explanation
of the mapping between Windows partition naming and linux partition naming.
Input / as the folder which contains the iso. After doing this, the following
steps are similar
to the installation from CD/DVD. During the installation, just make sure that
window7 installation are recognized by linux GRUB.
During the installtion,
http://blog.csdn.net/crystony/archive/2010/05/21/5613586.aspx helps me a lot.
Thanks to the author.
===============================================
Ubuntu
===============================================
Copy ubuntu-10.04-desktop-i386.iso to C:.
memu.list
color black/cyan yellow/cyan
timeout 30
default /default
title Microsoft Windows 7
root (hd0,1)
savedefault
makeactive
chainloader +1
title Install Ubuntu
root (hd0,1)
kernel (hd0,1)/vmlinuz boot=casper iso-scan/filename=/ubuntu-10.04-desktop-i386.iso ro quiet splash
initrd (hd0,1)/initrd.lz
Everything else is similar to the installation of Centos 5.5.
分享到:
相关推荐
shows you how to install Windows 7 on a new computer or upgrade an older version of Windows to Windows 7. It also shows you how to apply service packs to keep your version of Windows 7 up-to- date. ...
Acronis Disk Director Suite 10.0 Window 8.1/8/7/Vista/xp调整硬盘分区 注意:Acronis Disk Director Suite 10.0 中文简体汉化版有问题,一定要使用英文版本。 Acronis Disk Director Suite 10.0 调整硬盘分区的...
Acronis Disk Director Suite 10.0 Window 8.1/8/7/Vista/xp硬盘分区 注意:Acronis Disk Director Suite 10.0 中文简体汉化版有问题,一定要使用英文版本。 Acronis Disk Director Suite 10.0 调整硬盘分区的教程 ...
Windows Vista/7/8 Installer bootmgr ; does install to root of drive Windows XP Installer —————– Bootable ISOs —————- Try an Unlisted ISO Try an Unlisted ISO (Run from RAM)
- Fix BIOS INT13 function 08 when the number of cylinders on the disk = 1 - I/O Devices - USB HP DeskJet 920C printer device emulation (Ben Lunt) - Misc - Updated Bochs TESTFORM to version 0.5 -...
developed on Linux Ubuntu version 9.04, Microsoft Windows XP, and Windows 7. Who this book is for This book is for Python programmers wanting simple, clear examples of graphic programming using ...
To that end, I let you choose from among several popular Linux systems, show you how to install Docker on the one you choose, and provide working examples of using Docker for everything from running ...
例如,/dev/hda1这个 IDE设备,hd是Hard Disk(硬盘)的,sd是SCSI Device,fd是Floppy Device(或是Floppy Disk?)。a代表第一个设备,通常IDE接口可以接上4个IDE设备(比如4块硬盘)。所以要识别IDE硬盘的方法分别就是...
Persisted: Any changes made are stored on hard disk, so you never lose data on power outages or crashes. Dictionary: A key/value storage system much like the implementation in .NET. MurMurHash: A ...
Encrypt Your Hard Disk Section 61. Sudo Gotchas Section 62. sudoscript Section 63. Restrict an SSH server Section 64. Script IP Filter Rulesets Section 65. Secure a Wireless ...