|
作者:wenlq
|
|
这几天在装一个备份机器sco unix 5.07 ,装网卡时无软盘可用,想到了用U盘来考数据。
以下是 过程 供大家分享。
机器是 一台联想,U盘是128M 的KINGSTON。U盘请用FAT格式化,不要用快速格式化方式。
1. 第一遍 mkdev hd 选 4 4) Add a hard disk to a USB controller
后面两个数字 the USB Device ID the LUN of this device? 都选0 后面重起。 2. 第2次 mkdev hd 4) Add a hard disk to a USB controller
Enter 1, 2, 3, 4 or enter 'q' to quit: 4 What is the USB Device ID for this device? Select 0-15, or h for help, or q to quit: 0 What is the LUN of this device? Press to use the default: 0 Select 0-7, or h for help, or q to quit: 0 Disk already configured as disk number 1 (/dev/dsk/1s0)
During installation you may choose to overwrite all or part of the present contents of your hard disk.
Do you wish to continue? (y/n) y The hard disk installation program will now invoke /etc/fdisk. Entering 'q' at the following menu will exit /etc/fdisk, and the hard disk installation will continue.
If you wish to exit the entire installation at this menu, press the key.
1. Display Partition Table 2. Use Entire Disk for UNIX 3. Use Rest of Disk for UNIX 4. Create UNIX Partition 5. Activate Partition 6. Delete Partition 7. Create Partition
Enter your choice or 'q' to quit: 1 Current Hard Disk Drive: /dev/rdsk/1s0
+-------------+----------+-----------+---------+---------+---------+ | Partition | Status | Type | Start | End | Size | +-------------+----------+-----------+---------+---------+---------+ | 1 | Active | DOS (32) | 1 | 7869 | 7869 | +-------------+----------+-----------+---------+---------+---------+
Total disk size: 7872 tracks (3 reserved for masterboot and diagnostics) WARNING: There is no ACTIVE UNIX partition.
Do you wish to specify an active UNIX partition? (y/n) n
scsi version = 1 vendor = KINGSTON product = USB DRIVE Can't read bad block table: No such device or address
Hard disk initialization procedure completed.
3. 到这里可以用 dosdir doscp 等命令来考数据了。盘的缩写 是d: # dosdir d: Volume in drive /dev/hd1d is WENLQ Directory of /dev/hd1d:/
8139 VOL 30208 1-27-00 6:46a 1 File(s) 128624640 bytes free # dosdir /dev/dsk/1s1 Volume in drive /dev/dsk/1s1 is WENLQ Directory of /dev/dsk/1s1:/
8139 VOL 30208 1-27-00 6:46a 1 File(s) 128624640 bytes free # doscp /unix d: #dosdir d: Volume in drive /dev/hd1d is WENLQ Directory of /dev/hd1d:/
8139 VOL 30208 1-27-00 6:46a UNIX 2778279 11-14-05 9:31a 2 File(s) 125845504 bytes free
| |
阅读(563) | 评论(0) | 转发(0) |