Start with two systems:
· System A is preloaded with SLES10, and grub is used as the boot loader. It has two SCSI disk interfaces, but only the first one is used.
· System B is an empty system with only one disk drive, it does not have an operating system loaded. We will use System A to prepare System B for the self-installed hard drive.
The first is that we make a self-installing disk. Format the disk with two partitions:
· The first (smaller) partition will contain the SUSE installation media; we call it the installation partition.
· The second (larger) partition is prepared for the operating system; we call it the operating system partition.
Step 1: Correct cabling
Turn off the power of both systems and unplug the disk from System B (Disk B) , insert disk B into the second SCSI disk interface of system A. Then boot the system from its own disk (disk A), which is the first SCSI disk.
Second Step: Disk B Partition
Use the fdisk command to partition Disk B. If you use a SCSI disk, the disk name is /dev/sdb (if you use another type of disk, for example, an IDE disk, you need to adjust the name.) You can use the fdisk –l command to view your disk device. name.
a.Run fdisk /dev/sdb
b. Enter d to delete an existing partition. You can also skip this step if your disk is empty.
c.Enter n to add a new partition. Create a mount partition as the primary partition by selecting the primary partition and selecting the number one as the partition number. Next, assign a sector from 1 to 900 (approximately 6.3GB is appropriate because the SUSE installation media requires approximately 4.3GB) to display Listing 1. You can adjust as needed.
List 1: Creating an installation partition
blade8:~ # fdisk /dev/sdbThe number of cylinders for this disk is set to 8924. There is nothing wrong with that, but this is larger that 1024, and could be in certain setups cause problems with:1) software that runs at boot time (eg, old versions of LILO)2) booting and partitioning software from other OSs (eg , DOS FDISK, OS/2 FDISK) Command (m for help): nCommand action e extended p primary partition (1-4) p Partition number (1-4) : 1 First cylinder (1-8924, default 1): Using Default value 1 Last cylinder or +size or +sizeM or +sizeK (1-8924, default 8924) : 900 Command (m for help):
d. Enter n to create another partition ( Operating system partition) as shown in Listing 2 below:
Listing 2: Creating an operating system partition
Command (m for help): n C Ommand action e extended p primary partition (1-4) p Partition number (1-4) : 2 First cylinder (901-8924, default 901): Using default value 901 Last cylinder or +size or +sizeM or +sizeK (1 -8924, default 8924) : Using default value 8924 Command (m for help):
But do not store any data on this partition; this partition will be formatted during SUSE installation.
e. Enter a to switch the boot token on the first partition (installation partition), as shown in Listing 3 below. Check to make partition 1 bootable.
Listing 3: Making the installation partition bootable
Command (m for help): aPartition number (1-4) : 1
f. Enter w to write all partition information to the table and exit the partition, as shown in Listing 4:
List 4: Write Partition Information
Command (m for help): wThe partition table has been altered; Calling ioctl() to re-read partition table.Syncing disks.
This step will commit the changes to disk.
The disk B has been successfully partitioned now.
Step 3: Format Partitions
Use the ext3 file system to format the first partition of Disk B:
List 5: Format the first partition < Br>
blade8:~ # mkfs.ext3 /dev/sdb1mke2fs 1.38 (30-Jun-2005)Filesystem label =OS type: LinuxBlock size=4096 (log=2) Fragment size=4096 (log=2)904960 inodes, 1807304 blocks90365 blocks (5.00%) reserved for the super userFirst data block=056 block groups32768 blocks per group, 32768 fragments per Group16160 inodes per groupSuperblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632Writing inode tables: doneCreating journal (32768 blocks): doneWriting superblocks and filesystem accounting information: doneThe filesystem will be automatically checked every 37 mounts Or 180 days, whichever comes first. Use tune2fs -c or -I to overr Ide.Step 4: Install grub bootloader
Install the grub bootloader on the first partition of disk B as follows:
a. Mount the first partition to Folder, for example /mnt/sdb. Run mount /dev/sdb1 /mnt/sdb.
b. Copy the grub boot file from the /boot/grub folder to the /mnt/sdb/boot/folder.
Reducing keyboard input can greatly improve the productivity of programmers. The use of sho
Experimental Line Connection Diagram: DCRS-5526S Configuration: Assume that the name of the DHCP ad
The IBM System x3500 M4 is a two-way tower server. It is the latest server from IBM in rece
There are five basic ways to dissipate a blade server. Once one of these methods is selected
DOS command remote management FTP server
Monitor Windows server CPU utilization using Nagios
Ordinary files can also be a means of black/gut intrusion
802.11n WLAN infrastructure strategy: 2.4 vs. 5 GHz bandwidth battle
Must understand the server five problems
Linux FTP server security completely Raiders
Key Points Affecting SQL Server Performance
Three methods for configuring IP address of CentOS 6.5 under virtual machine
Network Acceleration Technology CDN
Win9 technology preview version of the new interface new features
Win8 play web video no sound how to do
What is the Win10 memory requirement?
Win10 system installed Flash patch kb3132372 browser crashed solution
An effective way to reduce the probability of a computer crash
Win8.1 system can not identify My Passport USB3.0 mobile hard disk solution