Re: [Ubuntu-zh] Ubuntu 桌面指南 12.04 LTS版发布

2012-05-06 文章 ro sn
非常感谢中文组的朋友

2012/5/6 Qian Hong 

> Aron, 报告个翻译的问题:
>
> 在 降低能耗,提高电池寿命 -> 常规措施[1] 处, 第三点没有翻译为中文, 可能是漏掉了?
> --- snip ---
> Use the Power preferences in System Settings to change your power
> settings. There are a number of options that will help to save power:
> you can automatically dim the display after a certain time; reduce the
> display brightness (for laptops); and have the computer automatically
> suspend if you have not used it for a certain period of time.
> --- snip ---
>
> 辛苦翻译团队的朋友了, 非常不容易!
>
> [1] Reference:
>
> http://people.ubuntu.com/~happyaron/ubuntu-docs/precise-html/power-batterylife.html
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 下一部分 --
一个HTML附件被移除...
URL: 
<https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120506/4920aea0/attachment.html>
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


[Ubuntu-zh] 有能自动识别文件编码并转换为指定编码的工具么?

2012-05-06 文章 HeChi-Lau

google了下,都是互抄,没实用价值.
enca不好用,file检测的结果比较坑爹,无论什么检测出来都是iso-8859-1.icovn要源编码.写脚本呢效率低了点吧.
有能一次性转换成指定编码的工具没?如果没有,告诉我一个能判断文件编码的..
  
-- 下一部分 --
一个HTML附件被移除...
URL: 
<https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120506/151db073/attachment.html>
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


[Ubuntu-zh] 有一个很郁闷的问题,一直没google到结果,来此宝地一问

2012-05-06 文章 kevin zhang
Hello,
我的Ubuntu 12.04,安装的时候选择的语言是英文,但是我有时候需要中文输入法,我知道是用IBUS
这个程序来设置,现在的问题是:如何一次设置后,重启后不用重新设置,我每次重启后就不见中文输入那个图标了,只能输入英文,,需要重新开启IBUS,设置一下才行?如何解决这个问题
谢谢大家!
-- 下一部分 --
一个HTML附件被移除...
URL: 
<https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120506/9c0ae6ff/attachment.html>
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 有一个很郁闷的问题,一直没google到结果,来此宝地一问

2012-05-06 文章 HeChi-Lau

添加IBUS到启动项里面.
  
-- 下一部分 --
一个HTML附件被移除...
URL: 
<https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120506/dc1fd924/attachment.html>
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 有一个很郁闷的问题,一直没google到结果,来此宝地一问

2012-05-06 文章 kevin zhang
需要使用命令吗?
对U不是很熟悉

2012/5/6, HeChi-Lau :
>
> 添加IBUS到启动项里面.
>   
> -- 下一部分 --
> 一个HTML附件被移除...
> URL:
> <https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120506/dc1fd924/attachment.html>
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 有能自动识别文件编码并转换为指定编码的工具么?

2012-05-06 文章 Xunzhen Quan
python 有个叫做 chardet 的模块可以判断文件编码

2012/5/6 HeChi-Lau 

>
> google了下,都是互抄,没实用价值.
> enca不好用,file检测的结果比较坑爹,无论什么检测出来都是iso-8859-1.icovn要源编码.写脚本呢效率低了点吧.
> 有能一次性转换成指定编码的工具没?如果没有,告诉我一个能判断文件编码的..
>
> -- 下一部分 --
> 一个HTML附件被移除...
> URL: <
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120506/151db073/attachment.html
> >
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 下一部分 --
一个HTML附件被移除...
URL: 
<https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120506/bbe83227/attachment.html>
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 有一个很郁闷的问题,一直没google到结果,来此宝地一问

2012-05-06 文章 HeChi-Lau

不是有个叫 启动项管理器 的么?
  
-- 下一部分 --
一个HTML附件被移除...
URL: 
<https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120506/aa38c431/attachment.html>
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 有一个很郁闷的问题,一直没google到结果,来此宝地一问

