电脑知识|欧美黑人一区二区三区|软件|欧美黑人一级爽快片淫片高清|系统|欧美黑人狂野猛交老妇|数据库|服务器|编程开发|网络运营|知识问答|技术教程文章 - 好吧啦网

您的位置:首頁技術文章
文章詳情頁

SCO UNIX 環境下不同容量硬盤的對拷

瀏覽:65日期:2024-06-10 10:28:31

在不同容量硬盤之間拷貝安裝Unix的方法:

在開始硬盤對拷之前,首先應將已安裝好系統的源盤和空白目標盤分別設置跳線,安裝在計算機上。開機,進入CMOS設置兩塊硬盤的參數,然后進入源盤的超級用戶root,就可以開始拷貝了。 以下是在digital P200微機上,SCO Open Server Release 5環境下進行硬盤對拷的過程。 1.增加一塊硬盤 #mkdev hd 1 0 Your root hard disk is attached to an IDE controller. Pick one of the choices below or you may quit and Invoke mkdev hd -u for a detail usage message. 1)Add a hard disk to IDE controller 2)Add a hard disk to SCSI controller 3)Add a hard disk to an IDA controller(EISA) Enter 1,2,3,or enter 'q' to quit:(輸入1) …… If you wish to exit the entire installation at this menu, Press the <DEL>key. Hard Disk Drive 1 Configuration 1.Display current disk parameters 2.Modify current disk parameters 3.Select default disk parameters Enter an option or 'q' to quit: (這是dkinit程序的菜單。在此可以選1顯示目標硬盤參數,如不符要求,可選2進行修改,然后輸入q繼續) …… 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: (這是fdisk程序的菜單。在此可以對目標硬盤按需要進行分區,然后輸入q繼續)   …… 1.Print Current Bad Track Table 2.Scan Disk (You may choose Read-Only or Destructive later) 3.Add EntrIEs to Current Bad Track Table by Cylinder/Head Number 4.Add Entries to Current Bad Track Table by Sector Number 5.Delete Entries Individually from Current Bad Track Table 6.Delete All Entries from Bad Track Table Please enter your choice or 'q' t 廯 t: (這是badtrk程序的菜單,選擇2可以掃描查找硬盤上有問題的磁道,并對應到硬盤別處的正常磁道上,另外還建立一個壞道表。輸入q繼續) Enter the number of bad tracks to allocate space for (or press<return>to use the recommended value of 15): (回車) There are 2110657 blocks in the UNIX area. Please enter the number of file systems you want this area To be divided into,or press<Return>to get the default of 2 file system(s). (回車) The layout of the filesystems and swap area is now prepared. Do you wish to make any manual adjustments to the sizes or names of the filesystems or swap area before they are created on the hard disk?(y/n) (輸入n) Making filesystems Hard disk initialization procedure completed. 2.用dd命令將SCO UNIX硬盤自舉程序從源盤拷入目標盤 #dd if=/dev/hd0a of=/dev/hdla bs=1024 count=40 3.用divvy命令在目標盤上建立可安裝的文件系統 #divvy-im /dev/rhdla There are 2095537 lk blocks in the UNIX area. Between 16000 and 512000 lk blocks should be reserved for the swap area. Please enter the swap-space allocation ,or press <Return> To get the default allocation of 24000 lk blocks: (回車) There are 2095537 lk blocks in the UNIX area. Between 15000 and 64000 lk blocks should be reserved for the boot filesystem. Please enter the boot-space allocation,or press <Return> To get the default allocation of 20000 lk blocks: (回車) Do you want a separate /u filesystem?(y/n) (輸入n) The layout of the filesystems and swap area is now prepared. Do you wish to make any manual adjustments to the sizes or names of the filesystems or swap area before they are created on the hard disk?(y/n) (輸入n) Making filesystems 4.用divvy 命令查看并修改內分區(division)名 #divvy/dev/rhdla Name Type New FS # First Block Last Block dll50 EAFS no 0 0 19999 d1151 NON Fsno 1 20000 43999 HTFSno 2 44000 2045725 Not USEDno 3 - - Not USEDno 4 - - Not USEDno 5 - - recover NON FS no 6 2045726 2045735 hdla WHOLE DISKno 7 0 2061831 2045736 lk blocks for divisions,16096 lk blocks reserved for the system. n[ame] Name or rename a division. c[reate] Create a new file system on this division. t[ype] Select or change filesystem type on new filesystems. p[revent] Prevent a new file system from being created on this. s[tart] Start a division on a different block. e[nd] End a division on a different block. r[estore] Restore the original division table. Please enter your choice or 'q' to quit: (輸入n修改內分區名。在此分別將0,1,2內分區名修改為rb ,rs,rr) i[nstall] Install the division set-up shown. r[eturn] Return to the previous menu. e[xit] Exit without installing a division table. Please enter your choice: (輸入i將內分區情況安裝在目標盤上) Making filesystems. 5.將目標盤引導文件系統安裝到源盤上,并拷貝其內容 #mount/dev/rb/mnt #cd/stand #find.-print|cpio-pdumv /mnt #umount/mnt 6.將目標盤根文件系統安裝到源盤上,并拷貝其內容 # mount/dev/rr/mnt #find/-mount print|cpio-pdumv/mnt 7.建立目標盤根文件系統中的文件系統安裝點 #cd /mnt #mkdir mnt stand;chmod 755 mnt stand;chgrp bin mnt stand #umount /mnt 至此,拷貝完畢。

