- 论坛徽章:
- 0
|
重新启动系统,使新系统核心生效\r\n\r\n# sync;sync; reboot\r\n\r\n进入单用户模式,再次运行硬盘加载命令\r\n\r\n# mkdev hd\r\n\r\n\r\nYour rootdisk is attached to a SCSI controller.\r\n\r\nPick one of choices below or you may quit and\r\n\r\nInvoke nkdev hd -u for a detailed usage message.\r\n\r\n1) Add a hard disk to IDE controller\r\n\r\n2) Add a hard disk to SCSI controller\r\n\r\n3) Add a hard disk to IDA controller \r\n\r\nEnter 1, 2, 3 or enter ‘q’ to quit: 2 →选择2\r\n\r\n\r\n\r\nEnter the prefix of the SCSI host adapter that supports this device\r\n\r\nOr press <Return>; for the default:’alad’ →选择SCSI卡类型\r\n\r\nEnter h for a list of host adapters or enter q to quit:\r\n\r\n\r\nWhich ‘alad’ SCSI host adapter supports this device?\r\n\r\nSelect 0-6, or enter q to quit: 0 →选择SCSI卡号\r\n\r\nThe Host Adapter paramters will be automatically configured\r\n\r\nWhat SCSI Bus is this device attached to?\r\n\r\nPress <Return>; to use the default: 0 \r\n\r\nSelect 0-n, or h for help, or q to quit: →选择SCSI总线号\r\n\r\nWhat is the Target ID for this device?\r\n\r\nSelect 0-15, or h for help, or q to quit:2 →选择设备的ID号\r\n\r\nWhat is the LUN of this device?\r\n\r\nPress <Return>; to use the default: 0 \r\n\r\nSelect 0-7, or h for help, or q to quit:0 →选择LUN号\r\n\r\n\r\n\r\nDuring installation you may choose to overwrite all\r\n\r\nOr part of the present contents of your hard disk.\r\n\r\nDo you wish to continue? (y/n) y →选择“y”\r\n\r\n准备对增加的硬盘进行逻辑分区\r\n\r\n\r\nThe hard disk installation program will now invoke /etc/fdisk.\r\n\r\nEntering ‘q’ at the following menu will exit /etc/fdisk,\r\n\r\nAnd the hard disk installation will continue.\r\n\r\nIf you wish to exit the entire installation at this menu,\r\n\r\nPress the <DEL>; key.\r\n\r\n1. Display Partition Table\r\n\r\n2. Use Entire Disk for Unix\r\n\r\n3. Use Rest of Disk for Unix\r\n\r\n4. Creat UNIX Partitin\r\n\r\n5. Activate Partition\r\n\r\n6. Delete Partition\r\n\r\n7. Create Partition\r\n\r\nEnter your choice or ‘q’ to quit: 2 →选择2 \r\n\r\nCurrent Hard Disk Drive: /dev/rdsk/3s0 \r\n\r\n+------------+---------+--------+--------+-------+---------+ \r\n\r\n| Partition | Status | Type | Start | End | Size |\r\n\r\n+------------+---------+--------+--------+--------+--------+\r\n\r\n| 1 | Active | UNIX | 1 | 528359 | 528359 |\r\n\r\n+------------+---------+--------+--------+--------+--------+\r\n\r\nTotal disk size: 528615 tracks (256 reserved for masterboot and diagnostics)\r\n\r\nPress <Return>; to continue →选择回车\r\n\r\n1. Display Partition Table\r\n\r\n2. Use Entire Disk for Unix\r\n\r\n3. Use Rest of Disk for Unix\r\n\r\n4. Creat UNIX Partitin\r\n\r\n5. Activate Partition\r\n\r\n6. Delete Partition\r\n\r\n7. Create Partition\r\n\r\nEnter your choice or ‘q’ to quit: q →选择q \r\n\r\n对于新创建的硬盘分区, 必须进行磁盘扫描,以保证数据空间的安全可靠\r\n\r\nSCSI VERSION = 2\r\n\r\nVendor = MEGAR1 D\r\n\r\nProduct = LOGICAL DRIVE 1\r\n\r\n1. Scan entire UNIX Partition\r\n\r\n2. Scan a specified range of blocks\r\n\r\n3. Scan a specified filesystem\r\n\r\n4. List current bad block table\r\n\r\n5. Add entries to bad block table\r\n\r\n6. Delete entries from bad block table\r\n\r\n7. Clear bad block table\r\n\r\n8. Re-allocate bad blocks\r\n\r\nEnter your choice or ‘q’ to quit: q →选择1 \r\n\r\nSelect type of scan .\r\n\r\n1. Thorough scan (6 Mbytes/min approx)\r\n\r\n2. Quick scan (18 Mbytes/min approx)\r\n\r\nEnter your choice or ‘q’ to quit: 2 →选择2\r\n\r\nDo you want this to be a destructive scan ? (y/n) y →选择y\r\n\r\nThe contents of the region you are scanning will be destroyed.\r\n\r\nDo you wish to continue ? (y/n) y →选择y\r\n\r\nScanning in progress, type < DEL>; to quit at any time\r\n\r\nScanning block xxxxxx, 15% complete, bad block count = 0.\r\n\r\n0 bad blocks have been found.\r\n\r\nEnter the number of bad blocks to allocate space for\r\n\r\nOr press < Return >; to use the exising value of 511. →选择回车\r\n\r\nWARNING: changing the value will remove all filesystem to this partion:0\r\n\r\n\r\n\r\n当完成100%,并且bad block count为 0时,表示整个UNIX分区没有坏块,已经准备就绪。 |
|