注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

WA!Peter

广州天河, 香港火炭,深圳罗湖, 北京国贸

 
 
 

日志

 
 

Downgrade Linux from/to 32bits to 64bits CentOS  

2009-12-25 16:43:07|  分类: tech |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
Downgrade: from 64bits to 32bits    (installed CentOS 5.2 x64 downgrade to CentOS 5.2 32bits)
Upgrade: from 32bits to 64bits Linux  (installed CentOS 5.2 32bits upgrade to CentOS 5.2 X64)
Actually downgrade and upgrade are similar.
Reason:   for static library without source, most of the library (xxx.a) are in 32bits, so using 32bits Linux is much easier for compatibility.

Step 1:
- boot to the installed Linux,  use "mount" to review your original partition setup e.g.
  /dev/md0 is for / and /dev/md2 is for /usr
- write down the partition, on paper or another company

Step 2:
- boot the CentOS DVD (32bits or x64)
- choose INSTALL NEW   (not upgrade)
- In partition,  choose "create custom partition", and edit each partition location as written down.
  note: some partition must be "formatted" to be clean, some can be preserved (no format):
/dev/md0        /    keep   - keep /etc/passwd etc
/dev/md6        /data    keep      // this is user defined
/dev/md4        /var    format      // ************* install new package may have conflict, must format!
/dev/md3        /home    keep    // keep user home directory data
/dev/md2        /usr    format      // ************** install new package may have conflict, format!
/dev/md1        /boot    format    // this is where the kernal is, so just clean up

Step 3:  (some of them are optional)
- Choose the right software
- .... someone fill up here....

Step 4:  After reboot  : setup as a non SELinux, and text-mode
vi /etc/sysconfig/selinux
SELINUX=disabled

vi /etc/inittab
id:3:initdefault:
### note: change to 3 for text-mode

  评论这张
 
阅读(381)| 评论(0)
推荐 转载

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017