2012-05-06 文章 Amos.Huang

于 2012年05月06日 18:08, kevin zhang 写道:

需要使用命令吗?
对U不是很熟悉

2012/5/6, HeChi-Lau:

添加IBUS到启动项里面.

-- 下一部分 --
一个HTML附件被移除...
URL:
<https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120506/dc1fd924/attachment.html>
--
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


用命令行吧。chkconfig 服务名 on
但是我没有找到ibus是哪个服务名。自己在网上搜索下吧。

--
Amos.Huang


--
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 有能自动识别文件编码并转换为指定编码的工具么?

2012-05-06 文章 HeChi-Lau

嘿嘿,python仅限于hello world.

好像2和3语法很大不同啊.现在我服务器上是2.4.能否写个范例?谢了!
  
-- 下一部分 --
一个HTML附件被移除...
URL: 
<https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120506/e63d2ad5/attachment.html>
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 有一个很郁闷的问题,一直没google到结果,来此宝地一问

2012-05-06 文章 HeChi-Lau

服务名:ibus-daemon
  
-- 下一部分 --
一个HTML附件被移除...
URL: 
<https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120506/8e4e13ad/attachment.html>
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 有一个很郁闷的问题,一直没google到结果,来此宝地一问

2012-05-06 文章 Pointer Royden
点右上角的那个设置图标,选启动应用程序,然后添加就好啦

-
There is neither happiness nor misery in the world; there is only the
comparison of one state to another, nothing more. He who has felt the
deepest grief is best able to experience supreme happiness. We must have
felt what it is to die, that we may appreciate the enjoyments of life.
' Live, then, and be happy, beloved children of my heart, and never forget
that until the day when God shall deign to reveal the future to man, all
human wisdom is summed up in these two words - "Wait and hope." '



On Sun, May 6, 2012 at 6:18 PM, HeChi-Lau  wrote:

>
> 服务名:ibus-daemon
>
> -- 下一部分 --
> 一个HTML附件被移除...
> URL: <
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120506/8e4e13ad/attachment.html
> >
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 下一部分 --
一个HTML附件被移除...
URL: 
<https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120506/38ae02e9/attachment.html>
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 有一个很郁闷的问题,一直没google到结果,来此宝地一问

2012-05-06 文章 chsnyuxi
安装完一般系统会提示:
IBus 已经成功启动!如果你不能正常使用 IBus,请将下面代码加入到 $HOME/.bashrc中,并重新登录桌面。
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus

2012/5/6 Pointer Royden 

> 点右上角的那个设置图标,选启动应用程序,然后添加就好啦
>
> -
> There is neither happiness nor misery in the world; there is only the
> comparison of one state to another, nothing more. He who has felt the
> deepest grief is best able to experience supreme happiness. We must have
> felt what it is to die, that we may appreciate the enjoyments of life.
> ' Live, then, and be happy, beloved children of my heart, and never forget
> that until the day when God shall deign to reveal the future to man, all
> human wisdom is summed up in these two words - "Wait and hope." '
>
>
>
> On Sun, May 6, 2012 at 6:18 PM, HeChi-Lau 
> wrote:
>
> >
> > 服务名:ibus-daemon
> >
> > -- 下一部分 --
> > 一个HTML附件被移除...
> > URL: <
> >
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120506/8e4e13ad/attachment.html
> > >
> > --
> > ubuntu-zh mailing list
> > ubuntu-zh@lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> >
> -- 下一部分 --
> 一个HTML附件被移除...
> URL: <
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120506/38ae02e9/attachment.html
> >
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 下一部分 --
一个HTML附件被移除...
URL: 
<https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120506/2d1b7749/attachment.html>
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 有一个很郁闷的问题,一直没google到结果,来此宝地一问

2012-05-06 文章 Pointer Royden
也可以写到.xinitrc把

