This section describes how to install the Linux operating system and partition the hard drive.

Source: Internet
Author: User
Tags intel pentium

When learning about Linux, you may encounter a Linux partition problem. Here we will introduce the solution to the Linux operating system problem. Here we will share it with you. Boot Solaris 10, Linux, and Microsoft Windows on a portable computer.

One of my initial tasks was to configure my laptop to boot multiple Solaris, Linux, and Microsoft Windows operating systems. It sounds exciting, but it seems difficult. However, as the task progresses, I find it a very easy task.

For more information about this topic, for more information, see the portable ing Multiboot Environments on Sun x64 Systems with AMD Opteron Processors ).

In my experience, to configure the system as multi-boot, perform the following steps:
Ensure that the system meets minimum hardware and disk space requirements.
Obtain the partition software and operating system media (CD/DVD ).
Back up the system.
Determine how to partition the disk.
Install Microsoft Windows.
Install the partitioning software and partition the disk.
Install the Linux operating system.
Install the Solaris 10 Operating System for the x86 platform.
Set access permissions for all three operating systems.

Ensure that the system meets minimum hardware and disk space requirements. BIOS settings to boot from CD/DVD see "Practical How-to" in the http://multiboot.solaris-x86.org/iv/1.html )). Then check the system to ensure that it meets the minimum requirements of all three operating systems, especially the disk space and processor type. Fedora requires a minimum processor speed of 200 MHz, 92 mb ram for graphical installation), and 6.9 GB hard drive for installation of all of this content ). Windows XP requires a minimum processor speed of 233 MHz, 64 mb ram and

8 GB hard drive.

The Solaris 10 operating system requires a minimum processor speed of 120 MHz, 256 mb ram, and 2 GB hard drive. For the Solaris operating system on the x86 platform, check the Hardware Compatibility List (Hardware Compatibility List, HCL) to see if your system is listed. If your system is not listed, just like my Sony VAIO portable computer), you may still be able to install the Solaris operating system.
My laptop has 1 GB memory, 76 GB hard drive, and Intel Pentium M processor; its processor speed is 2.00 GHz, so the system meets all the basic requirements for these three operating systems.

Obtain partition software and operating system media (CD/DVD)

I use PartitionMagic of PowerQuest, but you can download and use other free software packages, such as systemrescumcm and Ranish Partition Manager.
The following describes how to obtain a copy of an operating system:
Windows XP is provided by my VAIO recovery disk.
I get Fedora Core 3 for free from the Fedora Project.
I found the free Solaris 10 operating system provided by Sun Microsystems and the CD attached to Solaris.

Backup System

Just like any new installation, the first step is to back up my current file. Operating system installation is a complex and variable process, especially when a single hard drive contains different partitions. It is necessary to back up all files. You can reinstall these files After partitioning the hard drive.

Determine how to partition the disk

The next step is to plan partitions. You should plan the partitions based on the future usage of each operating system. Here is how I partition the hard drive.
Partition Information for Disk 1: 76,316.6 Megabytes
Volume PartType Status Size MB PartSect # StartSect TotalSects
C: NTFS Pri 20,481.3 0 0 63 41,945,652
Linux ext2 Pri 20,481.3 0 1 41,945,715 41,945,715
Type BF Pri, Boot 33,295.5 0 2 83,893,824 68,189,184
ExtendedX Pri 2,055.2 0 3 152,087,355 4,209,030
EPBR Log 2,055.2 None -- 152,087,355 4,209,030
*: SWAPSPACE2 Linux Swap Log 2,055.2 152,087,355 0 152,087,418 4,208,967
I allocate a lot of space for the Solaris operating system because I plan to complete most development work on the operating system. I allocated 20 GB for the Linux operating system and Windows respectively to complete development and testing on these platforms.

Install the partitioning software and partition the hard drive

I installed PartitionMagic on Windows and started PartitionMagic. By using the option in the PartitionMagic menu, I adjusted Windows size to 20 GB. I created a Linux operating system partition of the type of ext2 and allocated it 20 GB. Finally, I created a Solaris partition, allocated it 33 GB, and formatted the partition as FAT 32. Although the Solaris operating system uses different file systems, I still format the Solaris operating system as FAT32 because PartitionMagic cannot recognize the Solaris File System, in addition, I do not want to see the "unformatted partition" message. I have formatted the remaining space. It is now located in the extended partition as the swap space of the Linux operating system, and the size is exactly 2 GB. The panel in the lower left corner shows a list of all pending operations requested by me. I can browse the bottom panel and correct any errors in the list. After I confirm that the list is correct, PartitionMagic restarts the computer, performs the requested operation, and provides detailed real-time progress reports. After completing this process, PartitionMagic restarts the computer and loads Windows again. I checked the partition and found that its size and type are the same as the requested one. Next, I checked the Windows applications, these applications still run normally, and then I re-installed the backup files through USB massive storage.

Install Linux