標簽: Unix系統
主站蜘蛛池模板: CTAB,表面活性剂1631溴型(十六烷基三甲基溴化铵)-上海升纬化工原料有限公司 | 压力喷雾干燥机,喷雾干燥设备,柱塞隔膜泵-无锡市闻华干燥设备有限公司 | IIS7站长之家-站长工具-爱网站请使用IIS7站长综合查询工具,中国站长【WWW.IIS7.COM】 | 玻璃钢格栅盖板|玻璃钢盖板|玻璃钢格栅板|树篦子-长沙川皖玻璃钢制品有限公司 | 合肥活动房_安徽活动板房_集成打包箱房厂家-安徽玉强钢结构集成房屋有限公司 | 照相馆预约系统,微信公众号摄影门店系统,影楼管理软件-盟百网络 | 沟盖板_复合沟盖板厂_电力盖板_树脂雨水篦子-淄博拜斯特 | 圣才学习网-考研考证学习平台,提供万种考研考证电子书、题库、视频课程等考试资料 | 悬浮拼装地板_篮球场木地板翻新_运动木地板价格-上海越禾运动地板厂家 | 自动售货机_无人售货机_专业的自动售货机运营商_免费投放售货机-广州富宏主官网 | 我爱古诗词_古诗词名句赏析学习平台| 南京欧陆电气股份有限公司-风力发电机官网 | 400电话_400电话申请_866元/年_【400电话官方业务办理】-俏号网 3dmax渲染-效果图渲染-影视动画渲染-北京快渲科技有限公司 | 钢绞线万能材料试验机-全自动恒应力两用机-混凝土恒应力压力试验机-北京科达京威科技发展有限公司 | 纸箱抗压机,拉力机,脂肪测定仪,定氮仪-山东德瑞克仪器有限公司 | 安徽泰科检测科技有限公司【官方网站】 | 佛山商标注册_商标注册代理|专利注册申请_商标注册公司_鸿邦知识产权 | 软装设计-提供软装装饰和软装配饰及软装陈设的软装设计公司 | 钢制拖链生产厂家-全封闭钢制拖链-能源钢铝拖链-工程塑料拖链-河北汉洋机械制造有限公司 | 焊缝跟踪系统_激光位移传感器_激光焊缝跟踪传感器-创想智控 | 合肥展厅设计-安徽展台设计-合肥展览公司-安徽奥美展览工程有限公司 | 水厂自动化|污水处理中控系统|水利信息化|智慧水务|智慧农业-山东德艾自动化科技有限公司 | EFM 022静电场测试仪-套帽式风量计-静电平板监测器-上海民仪电子有限公司 | 镀锌钢格栅_热镀锌格栅板_钢格栅板_热镀锌钢格板-安平县昊泽丝网制品有限公司 | 合肥活动房_安徽活动板房_集成打包箱房厂家-安徽玉强钢结构集成房屋有限公司 | 气动隔膜泵厂家-温州永嘉定远泵阀有限公司 | CPSE安博会 | 塑胶跑道施工-硅pu篮球场施工-塑胶网球场建造-丙烯酸球场材料厂家-奥茵 | 【化妆品备案】进口化妆品备案流程-深圳美尚美化妆品有限公司 | 德国BOSCH电磁阀-德国HERION电磁阀-JOUCOMATIC电磁阀|乾拓百科 | 纸布|钩编布|钩针布|纸草布-莱州佳源工艺纸布厂 | 仪器仪表网 - 永久免费的b2b电子商务平台 | 一体化污水处理设备_生活污水处理设备_全自动加药装置厂家-明基环保 | 微波消解仪器_智能微波消解仪报价_高压微波消解仪厂家_那艾 | 济南保安公司加盟挂靠-亮剑国际安保服务集团总部-山东保安公司|济南保安培训学校 | 芜湖厨房设备_芜湖商用厨具_芜湖厨具设备-芜湖鑫环厨具有限公司 控显科技 - 工控一体机、工业显示器、工业平板电脑源头厂家 | 微动开关厂家-东莞市德沃电子科技有限公司| 涡街流量计_LUGB智能管道式高温防爆蒸汽温压补偿计量表-江苏凯铭仪表有限公司 | 成都APP开发-成都App定制-成都app开发公司-【未来久】 | 云南成人高考网| 光纤测温-荧光光纤测温系统-福州华光天锐光电科技有限公司 |