-
There is neither happiness nor misery in the world; there is only the
comparison of one state to another, nothing more. He who has felt the
deepest grief is best able to experience supreme happiness. We must have
felt what it is to die, that we may appreciate the enjoyments of life.
' Live, then, and be happy, beloved children of my heart, and never forget
that until the day when God shall deign to reveal the future to man, all
human wisdom is summed up in these two words - "Wait and hope." '



On Sun, May 6, 2012 at 6:25 PM, chsnyuxi  wrote:

> 安装完一般系统会提示:
> IBus 已经成功启动!如果你不能正常使用 IBus,请将下面代码加入到 $HOME/.bashrc中,并重新登录桌面。
> export GTK_IM_MODULE=ibus
> export XMODIFIERS=@im=ibus
> export QT_IM_MODULE=ibus
>
> 2012/5/6 Pointer Royden 
>
> > 点右上角的那个设置图标,选启动应用程序,然后添加就好啦
> >
> > -
> > There is neither happiness nor misery in the world; there is only the
> > comparison of one state to another, nothing more. He who has felt the
> > deepest grief is best able to experience supreme happiness. We must have
> > felt what it is to die, that we may appreciate the enjoyments of life.
> > ' Live, then, and be happy, beloved children of my heart, and never
> forget
> > that until the day when God shall deign to reveal the future to man, all
> > human wisdom is summed up in these two words - "Wait and hope." '
> >
> >
> >
> > On Sun, May 6, 2012 at 6:18 PM, HeChi-Lau 
> > wrote:
> >
> > >
> > > 服务名:ibus-daemon
> > >
> > > -- 下一部分 --
> > > 一个HTML附件被移除...
> > > URL: <
> > >
> >
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120506/8e4e13ad/attachment.html
> > > >
> > > --
> > > ubuntu-zh mailing list
> > > ubuntu-zh@lists.ubuntu.com
> > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> > >
> > -- 下一部分 --
> > 一个HTML附件被移除...
> > URL: <
> >
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120506/38ae02e9/attachment.html
> > >
> > --
> > ubuntu-zh mailing list
> > ubuntu-zh@lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> >
> -- 下一部分 --
> 一个HTML附件被移除...
> URL: <
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120506/2d1b7749/attachment.html
> >
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 下一部分 --
一个HTML附件被移除...
URL: 
<https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120506/3ef0c210/attachment.html>
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 有一个很郁闷的问题,一直没google到结果,来此宝地一问

2012-05-06 文章 Aron Xu
On Sun, May 6, 2012 at 6:25 PM, chsnyuxi  wrote:
> 安装完一般系统会提示:
> IBus 已经成功启动!如果你不能正常使用 IBus,请将下面代码加入到 $HOME/.bashrc中,并重新登录桌面。
> export GTK_IM_MODULE=ibus
> export XMODIFIERS=@im=ibus
> export QT_IM_MODULE=ibus
>

Ubuntu 把这个提示给去掉了。



-- 
Regards,
Aron Xu
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 有能自动识别文件编码并转换为指定编码的工具么?

2012-05-06 文章 Xunzhen Quan
import sys
import chardet
f = open(sys.argv[1], 'r')
c = f.read()
f.close()
result = chardet.detect(c)
encoding = result['encoding']
print 'Detected', encoding, 'confidence:', result['confidence']
c = c.decode(encoding).encode('utf8')
f = open(sys.argv[2], 'w')
f.write(c);
f.close();

比如这个程序保存为 autoconv.py
运行 python autoconv.py 源文件 目标文件
就可以将源文件自动转换为 UTF-8 并写入目标文件

不过刚刚测试了一下,如果字数太少的话,还是有挺大的机会会判断错的吧


2012/5/6 HeChi-Lau 

>
> 嘿嘿,python仅限于hello world.
>
> 好像2和3语法很大不同啊.现在我服务器上是2.4.能否写个范例?谢了!
>
> -- 下一部分 ------
> 一个HTML附件被移除...
> URL: <
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120506/e63d2ad5/attachment.html
> >
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 下一部分 --
一个HTML附件被移除...
URL: 
<https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120506/5eee8c32/attachment.html>
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 有能自动识别文件编码并转换为指定编码的工具么?

