- 論壇徽章:
- 1
|
作者:wenlq
這幾天在裝一個備份機器sco unix 5.07 ,裝網(wǎng)卡時無軟盤可用,想到了用U盤來考數(shù)據(jù)。
以下是 過程 供大家分享。
機器是 一臺聯(lián)想,U盤是128M 的KINGSTON。U盤請用FAT格式化,不要用快速格式化方式。
1. 第一遍 mkdev hd
選 4 4) Add a hard disk to a USB controller
后面兩個數(shù)字 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 等命令來考數(shù)據(jù)了。盤的縮寫 是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
本文來自ChinaUnix博客,如果查看原文請點:http://blog.chinaunix.net/u/31/showart_509073.html |
|