It seems easier to install Fedora. The menu provides a lot of information, you can easily find the requested information through the prompt. I pointed out that I want to use Diskdruid to manually partition the hard drive, instead of using the default configuration. Fedora recognizes ext2 and Windows partitions, but calls Windows partitions "other". Therefore, I must change the name to "Windows ". I pointed out that the ext2 partition is used as the installation location of Fedora, and I want to be able to Boot Windows from the GRUB menu of Fedora. Install the GRUB Loader from the Master Boot Record (MBR) (/dev/hda) it is important to change to the start position of the Linux operating system partition in this example as/dev/hda2. For the Solaris 10 operating system, if you do not change the GRUB installation location, the Solaris 10 operating system will overwrite the MBR during installation, and you will not be able to boot the Linux operating system. You need to know how to use this operating system because different software packages will be installed for different users. I plan to use Fedora as the development environment, but will never use it as the server, so I chose the software development kit. After installation, I restarted my system and ensured that Windows and Fedora could be booted from the GRUB menu of Fedora.
To install the Solaris 10 1/06 operating system, find/boot/grub/menu. lst. Write down the Linux operating system partition, Linux operating system kernel, and Linux RAM disk path. You need to use this information later.
The menu list should be as follows:
Root (hd0, 1)
Kernel/boot/vmlinuz-2.6.9-1.667 ro root = LABEL =/rhgb quiet
Initrd/boot/initrd-2.6.9-1.667.img
Please note that if you want to install the Linux driver, you can get help from many Linux support Web sites.

Install the Solaris 10 Operating System for the x86 Platform

You must provide the following information for installation. The default value is always None) or No): Network Connection (Yes/No) Network Connection Yes/No): If Yes is selected ), you need to connect the ethernet cable to configure it. If No is selected, you can still connect to the Internet after installation, but you must configure it yourself. DHCP (Yes/No) DHCP Yes/No): If No is selected, you must provide the IP address, subnet address, and host name. No matter which method you use, you must specify whether the IP version 6 (IPv6) is required. This is a security protocol. Kerberos (Yes/No) Kerberos Yes/No): This is a security function in the Solaris operating system. If Yes is selected, you need to provide the default domain, Management Server, and the first Key Distribution Center (KDC ). Name Service (Yes/No) Name Service Yes/No): If Yes is selected, you need to provide the domain name and select the type NIS +/NIS/DNS/LDAP/NONENIS +/NIS/DNS/LDAP/NONE ). If you select any option other than None, the system will prompt you to provide detailed information specific to this configuration. Default Route): You can select a Route or allow the Solaris installer to find the Route.
Time Zone): Specifies how you want to specify the Default Time Zone: by geographic region/offset from GMT/from Time Zone file by geographic region/GMT offset/from Time Zone file ). Root Password): provides the system's Super User Password and saves this information. You need to use this password to log on to the system.
Default or Custom Install Default or Custom installation): the Default layout will have the Default directory size at the Default location) Install the Solaris operating system. Custom installation allows you to modify the disk space allocated to each directory. Locales language environment): select the geographic region to be supported.
Proxy Server Configuration): If you are not directly connected to the Internet, but are connected through the Proxy Server, you need to provide the host name and port number. Software Group): You can add OEM/complete/Developer/End User/Core/CED Networking from Entire Plus OEM/Entire/Developer/End User/Core/Simplified Network). Full Entire) is the default value. The CD with Solaris provides some software functions. You can download this CD from SunMicrosystems for free. Custom Package Selection: You can choose to add or delete software packages in the selected software group.
Select Disks Select disk): Select your hard drive whose ID is similar to c0t0d0 ). The Solaris operating system will remind you about the Linux fdisk partition and inform you that it does not support Linux and Solaris fdisk partitions on the same disk. The system then asks if you want to load the default layout. I select No because it will keep the selected order after the partition. Do not select Yes because it assumes that the entire hard drive is used for the Solaris operating system and all existing operating systems are cleared.
Fdisk Partitioningfdisk partition): the system will ask you if you want to create, modify, or delete a Solaris fdisk partition. If Yes is selected, you are required to select the disk to be customized. Select the partition allocated for the Solaris operating system. The system then asks if you want to customize the selected fdisk partition. I chose the Solaris partition as the partition to be formatted for installation, and formatted it as the Solaris File System for the x86 platform.

Preserve Data (Yes/No) retain Data Yes/No): this refers to the Data on the Solaris partition. I chose No because this is a completely new installation.
Auto Layout File Systems (Yes/No) automatically sets the File system Layout Yes/No). If No is selected, you must specify the Layout. The Allocating Disk and Swap Space section in the Solaris 10 Installation Guide provides guidance on how to customize the layout of the Solaris File System. In addition, you need to specify how your system will be used. For me, it is good to use the default settings. Mount Remote File Systems (Yes/No) Mount Remote File system Yes/No): if the system does not need to access software on other File Systems, select No. If Yes is selected, you must provide the server, IP address, remote file system, and local mount point. Check the selected content on the summary page and make any necessary changes. Click Install to Install the SDK ). If you use CD for installation, the first installation CD will perform the following operations:
Install the operating system.
Reboot the system.
Log on to the public desktop environment.
The system will prompt you to attach the disc 2, 3, and 4 respectively.

Set access permissions for all three operating systems

If the Solaris 10 3/05 release is installed, the system is set to boot all three operating systems. If you are using the Solaris 10 1/06 operating system, you can only access the Solaris operating system and Windows. Note: The Solaris 10 1/06 software has been released in the OpenSolaris project or the Solaris Express project until the deadline for this document.

To set access permissions for the Linux operating system from Solaris GRUB, perform the following operations:
Boot the Solaris operating system.
Find/boot/grub/menu. lst.
Add the three lines copied from Linux menu. lst in section 7th above.
The above is all the Linux operating systems with multiple boot! The next time you restart the system, you can select to boot all three operating systems.

  1. How to Set Telnet in Linux
  2. Linux operating system log management overview
  3. Handling Linux kernel security details
  4. Brief Introduction to Linux File System Operations
  5. In-depth introduction to common Linux File Systems

Related Article

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.