Linux Windows 2
-
Upload
carla-missiona -
Category
Documents
-
view
230 -
download
0
Transcript of Linux Windows 2
-
8/13/2019 Linux Windows 2
1/94
INFT 13-312 / 73-312
COMPUTER ORGANIZATION &
OPERATING SYSTEMS
-
8/13/2019 Linux Windows 2
2/94
Presented by:
Erica Santosaputri-- 12606283YiQian Wang--12621927
(Jackie) Qi Zhang --11090869
-
8/13/2019 Linux Windows 2
3/94
Why dual-systems
But Linux is faster, cheaper, more efficient, more
stable
Some application software are not available
For Linux (eg. Quicken, TurboTax,Adobe Acrobat,
Atomica)
For Windows
Windows problems (next slide)
http://www.quicken.com/http://www.turbotax.com/http://www.adobe.com/http://www.atomica.com/http://www.atomica.com/http://www.adobe.com/http://www.turbotax.com/http://www.quicken.com/ -
8/13/2019 Linux Windows 2
4/94
Problems with Windows OS
Most factory-installed Windows installations take up all
the space on your hard drive, leaving no room for
installing Linux. Therefore, we must clear some spacewhere Linux can be installed.
Linux needs to have partitions of its own, but Windows
does not have the ability to resize partitions. Ordinarily,
this would mean you would have to delete your existingpartition to make room on the drive and create partitions
of smaller sizes and reinstall.
-
8/13/2019 Linux Windows 2
5/94
How to install dual-OS systems
Install two hard disks, one for Windows, one for
Linux.
Partition one hard disk, so it has multi operatingsystem upon it, which can be DOS, Win95,
Win98, Win NT, or Win2K with Linux.
-
8/13/2019 Linux Windows 2
6/94
In Two Hard Disks
One hard disk install the dos/windows, another
one install Linux.
When turn on the computer, go to CMOS tochoose which hard disk (operating system)
should be used to boot.
-
8/13/2019 Linux Windows 2
7/94
Partition in One Hard Disk
Why partition---Different file system.
The Linux use native partition and swap
partition. But Linux can not use either FAT orNTFS yet.
Linux and other operating system must be
installed in different partition.
-
8/13/2019 Linux Windows 2
8/94
How to Partition One Hard Disk
Use Fdisk to divide a hard disk, which does not have
any operating system.
A hard disk with windows system already, use FIPS toRESIZE the hard disk.(defragment the hard disk before
use FIPS, back up system recommended)
A hard disk with Linux system already. Boot Linux by
Bootdisk, then re-run Lilo to overwrite the windows boot
program.
-
8/13/2019 Linux Windows 2
9/94
About FIPS
Linux distributions come with a special tool to
allow you to resize or divide hard drive partitions.
FIPS, the First (non-destructive) InteractivePartition Splitter, normally found on your Linux
CD in a directory called /dosutils.
You will also need a blank, formatted floppy diskto use as a boot disk.
-
8/13/2019 Linux Windows 2
10/94
Installation
Linux First
Windows First
-
8/13/2019 Linux Windows 2
11/94
Installing Linux First
A hard disk with Linux system already. Boot
Linux by Bootdisk, then re-run Lilo to overwrite
the windows boot program
-
8/13/2019 Linux Windows 2
12/94
Installing Windows first
Install the windows system in one partition
first(except the last partition).
Linux system should install in the last partition.
Boot with windows system, then the Linux
partition can not be seen.
-
8/13/2019 Linux Windows 2
13/94
Installing Windows first(Cont)
Make a Bootdisk when installing Linux.
When installed the Linux, the system will ask
user choose the Lilo installation.
-
8/13/2019 Linux Windows 2
14/94
Installing Windows first(cont)
Master Boot Record.
First Sector of Boot Partition.
-
8/13/2019 Linux Windows 2
15/94
Installing Windows first(cont)
The master boot record will go to Lilo.
The user can choose operating system by use
the tab.
-
8/13/2019 Linux Windows 2
16/94
Installing Windows first(cont)
The First Sector of Boot Partitionwill use the
Bootdisk to boot computer into Linux.
Normally the computer will boot with c:.
The WinNT/Win2K OS loader can be used to
choose different OS.(MS-DOS, Window9x).
-
8/13/2019 Linux Windows 2
17/94
How to Dual Boot?
Using LILO
Using OS loader
Using a third software as emulator or
communicator
-
8/13/2019 Linux Windows 2
18/94
Boot with Lilo
LInux LOader
Most Linux can detect the windows partition.
However, sometimes need to edit the
/ect/lilo.conf as root user
-
8/13/2019 Linux Windows 2
19/94
Edit /ect/lilo.conf
boot=/dev/hda root=/dev/hda2
install=/boot/boot.b map=/boot/map
image=/boot/vmlinuz label=Linux read-only
other=/dev/hda1 label=windows tabl
e=/dev/hda
-
8/13/2019 Linux Windows 2
20/94
Edit /ect/lilo.conf(cont)
The section labeled "other" may need
to add by hand.
/dev/hda1 is the first partition on an IDEdisk (C:, in Windows). The second
partition (D:, in Linux) would be
/dev/hda2
-
8/13/2019 Linux Windows 2
21/94
Boot with Lilo(cont)
LILO accomplishes start system by
reading a configuration file (/etc/lilo.conf)
After modifications to lilo.conf, must run
a program (/sbin/lilo) to actually write
those changes to the boot sector of thehard drive.
-
8/13/2019 Linux Windows 2
22/94
Boot with Lilo(cont)
If the windows system is win95 or win98 it
should work.
If the windows system is winNT or win2K, thechange should make in the windows side.
-
8/13/2019 Linux Windows 2
23/94
-
8/13/2019 Linux Windows 2
24/94
Boot with OS loader(cont)
In the win NT side, edit the file c:\\boot.ini.
Remove the read-only-attribute before modify
with following:
C:\attrib -s -r c:\boot.ini
Add C:\BOOTSECT.LNX="Linux" in the file.
-
8/13/2019 Linux Windows 2
25/94
Boot with OS loader(cont)
Restore the attributes after you have saved
boot.iniwith:
C:\attrib +s +r c:\boot.ini
Restart
-
8/13/2019 Linux Windows 2
26/94
Boot with OS loader(cont)
What you can see now:
OS Loader V4.00
Please select the operating system tostart:
Windows NT Workstation Version 4.0Windows NT Workstation Version 4.0 [VGA
mode] LinuxSelect Linux and see
LILO loading zImage ....
-
8/13/2019 Linux Windows 2
27/94
Third software
Wine
Win4Lin
VMware
Bochs
-
8/13/2019 Linux Windows 2
28/94
Third software (cont)
Partition magic
Boot magic
GRUB
Boot Part
Disk Drake
-
8/13/2019 Linux Windows 2
29/94
Wine
Feature
It is not an emulator
one of the oldest examples of such software
Open source package
Implements the Windows 3.1 and Win32 APIs
directly under Linux and X
-
8/13/2019 Linux Windows 2
30/94
Wine
Advantages
Cost effective
Easy to install
Can run either with or without partition
-
8/13/2019 Linux Windows 2
31/94
Wine
Disadvantages:
Supporting not many application software
Cannot be run on a kernel
an unhandled exception and hung.
-
8/13/2019 Linux Windows 2
32/94
Wine
Hardware Requirements
requires an Intel or compatible processor
-
8/13/2019 Linux Windows 2
33/94
Wine
When to use
Just need to run Windows programs occasionally
-
8/13/2019 Linux Windows 2
34/94
Wine
Installation
http://www.la-sorciere.de/wine/index.html
http://www.la-sorciere.de/wine/index.htmlhttp://www.la-sorciere.de/wine/index.htmlhttp://www.la-sorciere.de/wine/index.htmlhttp://www.la-sorciere.de/wine/index.html -
8/13/2019 Linux Windows 2
35/94
Win4Lin
Features
Version 3.0
running Windows applications on Linux
Installation of it actually installsWindows for you
-
8/13/2019 Linux Windows 2
36/94
Win4Lin
Advantages
Relatively fast installation process
Cost efficiency
-
8/13/2019 Linux Windows 2
37/94
Win4Lin
Disadvantages
Complicate installation
-
8/13/2019 Linux Windows 2
38/94
Win4Lin
When to use
Need to run a large range of Windows programs
Need a more faithful Windows environment but canlive with Windows 9x
Do not need to use Windows NT or Windows 2000
-
8/13/2019 Linux Windows 2
39/94
Win4Lin
Hardware & Software Requirements Intel Pentium-class or compatible processor
recommended
32MB of memory (64 MB recommended)
CD-ROM drive Floppy drive (if your Windows installation CD is
not bootable)
20 MB disk space for Win4Lin
40 MB - 135 MB additional disk space forWindows system files Additional disk spacerequired for applications.
Sound cards that are Open Sound System (OSS)compatible
-
8/13/2019 Linux Windows 2
40/94
Win4Lin
Software Requirements:
Linux kernel 2.2.X or 2.4.X
Microsoft Windows 95/98 (one license per user) Microsoft Windows 95/98 full installation CD and
boot floppy disk if CD is not bootable
X Window System (16-bit color recommended)
Root user access
-
8/13/2019 Linux Windows 2
41/94
Win4Lin
Supporting Linux
Red Hat Linux- 6.0, 6.1, 6.2, 7.0, 7.1
CalderaTMOpenLinux- 2.3Caldera eDesktop- 2.4, 3.1
SuSETMLinux- 6.4, 7.0, 7.1
Linux-MandrakeTM- 7.1, 7.2, 8.0
Supporting Windows
Microsoft Windows 95/98
-
8/13/2019 Linux Windows 2
42/94
Win4Lin
Installation
Install the custom kernel
Install Win4Lin run install-win4lin.sh
Install RPM (perform that step as root)
Install Windows on your system using thewinsetupcommand (perform that step
as root)
Set up a personal copy of Windows 9x again,using the winsetupcommand
-
8/13/2019 Linux Windows 2
43/94
VMware
Features
Provides a very complete virtual
machine environment that emulatesan Intel x86-based computer,
Runs under either Linux or WindowsNT as the host operating system
-
8/13/2019 Linux Windows 2
44/94
VMware
When to use
Need to run Windows NT or Windows 2000
Need Windows applications that require MicrosoftWindows Networking
-
8/13/2019 Linux Windows 2
45/94
VMware
Advantages
VMware provides much extra functionality
-
8/13/2019 Linux Windows 2
46/94
VMware
Disadvantages
Expensive
-
8/13/2019 Linux Windows 2
47/94
VMware
Hardware Requirements Standard x86-based host machine
266MHz or faster processor that supports thePentium instruction set, includeIntel: Pentium Pro, Celeron, Pentium II, Pentium III
AMD: K6-2, K6-III, Athlon (K7)
Multiprocessor systems supported
RAM memory Minimum: 96MB; recommended:
128MBVideo adapter supported by the XFree86Server (to take advantage of the Workstationfull-screenoption)
http://www.xfree86.org/http://www.xfree86.org/ -
8/13/2019 Linux Windows 2
48/94
VMware
Special requirement when having Windows OS
first
Greater than 256 color (8 bit depth) displayadapter required
Optional Ethernet adapter (required for
bridged mode networking)
-
8/13/2019 Linux Windows 2
49/94
VMware (for Linux)
Installation (Cont)
1. Install the Workstation softwareand license.
2. Configure a new virtual machineusing theConfiguration Wizard.
3. Install a guest operating systemin the new
virtual machine.
4. Install the VMware Tools packageinside yourvirtual machine for enhanced performance.
5. Start usingyour virtual machine.
http://www.vmware.com/support/ws2/doc/install_ws_linux.htmlhttp://www.vmware.com/support/ws2/doc/configure_ws_linux.htmlhttp://www.vmware.com/support/ws2/doc/install_guest_ws_linux.htmlhttp://www.vmware.com/support/ws2/doc/install_tools_ws_linux.htmlhttp://www.vmware.com/support/ws2/doc/running_ws_linux.htmlhttp://www.vmware.com/support/ws2/doc/running_ws_linux.htmlhttp://www.vmware.com/support/ws2/doc/install_tools_ws_linux.htmlhttp://www.vmware.com/support/ws2/doc/install_guest_ws_linux.htmlhttp://www.vmware.com/support/ws2/doc/configure_ws_linux.htmlhttp://www.vmware.com/support/ws2/doc/install_ws_linux.html -
8/13/2019 Linux Windows 2
50/94
VMware (for Windows NT and 2000
Installation
1. Install the Workstation softwareand license.
2. Configure a new virtual machineusing theConfiguration Wizard.
3. Install a guest operating systemin the new
virtual machine.
4. Install the VMware Tools packageinside yourvirtual machine for enhanced performance.
5. Start usingyour virtual machine.
http://www.vmware.com/support/ws2/doc/install_ws_win.htmlhttp://www.vmware.com/support/ws2/doc/configure_ws_win.htmlhttp://www.vmware.com/support/ws2/doc/install_guest_ws_win.htmlhttp://www.vmware.com/support/ws2/doc/install_tools_ws_win.htmlhttp://www.vmware.com/support/ws2/doc/running_ws_win.htmlhttp://www.vmware.com/support/ws2/doc/running_ws_win.htmlhttp://www.vmware.com/support/ws2/doc/install_tools_ws_win.htmlhttp://www.vmware.com/support/ws2/doc/install_guest_ws_win.htmlhttp://www.vmware.com/support/ws2/doc/configure_ws_win.htmlhttp://www.vmware.com/support/ws2/doc/install_ws_win.html -
8/13/2019 Linux Windows 2
51/94
Bochs
Features
Bochs 1.2.1(released on June 12, 2001)
dual hard drive support, multiple processoremulation (SMP), and VNC remote viewermode.
a highly portable open source x86 PCemulator. It includes emulation of the Intelx86 CPU, common IO devices, and acustom BIOS
-
8/13/2019 Linux Windows 2
52/94
Bochs
When to use
Need to run Windows on a platform such as Alpha,
Power PC, or Sparc
-
8/13/2019 Linux Windows 2
53/94
Bochs
Advantages
High development potential
MandrakeSofthas bought Bochs, andcommitted it to open source (LGPL) inorder to help the development of thePlex86 project(an open source PC
virtualization software program which willallow users to run multiple operatingsystems concurrently on the samemachine)
http://www.mandrakesoft.com/http://www.plex86.org/http://www.plex86.org/http://www.mandrakesoft.com/ -
8/13/2019 Linux Windows 2
54/94
Bochs
Disadvantages
Bug report
http://bochs.sourceforge.net/cgi-bin/topper.pl?name=Report+a+Bug&url=http://sourceforg
e.net/tracker/qmrkgroup_ideq12580ampatideq112580
http://bochs.sourceforge.net/cgi-bin/topper.pl?name=Report+a+Bug&url=http://sourceforge.net/tracker/qmrkgroup_ideq12580ampatideq112580http://bochs.sourceforge.net/cgi-bin/topper.pl?name=Report+a+Bug&url=http://sourceforge.net/tracker/qmrkgroup_ideq12580ampatideq112580http://bochs.sourceforge.net/cgi-bin/topper.pl?name=Report+a+Bug&url=http://sourceforge.net/tracker/qmrkgroup_ideq12580ampatideq112580http://bochs.sourceforge.net/cgi-bin/topper.pl?name=Report+a+Bug&url=http://sourceforge.net/tracker/qmrkgroup_ideq12580ampatideq112580http://bochs.sourceforge.net/cgi-bin/topper.pl?name=Report+a+Bug&url=http://sourceforge.net/tracker/qmrkgroup_ideq12580ampatideq112580http://bochs.sourceforge.net/cgi-bin/topper.pl?name=Report+a+Bug&url=http://sourceforge.net/tracker/qmrkgroup_ideq12580ampatideq112580http://bochs.sourceforge.net/cgi-bin/topper.pl?name=Report+a+Bug&url=http://sourceforge.net/tracker/qmrkgroup_ideq12580ampatideq112580 -
8/13/2019 Linux Windows 2
55/94
Bochs
Hardware Requirements
400MHz processor
At least 64MB of RAM
-
8/13/2019 Linux Windows 2
56/94
Bochs
Installation
Boot
# cd /usr/ports/emulators/bochs && make install clean Change to VGA fonts, If you have a recent FreeBSD
4.X source tree (after June 30, 2000), the font is
included with the source, and you just have to do the
following before running Bochs:
% xset fp+ /usr/libdata/doscmd/fonts
-
8/13/2019 Linux Windows 2
57/94
Bochs
Installation (Cont)
If you don't have a source tree from after June 30,
2000, you'll have to do the following:1.Fetch this file.
2. Run the following commands as root:
# uudecode cp437-8x16.pcf.gz.uu > cp437-
8x16.pcf.gz # cp cp437-8x16.pcf.gz
/usr/X11R6/lib/X11/fonts/misc/ # mkfontdir
/usr/X11R6/lib/X11/fonts/misc/ # xset fp rehash
http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/usr.bin/doscmd/cp437-8x16.pcf.gz.uuhttp://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/usr.bin/doscmd/cp437-8x16.pcf.gz.uu -
8/13/2019 Linux Windows 2
58/94
Bochs
Configuration
create a "virtual hard drive" image file. The image
size depends on the CHS number (Cylinders,Heads, Sectors) of the virtual hard drive.
configure ~/.bochsrcfile
More details:
http://www.freebsdzine.org/200104/bochs.php3
http://www.freebsdzine.org/200104/bochs.php3http://www.freebsdzine.org/200104/bochs.php3 -
8/13/2019 Linux Windows 2
59/94
Partition Magic
Partition Magic is a hard-drive partitioning software for
desktop systems, allows you to safely and easily create,resize and merge partitions on your hard drive without
destroying data. Partition Magic helps organize and
protect your data, run multiple operating systems,
convert file system types and fix partition table errors.
http://www.powerquest.com/partitionmagic/index.html
http://www.powerquest.com/partitionmagic/index.htmlhttp://www.powerquest.com/partitionmagic/index.htmlhttp://www.powerquest.com/partitionmagic/index.htmlhttp://www.powerquest.com/partitionmagic/index.htmlhttp://www.powerquest.com/partitionmagic/index.htmlhttp://www.powerquest.com/partitionmagic/index.htmlhttp://www.powerquest.com/partitionmagic/index.htmlhttp://www.powerquest.com/partitionmagic/index.htmlhttp://www.powerquest.com/partitionmagic/index.htmlhttp://www.powerquest.com/partitionmagic/index.html -
8/13/2019 Linux Windows 2
60/94
Why Partition Magic?
Safely manage multiple operating systems
Organize and protect the information on your hard drive
Includes easy step-by-step wizards to createpartitioning tasks
Ability to view pending operations before implementingthem
Flexibility to convert from one file system or partitiontype to another
Includes support for FAT, FAT32, Linux ext 2, LinuxSWAP, NTFS, and HPFS partitions
-
8/13/2019 Linux Windows 2
61/94
Partition Magic
Advantages
Split Partitions
Undelete Partitions Windows Tree and Multiple Disk View
Drag and Drop
Password Protected Boot Disk Builder
-
8/13/2019 Linux Windows 2
62/94
System Requirements
Minimum Requirements 486DX Processor
16MB RAM
12MB Hard-Disk Free Space
Windows 3.1/95/98/NT 4.0 or DOS 5.0 or above OS
VGA Monitor
Recommended Requirements 586 or above Processor
32MB RAM (additional required for FAT32 support on hard driveslarger than 4 GB)
12MB Hard-Disk Free Space (8MB additional required for
BootMagic) Windows 3.1/95/98/ME/2000/NT 4.0 or DOS 5.0 or above OS
Super-VGA Monitor
Microsoft mouse (or compatible pointing device)
-
8/13/2019 Linux Windows 2
63/94
Boot Magic
Boot Magic is a software that enables you to
switch between multiple operating systems in
safe and easy way.
-
8/13/2019 Linux Windows 2
64/94
Boot Magic
Advantages
Safely run multiple Operating Systems on the samePC
Graphical interface - Manage multiple operatingsystems in a comfortable, easy-to-use environment
Mouse and keyboard support - utilize either mouse
or keyboard operation for maximum flexibility Native DOS and Windows configuration - change
menu items and start up options for all your OSswhile in DOS, Windows 95/98 or NT
-
8/13/2019 Linux Windows 2
65/94
Boot Magic (cont)
Advantages
Integrated with partitioning software - combine
PartitionMagic for a complete hard-drive solution Hide/Unhide partitions - automatically hide partitions
not being used by the OS you select at boot time
Enable/Disable boot mode - have the option of
automatically booting to default at start up
Emergency bootable floppy - added security of an
emergency disk for hard-drive conflicts and crashes
-
8/13/2019 Linux Windows 2
66/94
Supported Operating Systems
Windows 95/98, NT3.51/4.0 (server and workstation)
Windows 3.x (must be installed with DOS 5 or later)
MS-DOS 5.0 or later
PC-DOS 6.1 or later
Open DOS
OS/2 3.0 or later
LinuxBeOS
Most other versions of DOS and PC-compatible OSs
-
8/13/2019 Linux Windows 2
67/94
PartitionMagic and BootMagic
Disadvantages
It is not very well recommended to usePartitionMagic and BootMagic for partition and bootmanagement in a Linux-Windows dual-boot system.
Both softwares provide subsequent partitionmanagement operation. However, after theseadditional partition management operations, theLinux boot no longer worked. That strongly suggeststhat the partition management operations didsomething that messed up the Linux boot.
-
8/13/2019 Linux Windows 2
68/94
GRUB
Enable you to boot all operating systems without
having to go through multiple menus.
GRUB can hide primary partitions so that theother operating systems will not see it. You can
use 3 partitions to install Windows OS and Linux,
and the 4th
partition is extended partition.
-
8/13/2019 Linux Windows 2
69/94
GRUBHow To
Preparing Boot Floppies
Installing Linux
Installing GRUB
Installing Windows 2000
Installing DOS
The final touch
-
8/13/2019 Linux Windows 2
70/94
Preparing Boot Floppies
You need 3 floppy disks. First one is DOSbootable disk. Copy fdisk.exe and sys.exe ontothis disk. Use command:FORMAT /S A:
COPY FDISK.EXE A:
COPY SYS.EXE A:
Use your second floppy disk to make a Windows98 emergency disk and third floppy for GRUB.
-
8/13/2019 Linux Windows 2
71/94
Installing Linux
Install Linux Mandrake 7.2 but you need to use
fdisk to partition your hard disk. Make sure you
know how much disk space will each of the OSsystems will take.
-
8/13/2019 Linux Windows 2
72/94
Sample of Partition Table
Device Boot Start End Blocks Id System
/dev/hda1 1 6 48163+ 16 Hidden FAT16
/dev/hda2 7 19 104422+ 16 Hidden FAT16/dev/hda3 594 3737 25254180 5 Extended
/dev/hda4 594 848 2048256 6 FAT16
/dev/hda5 849 2123 10241406 7 HPFS/NTFS
/dev/hda6 2124 2140 136521 82 Linux swap
/dev/hda7 2141 2523 3076416 83 Linux
-
8/13/2019 Linux Windows 2
73/94
Whats next?
First partition is for Windows 2000 (around 10MG) . This
partition contains the file necessary to boot NT such as
boot.ini, ntldr, ntdetect.com, etc... NT will reside in
partition 6 in my example. This partition is Hidden
FAT16.
The second partition is for DOS (around 100M). This is
FAT16 too.Third partition is extended partition for the remaining of
your hard disk.
-
8/13/2019 Linux Windows 2
74/94
Whats next? (cont)
Create a 2GB partition. This partitions is used to sharedata between all operating systems. Make sure that allthe sum of all above partitions are less than 8GB. Thisis a DOS limitation.
Next create your Windows 2000 partition, gave it 10G. Ifyou demand speed, make it HPFS/NTFS partition.
Next add your swap partition and Linux partition. Makesure you do not have a separate partition for /boot.Things look better in GRUB if you keep /boot in the rootpartition.
-
8/13/2019 Linux Windows 2
75/94
Whats next? (cont)
After you have installed linux go ahead and
format the fat16 partitions:
mkdosfs /dev/hda1mkdosfs /dev/hda2
mkdosfs /dev/hda5
-
8/13/2019 Linux Windows 2
76/94
Installing GRUB
Install GRUB on floppy not on hard disk because
Windows 2000 will overwrite it.
grub-install '(fd0)Create the menu.lst for GRUB. This file lives in
/boot/grub.
http://linux.com/howto/mini/Multiboot-with-GRUB-2.html#ss2.1
http://linux.com/howto/mini/Multiboot-with-GRUB-2.htmlhttp://linux.com/howto/mini/Multiboot-with-GRUB-2.htmlhttp://linux.com/howto/mini/Multiboot-with-GRUB-2.htmlhttp://linux.com/howto/mini/Multiboot-with-GRUB-2.htmlhttp://linux.com/howto/mini/Multiboot-with-GRUB-2.htmlhttp://linux.com/howto/mini/Multiboot-with-GRUB-2.htmlhttp://linux.com/howto/mini/Multiboot-with-GRUB-2.htmlhttp://linux.com/howto/mini/Multiboot-with-GRUB-2.html -
8/13/2019 Linux Windows 2
77/94
Installing Windows 2000
Initialize the first partition before installing Windows
2000. Insert the DOS startup disk and reboot your
computer. Once you get to the DOS prompt do the
followings: FDISK /MBR SYS C:
Install Windows 2000 as usual. At some point Windows
2000 will prompt you for the partition on which you want
to install. The partition you created with fdisk shouldshow up as damaged or unformatted partition.
-
8/13/2019 Linux Windows 2
78/94
Installing DOS
Insert the GRUB disk. When you see the menu
insert the DOS boot disk. Select partition 2
(floppy) from the menu. This will boot the floppydisk and hide partition 1 and 3.
Run FDISK and check that the C: drive is
partition 2. Next install DOS: SYS C:
-
8/13/2019 Linux Windows 2
79/94
Final Touch
Test that everything is working from GRUB
You should be able to boot from all 3 operating
systems from the GRUB floppy disk.If everything looks right you can go ahead and
install GRUB on your hard disk. From linux type:
grub-install /dev/hda
-
8/13/2019 Linux Windows 2
80/94
Boot Part
Allow to add partitions in the Windows NT/2K/XPMulti-boot menu.
Add partition on the menu. Can add OS/2 Multi-
boot, or Linux Partition (with LiLo) in the menu.
Have FAT16 primary partition as active partition
on first hard disk. This can be a small partition.
-
8/13/2019 Linux Windows 2
81/94
Boot Part Features (cont)
BOOTPART creates a 512 bytes file which contains an
image of a boot sector that loads the boot sector of the
partition. This file is declared in C:\BOOT.INI (a text file
used by Windows NT boot menu). The boot sectorcomes from FDFormat and WinImage.
Can easily add both MS-Dos 6.22 and Windows95 in
boot menu, support FAT32 and disk over 4GB.
-
8/13/2019 Linux Windows 2
82/94
Boot Part Installation
Windows2000 installs boot sector that launchesNTLDR and displays Windows NT boot menu.BootPart can restore it.
Boot under MS-Dos then enter the command:
BOOTPART WINNT BOOT:C:
If you want to remove Win2000 boot sector,replace it with command: BOOTPART DOS622 BOOT:C:
-
8/13/2019 Linux Windows 2
83/94
Boot Part Installation (cont)
For Linux, you must install Lilo at the beginning
of the Linux partition (as with OS/2 boot
manager) and then add the Linux partition withBootPart:
When you install Linux or run liloconfig, select
"Superblock of the root linux partition" aslocation of Lilo. In my sample, this adds the line
"boot=/dev/sdb4" on the file /etc/lilo.conf
-
8/13/2019 Linux Windows 2
84/94
Disk Drake
The purpose of the DiskDrake project is to make easier
the hard disk partitionning. It is graphical, simple and
powerful. Different skill levels will be available (newbie,
advanced user, expert).
It's written entirely in Perl and Perl/Gtk. It uses
resize_fat which is a perl rewrite of the work of Andrew
Clausen (libresize). DiskDrake is a project fromMandrakeSoft, the company behind the popular Linux-
Mandrakeoperating-system.
http://www.linux-mandrake.com/http://www.linux-mandrake.com/http://www.linux-mandrake.com/http://www.linux-mandrake.com/http://www.linux-mandrake.com/ -
8/13/2019 Linux Windows 2
85/94
Disk Drake - Features
in expert you can precise if you want an primaryor an extended partition
for standalone use, the partition table can besaved on a raw floppy
undo is on its way
moving partitions is on its way (still buggy!)
comestic changes
some bugs removed
-
8/13/2019 Linux Windows 2
86/94
Disk DrakeUsage
Create, delete and change type of partitions
Format partitions
Assign a mount point
Mount partitions
Resize fat partitions
Resize partitions (when not caring loosing its data)
Clear partition tableAuto allocation (usefull for install)
Write fstab
-
8/13/2019 Linux Windows 2
87/94
Disk Drake
-
8/13/2019 Linux Windows 2
88/94
Disk Drake
-
8/13/2019 Linux Windows 2
89/94
Reference
http://www.itworld.com/Net/4158/lw-10-legacy/
VMwarehttp://www.vmware.com
http://www.vmware.com/support/desktop/http://www.twcny.rr.com/technofile/texts/tec100399.html
Win4Linhttp://www.netraverse.com
http://www.itworld.com/Net/4158/lw-10-legacy/http://www.vmware.com/http://www.vmware.com/support/desktop/http://www.twcny.rr.com/technofile/texts/tec100399.htmlhttp://www.twcny.rr.com/technofile/texts/tec100399.htmlhttp://www.netraverse.com/http://www.netraverse.com/http://www.twcny.rr.com/technofile/texts/tec100399.htmlhttp://www.twcny.rr.com/technofile/texts/tec100399.htmlhttp://www.vmware.com/support/desktop/http://www.vmware.com/http://www.itworld.com/Net/4158/lw-10-legacy/http://www.itworld.com/Net/4158/lw-10-legacy/http://www.itworld.com/Net/4158/lw-10-legacy/http://www.itworld.com/Net/4158/lw-10-legacy/http://www.itworld.com/Net/4158/lw-10-legacy/ -
8/13/2019 Linux Windows 2
90/94
Reference
Wine
http://www.winehq.com
Wine HOWTOhttp://www.la-sorciere.de/wine/index.html
Bochs
http://www.bochs.com
http://www.winehq.com/http://www.la-sorciere.de/wine/index.htmlhttp://www.bochs.com/http://www.bochs.com/http://www.la-sorciere.de/wine/index.htmlhttp://www.la-sorciere.de/wine/index.htmlhttp://www.la-sorciere.de/wine/index.htmlhttp://www.winehq.com/ -
8/13/2019 Linux Windows 2
91/94
Reference
http://www.cam-
lug.org.uk/members/richards/install_for_newcom
ers.htmlhttp://yklinux.myrice.com/qita/zlk/1/01.htm
http://yklinux.myrice.com/qita/zlk/1/06.htm
http://member.netease.com/~con/minihowto/Linux+DOS+Win95.txt
http://www.cam-lug.org.uk/members/richards/install_for_newcomers.htmlhttp://www.cam-lug.org.uk/members/richards/install_for_newcomers.htmlhttp://www.cam-lug.org.uk/members/richards/install_for_newcomers.htmlhttp://yklinux.myrice.com/qita/zlk/1/01.htmhttp://yklinux.myrice.com/qita/zlk/1/06.htmhttp://member.netease.com/~con/minihowto/Linux+DOS+Win95.txthttp://member.netease.com/~con/minihowto/Linux+DOS+Win95.txthttp://member.netease.com/~con/minihowto/Linux+DOS+Win95.txthttp://member.netease.com/~con/minihowto/Linux+DOS+Win95.txthttp://yklinux.myrice.com/qita/zlk/1/06.htmhttp://yklinux.myrice.com/qita/zlk/1/01.htmhttp://www.cam-lug.org.uk/members/richards/install_for_newcomers.htmlhttp://www.cam-lug.org.uk/members/richards/install_for_newcomers.htmlhttp://www.cam-lug.org.uk/members/richards/install_for_newcomers.htmlhttp://www.cam-lug.org.uk/members/richards/install_for_newcomers.html -
8/13/2019 Linux Windows 2
92/94
Reference
http://linux.com/learn/newsitem.phtml?sid=60&ai
d=9166
http://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-2.html
http://www.linuxdoc.org/HOWTO/mini/Linux+NT-
Loader-3.html
http://linux.com/learn/newsitem.phtml?sid=60&aid=9166http://linux.com/learn/newsitem.phtml?sid=60&aid=9166http://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-2.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-2.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-3.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-3.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-3.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-3.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-3.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-3.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-3.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-2.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-2.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-2.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-2.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-2.htmlhttp://linux.com/learn/newsitem.phtml?sid=60&aid=9166http://linux.com/learn/newsitem.phtml?sid=60&aid=9166 -
8/13/2019 Linux Windows 2
93/94
Reference
http://www.linuxdoc.org/HOWTO/mini/Linux+NT-
Loader-5.html
http://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-6.html
http://www.linuxdoc.org/HOWTO/mini/Linux+NT-
Loader-7.html
http://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-5.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-5.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-6.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-6.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-7.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-7.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-7.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-7.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-7.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-7.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-7.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-6.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-6.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-6.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-6.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-6.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-5.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-5.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-5.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-5.htmlhttp://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-5.html -
8/13/2019 Linux Windows 2
94/94
References
http://www.icc3.com/ec/linux/linux8.html
http://www.mozillaquest.com/stories_01/DualBoot_PqMagic-01/MQ-Mag_01_DualBoot_Story-01_01.html
http://www.linuxgazette.com/issue38/veselosky.htmlhttp://classes.monterey.edu/CST/CST434-01/world/DualBoot.html
http://www.google.com
http://www.askjeeves.comhttp://linuxdoc.org/HOWTO/mini/Partition/intro.html
http://www.icc3.com/ec/linux/linux8.htmlhttp://www.mozillaquest.com/stories_01/DualBoot_PqMagic-01/MQ-Mag_01_DualBoot_Story-01_01.htmlhttp://www.mozillaquest.com/stories_01/DualBoot_PqMagic-01/MQ-Mag_01_DualBoot_Story-01_01.htmlhttp://www.linuxgazette.com/issue38/veselosky.htmlhttp://classes.monterey.edu/CST/CST434-01/world/DualBoot.htmlhttp://classes.monterey.edu/CST/CST434-01/world/DualBoot.htmlhttp://www.google.com/http://www.askjeeves.com/http://linuxdoc.org/HOWTO/mini/Partition/intro.htmlhttp://linuxdoc.org/HOWTO/mini/Partition/intro.htmlhttp://www.askjeeves.com/http://www.google.com/http://classes.monterey.edu/CST/CST434-01/world/DualBoot.htmlhttp://classes.monterey.edu/CST/CST434-01/world/DualBoot.htmlhttp://classes.monterey.edu/CST/CST434-01/world/DualBoot.htmlhttp://www.linuxgazette.com/issue38/veselosky.htmlhttp://www.mozillaquest.com/stories_01/DualBoot_PqMagic-01/MQ-Mag_01_DualBoot_Story-01_01.htmlhttp://www.mozillaquest.com/stories_01/DualBoot_PqMagic-01/MQ-Mag_01_DualBoot_Story-01_01.htmlhttp://www.mozillaquest.com/stories_01/DualBoot_PqMagic-01/MQ-Mag_01_DualBoot_Story-01_01.htmlhttp://www.mozillaquest.com/stories_01/DualBoot_PqMagic-01/MQ-Mag_01_DualBoot_Story-01_01.htmlhttp://www.mozillaquest.com/stories_01/DualBoot_PqMagic-01/MQ-Mag_01_DualBoot_Story-01_01.htmlhttp://www.mozillaquest.com/stories_01/DualBoot_PqMagic-01/MQ-Mag_01_DualBoot_Story-01_01.htmlhttp://www.mozillaquest.com/stories_01/DualBoot_PqMagic-01/MQ-Mag_01_DualBoot_Story-01_01.htmlhttp://www.mozillaquest.com/stories_01/DualBoot_PqMagic-01/MQ-Mag_01_DualBoot_Story-01_01.htmlhttp://www.icc3.com/ec/linux/linux8.html