亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 2447 | 回復(fù): 0
打印 上一主題 下一主題

ghost出來的IDE硬盤讓SCO能使用到硬盤全部空間的辦法 [復(fù)制鏈接]

論壇徽章:
1
15-16賽季CBA聯(lián)賽之北控
日期:2022-03-04 22:35:50
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2008-04-10 22:04 |只看該作者 |倒序瀏覽

作者:CNL   
本辦法適用于ghost硬盤模式對拷出來的IDE目的盤空間大于源盤空間的情況。
我在SCO5.0.5/5.0.6/5.0.7上均已測試通過。
1、首先確認ghost目的盤實際的C/H/S值(CMOS設(shè)置LBA模式Auto Detect硬盤檢測出來)
2、引導(dǎo)啟動ghost的目的盤上的SCO操作系統(tǒng)進入單用戶下
# dkinit /dev/rhd00
第1塊IDE是rhd00,第2塊是rhd10, ....
有些OS可能無法執(zhí)行dkinit命令,用dparam也可以,見后面的有關(guān)說明。
使用dkinit后將提示:
Hard Disk Drive 0 Configuration
1. Display current disk parameters
2. Modify current disk parameters
3. Select default disk parameters
Enter your choice or q to quit: 選擇2
Disk Parameters values
--------------- ------
1. Cylinders 源盤參數(shù)
2. Heads 源盤參數(shù)
3. Write Reduce
4. Write Precomp
5. Ecc
6. Control
7. Landing Zone 源盤參數(shù)
8. Sectors/track 源盤參數(shù)
Enter a parameter to modify or q to return to the main menu:
分別選1,7,2,8將其改為目的盤的實際參數(shù)
其中第1、第7項為磁道個數(shù)(建議比實際數(shù)-1),第2項為磁頭個數(shù),第8項為扇區(qū)數(shù)
改完后輸入q退出
有些OS可能無法執(zhí)行dkinit命令,這時候用dparam也可以:
首先運行# dparam /dev/rhd00
查出當(dāng)前內(nèi)核里的硬盤參數(shù)設(shè)置,依次分別是:
cyls heads wrt_reduce precomp ecc control landzone sectors
注意landzone(硬盤全部的磁道數(shù))和cyls(系統(tǒng)使用的磁道數(shù))一般是相同的值,除非源盤安裝SCO時沒有用完所有的硬盤空間。
然后按照實際的硬盤參數(shù)設(shè)置內(nèi)核參數(shù):
#dparam /dev/rhd00 new_cyls new_heads wrt_reduce precomp ecc control new_cyls new_sectors
這樣一樣能把內(nèi)核的硬盤參數(shù)修改成實際需要的值.
3、運行fdisk將整個硬盤劃為UNIX。
# fdisk
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
Enter your choice or q to quit: 選擇2(對于高手,也可選擇4建立1個新unix主分區(qū)來實現(xiàn)更復(fù)雜的要求)
Current Hard Disk Drive: /dev/rhd00
Total disk size: xxxxx tracks (xxxx reserved for masterboot and diagnostics)
Warning! All data on your disk will be lost!
Do you wish to continue? (y/n) 不要害怕,按Y繼續(xù),數(shù)據(jù)不會丟的
Current Hard Disk Drive: /dev/rhd00
Total disk size: xxxxx tracks (xxxx reserved for masterboot and diagnostics)
這樣執(zhí)行完后,在沒有損壞ghost出來的目的盤操作系統(tǒng)的基礎(chǔ)上,就可用硬盤的全部實際空間了
4、為了使用新的空間,還要在新增的空間上新建文件系統(tǒng),千萬不要去修改已有的文件系統(tǒng)boot/swap/root哦!
# divvy
顯示出邏輯分區(qū)表
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 division.
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.
Enter your choice or q to quit:
建議修改原分區(qū)表里的recover分區(qū)的s和e值, 把它還挪到分區(qū)表最后的位置,大小不要變,
然后分別依次選擇n、s、e、c四項內(nèi)容對未使用的新空間進行新分區(qū)的創(chuàng)建操作,
最后選i建立新文件系統(tǒng)
5、讓新增的文件系統(tǒng)可自動在開機時刻mount
#mkdev fs
Filesystem Initialization Program
This program performs maintenance
tasks required to add or delete
an existing filesystem. Would you like to:
1. Add a new filesystem to system.
2. Remove a filesystem.
Select an option or enter q to quit: 選擇1增加
Enter a device name and press
or q to quit: /dev/你剛剛建立的新分區(qū)名稱
Enter a directory name and press
or q to quit: 輸入你想mount到的安裝點目錄名
好了,系統(tǒng)重啟后你就會發(fā)現(xiàn)df -kv 多了一行哦,在新增的文件系統(tǒng)上去放你的東東吧


本文來自ChinaUnix博客,如果查看原文請點:http://blog.chinaunix.net/u/31/showart_526215.html
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP