国产成人精品久久免费动漫-国产成人精品天堂-国产成人精品区在线观看-国产成人精品日本-a级毛片无码免费真人-a级毛片毛片免费观看久潮喷

您的位置:首頁(yè)技術(shù)文章
文章詳情頁(yè)

SCO UNIX 環(huán)境下不同容量硬盤的對(duì)拷

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

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

在開始硬盤對(duì)拷之前,首先應(yīng)將已安裝好系統(tǒng)的源盤和空白目標(biāo)盤分別設(shè)置跳線,安裝在計(jì)算機(jī)上。開機(jī),進(jìn)入CMOS設(shè)置兩塊硬盤的參數(shù),然后進(jìn)入源盤的超級(jí)用戶root,就可以開始拷貝了。 以下是在digital P200微機(jī)上,SCO Open Server Release 5環(huán)境下進(jìn)行硬盤對(duì)拷的過程。 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顯示目標(biāo)硬盤參數(shù),如不符要求,可選2進(jìn)行修改,然后輸入q繼續(xù)) …… 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程序的菜單。在此可以對(duì)目標(biāo)硬盤按需要進(jìn)行分區(qū),然后輸入q繼續(xù))   …… 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可以掃描查找硬盤上有問題的磁道,并對(duì)應(yīng)到硬盤別處的正常磁道上,另外還建立一個(gè)壞道表。輸入q繼續(xù)) 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硬盤自舉程序從源盤拷入目標(biāo)盤 #dd if=/dev/hd0a of=/dev/hdla bs=1024 count=40 3.用divvy命令在目標(biāo)盤上建立可安裝的文件系統(tǒng) #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 命令查看并修改內(nèi)分區(qū)(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修改內(nèi)分區(qū)名。在此分別將0,1,2內(nèi)分區(qū)名修改為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將內(nèi)分區(qū)情況安裝在目標(biāo)盤上) Making filesystems. 5.將目標(biāo)盤引導(dǎo)文件系統(tǒng)安裝到源盤上,并拷貝其內(nèi)容 #mount/dev/rb/mnt #cd/stand #find.-print|cpio-pdumv /mnt #umount/mnt 6.將目標(biāo)盤根文件系統(tǒng)安裝到源盤上,并拷貝其內(nèi)容 # mount/dev/rr/mnt #find/-mount print|cpio-pdumv/mnt 7.建立目標(biāo)盤根文件系統(tǒng)中的文件系統(tǒng)安裝點(diǎn) #cd /mnt #mkdir mnt stand;chmod 755 mnt stand;chgrp bin mnt stand #umount /mnt 至此,拷貝完畢。

標(biāo)簽: Unix系統(tǒng)
主站蜘蛛池模板: 在线日韩欧美一区二区三区 | 欧美一级片免费观看 | 精品国产一区二区三区不卡在线 | 日韩国产成人资源精品视频 | 日韩精品一区二区三区在线观看 | 日本卡一卡2卡3卡4精品卡无人区 | 日本免费不卡在线一区二区三区 | 大香伊蕉国产短视频69 | 精品国产高清a毛片无毒不卡 | 久在草在线 | 精品9e精品视频在线观看 | 99国产福利视频区 | 久久青草免费线观最新 | 日本最色视频 | 中文字幕有码在线播放 | 久草在线 | 日韩欧美视频在线一区二区 | 亚洲专区欧美专区 | 久久久久久久久久久视频国内精品视频 | 日韩精品一区二区三区不卡 | 国产成人18黄网站免费 | 一区二区网站 | 国产成人深夜福利短视频99 | 玖玖国产在线 | 毛片手机在线视频免费观看 | 扒开两腿猛进入爽爽视频 | 高清不卡毛片免费观看 | 亚洲国产综合久久精品 | 国产成人一区二区三区免费观看 | 三级手机在线观看 | 精品国产a | 亚洲免费高清视频 | 亚洲免费视频观看 | 在线成人免费观看国产精品 | 一级毛片q片 | 色精品视频 | 热伊人99re久久精品最新地 | 国产乱子伦在线观看不卡 | 12至16末成年毛片视频 | 黄色片成年人 | 久久依人 |