2012-05-06 文章 HeChi-Lau

谢了,我这个是用于一个搜索引擎程序,会索引包括中文维基百科,各类编程,黑客站.页面不会很小的.
  
-- 下一部分 --
一个HTML附件被移除...
URL: 
<https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120506/7c610535/attachment.html>
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


[Ubuntu-zh] 答复: 有一个很郁闷的问题,一直没google到结果,来此宝地一问

2012-05-06 文章 Sigma Li
可以将它添加到启动项里面去

-邮件原件-
发件人: ubuntu-zh-boun...@lists.ubuntu.com 
[mailto:ubuntu-zh-boun...@lists.ubuntu.com] 代表 kevin zhang
发送时间: 2012年5月6日 17:52
收件人: ubuntu-zh
主题: [Ubuntu-zh] 有一个很郁闷的问题,一直没google到结果,来此宝地一问

Hello,
我的Ubuntu 12.04,安装的时候选择的语言是英文,但是我有时候需要中文输入法,我知道是用IBUS
这个程序来设置,现在的问题是:如何一次设置后,重启后不用重新设置,我每次重启后就不见中文输入那个图标了,只能输入英文,,需要重新开启IBUS,设置一下才行?如何解决这个问题
谢谢大家!
-- 下一部分 --
一个HTML附件被移除...
URL: 
<https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120506/9c0ae6ff/attachment.html>
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 有能自动识别文件编码并转换为指定编码的工具么?

2012-05-06 文章 Ma Xiaojun
https://github.com/osdlyrics/osdlyrics/tree/master/lib/chardetect

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 答复: 有一个很郁闷的问题,一直没google到结果,来此宝地一问

2012-05-06 文章 Ma Xiaojun
不是在System Settings => Language Setting裡面設置的嗎?

或者im-switch -s ibus

不建議直接改.bashrc和.xinitrc等文件,也不建議手動加啓動項
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 答复: 有一个很郁闷的问题,一直没google到结果,来此宝地一问

2012-05-06 文章 袁飞
为什么不建议呀?我经常改动.bashrc,启动项也自己加了一个……

2012/5/6 Ma Xiaojun 

> 不是在System Settings => Language Setting�e面�O置的�幔�
>
> 或者im-switch -s ibus
>
> 不建�h直接改.bashrc和.xinitrc等文件,也不建�h手�蛹禹�
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 下一部分 --
一个HTML附件被移除...
URL: 

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


[Ubuntu-zh] 安装了新系统之后的分区问题

2012-05-06 文章 Pointer Royden
前几天刚装的ubuntu12.04, 替换了以前的ubuntu。 今天才发现一个很严重的问题。。
原来我是给ubuntu分了/ /home /swap /usr四个分区的。。 但是现在
*代码:*
[rhythmx@Lawliet ~]$ df -h
文件系统容量  已用  可用 已用% 挂载点
/dev/sda10   24G  8.9G   14G   41% /
udev   1000M  4.0K 1000M1% /dev
tmpfs   403M  908K  402M1% /run
none5.0M 0  5.0M0% /run/lock
none   1007M  1.4M 1006M1% /run/shm
none   1007M   33M  975M4% /tmp/guest-JjZtmt

我给之前的ubuntu分的分区都没了, 只剩下sda10挂载到/上。。
*代码:*
[rhythmx@Lawliet ~]$ sudo fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x624aa2e0

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   *204865548287327731207  HPFS/NTFS/exFAT
/dev/sda265548288   275263487   1048576007  HPFS/NTFS/exFAT
/dev/sda3   275263488   484978687   1048576007  HPFS/NTFS/exFAT
/dev/sda4   484980734   62514175970080513f  W95 Ext'd (LBA)
/dev/sda5   484980736   491374591 3196928b  W95 FAT32
/dev/sda6   491376640   492400639  512000   83  Linux
/dev/sda7   492402688   492900351  248832   83  Linux
/dev/sda8   541730816   62318796740728576   83  Linux
/dev/sda9   623190016   625141759  975872   82  Linux swap / Solaris
/dev/sda10  492902400   54172876724413184   83  Linux

Partition table entries are not in disk order


从sda1到sda5是windows, sda6到sda9都没挂载。。 就是说我那些分区根本没用到, 现在的系统只用到了sda10, 只有/一个分区
现在我怎么继续用那些分区啊。。

-
There is neither happiness nor misery in the world; there is only the
comparison of one state to another, nothing more. He who has felt the
deepest grief is best able to experience supreme happiness. We must have
felt what it is to die, that we may appreciate the enjoyments of life.
' Live, then, and be happy, beloved children of my heart, and never forget
that until the day when God shall deign to reveal the future to man, all
human wisdom is summed up in these two words - "Wait and hope." '
-- 下一部分 --
一个HTML附件被移除...
URL: 

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 安装了新系统之后的分区问题

2012-05-06 文章 袁飞
是不是你在安装12.04分区的时候,只定好了/,其他的几个分区虽然存在,但是没有修改一下,分配为/home或者/usr?
建议重装……

2012/5/7 Pointer Royden 

> 前几天刚装的ubuntu12.04, 替换了以前的ubuntu。 今天才发现一个很严重的问题。。
> 原来我是给ubuntu分了/ /home /swap /usr四个分区的。。 但是现在
> *代码:*
> [rhythmx@Lawliet ~]$ df -h
> 文件系统容量  已用  可用 已用% 挂载点
> /dev/sda10   24G  8.9G   14G   41% /
> udev   1000M  4.0K 1000M1% /dev
> tmpfs   403M  908K  402M1% /run
> none5.0M 0  5.0M0% /run/lock
> none   1007M  1.4M 1006M1% /run/shm
> none   1007M   33M  975M4% /tmp/guest-JjZtmt
>
> 我给之前的ubuntu分的分区都没了, 只剩下sda10挂载到/上。。
> *代码:*
> [rhythmx@Lawliet ~]$ sudo fdisk -l
>
> Disk /dev/sda: 320.1 GB, 320072933376 bytes
> 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x624aa2e0
>
>   Device Boot  Start End  Blocks   Id  System
> /dev/sda1   *204865548287327731207  HPFS/NTFS/exFAT
> /dev/sda265548288   275263487   1048576007  HPFS/NTFS/exFAT
> /dev/sda3   275263488   484978687   1048576007  HPFS/NTFS/exFAT
> /dev/sda4   484980734   62514175970080513f  W95 Ext'd (LBA)
> /dev/sda5   484980736   491374591 3196928b  W95 FAT32
> /dev/sda6   491376640   492400639  512000   83  Linux
> /dev/sda7   492402688   492900351  248832   83  Linux
> /dev/sda8   541730816   62318796740728576   83  Linux
> /dev/sda9   623190016   625141759  975872   82  Linux swap /
> Solaris
> /dev/sda10  492902400   54172876724413184   83  Linux
>
> Partition table entries are not in disk order
>
>
> 从sda1到sda5是windows, sda6到sda9都没挂载。。 就是说我那些分区根本没用到, 现在的系统只用到了sda10, 只有/一个分区
> 现在我怎么继续用那些分区啊。。
>
> -
> There is neither happiness nor misery in the world; there is only the
> comparison of one state to another, nothing more. He who has felt the
> deepest grief is best able to experience supreme happiness. We must have
> felt what it is to die, that we may appreciate the enjoyments of life.
> ' Live, then, and be happy, beloved children of my heart, and never forget
> that until the day when God shall deign to reveal the future to man, all
> human wisdom is summed up in these two words - "Wait and hope." '
> -- 下一部分 --
> 一个HTML附件被移除...
> URL: <
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120507/2cc88f94/attachment.html
> >
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 下一部分 --
一个HTML附件被移除...
URL: 

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 安装了新系统之后的分区问题

2012-05-06 文章 依云
其实只需要复制下文件、修改下 /etc/fstab 就可以了。但鉴于操作的复杂性和危
险性,我也建议你重装 :-)

On Mon, May 07, 2012 at 02:06:13PM +0800, 袁飞 wrote:
> 是不是你在安装12.04分区的时候,只定好了/,其他的几个分区虽然存在,但是没有修改一下,分配为/home或者/usr?
> 建议重装……
> 
> 2012/5/7 Pointer Royden 
> 
> > 前几天刚装的ubuntu12.04, 替换了以前的ubuntu。 今天才发现一个很严重的问题。。
> > 原来我是给ubuntu分了/ /home /swap /usr四个分区的。。 但是现在
> > *代码:*
> > [rhythmx@Lawliet ~]$ df -h
> > 文件系统容量  已用  可用 已用% 挂载点
> > /dev/sda10   24G  8.9G   14G   41% /
> > udev   1000M  4.0K 1000M1% /dev
> > tmpfs   403M  908K  402M1% /run
> > none5.0M 0  5.0M0% /run/lock
> > none   1007M  1.4M 1006M1% /run/shm
> > none   1007M   33M  975M4% /tmp/guest-JjZtmt
> >
> > 我给之前的ubuntu分的分区都没了, 只剩下sda10挂载到/上。。
> > *代码:*
> > [rhythmx@Lawliet ~]$ sudo fdisk -l
> >
> > Disk /dev/sda: 320.1 GB, 320072933376 bytes
> > 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
> > Units = sectors of 1 * 512 = 512 bytes
> > Sector size (logical/physical): 512 bytes / 512 bytes
> > I/O size (minimum/optimal): 512 bytes / 512 bytes
> > Disk identifier: 0x624aa2e0
> >
> >   Device Boot  Start End  Blocks   Id  System
> > /dev/sda1   *204865548287327731207  HPFS/NTFS/exFAT
> > /dev/sda265548288   275263487   1048576007  HPFS/NTFS/exFAT
> > /dev/sda3   275263488   484978687   1048576007  HPFS/NTFS/exFAT
> > /dev/sda4   484980734   62514175970080513f  W95 Ext'd (LBA)
> > /dev/sda5   484980736   491374591 3196928b  W95 FAT32
> > /dev/sda6   491376640   492400639  512000   83  Linux
> > /dev/sda7   492402688   492900351  248832   83  Linux
> > /dev/sda8   541730816   62318796740728576   83  Linux
> > /dev/sda9   623190016   625141759  975872   82  Linux swap /
> > Solaris
> > /dev/sda10  492902400   54172876724413184   83  Linux
> >
> > Partition table entries are not in disk order
> >
> >
> > 从sda1到sda5是windows, sda6到sda9都没挂载。。 就是说我那些分区根本没用到, 现在的系统只用到了sda10, 只有/一个分区
> > 现在我怎么继续用那些分区啊。。
> >
> > -
> > There is neither happiness nor misery in the world; there is only the
> > comparison of one state to another, nothing more. He who has felt the
> > deepest grief is best able to experience supreme happiness. We must have
> > felt what it is to die, that we may appreciate the enjoyments of life.
> > ' Live, then, and be happy, beloved children of my heart, and never forget
> > that until the day when God shall deign to reveal the future to man, all
> > human wisdom is summed up in these two words - "Wait and hope." '
> > -- 下一部分 --
> > 一个HTML附件被移除...
> > URL: <
> > https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120507/2cc88f94/attachment.html
> > >
> > --
> > ubuntu-zh mailing list
> > ubuntu-zh@lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> >
> -- 下一部分 --
> 一个HTML附件被移除...
> URL: 
> 
> -- 
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh

-- 
Best regards,
lilydjwg

Linux Vim Python 我的博客:
http://lilydjwg.is-programmer.com/
-- 
A: Because it obfuscates the reading.
Q: Why is top posting so bad?

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh