Ubuntu14.04 升级 SSD 产生的疑问

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
admin_xyz
帖子: 199
注册时间: 2012-05-26 8:33
系统: Ubuntu 12.04

Re: Ubuntu14.04 升级 SSD 产生的疑问

#106

帖子 admin_xyz » 2014-10-11 9:43

/etc/init.d 文件夹下没有vboxdrv文件...


难道是我以前用 update-rc.d 删除vboxdrv服务了吗...

代码: 全选

xyz@benben:/etc$ ll rc?.d
rc0.d:
total 20K
drwxr-xr-x   2 root root 4.0K Sep 25 19:08 ./
drwxr-xr-x 148 root root  12K Oct 11 08:28 ../
lrwxrwxrwx   1 root root   17 Sep 25 19:08 K09apache2 -> ../init.d/apache2*
lrwxrwxrwx   1 root root   29 Sep 18 18:55 K10unattended-upgrades -> ../init.d/unattended-upgrades*
lrwxrwxrwx   1 root root   20 Sep 18 18:55 K20kerneloops -> ../init.d/kerneloops*
lrwxrwxrwx   1 root root   15 Sep 18 18:55 K20rsync -> ../init.d/rsync*
lrwxrwxrwx   1 root root   27 Sep 18 18:55 K20speech-dispatcher -> ../init.d/speech-dispatcher*
lrwxrwxrwx   1 root root   20 Sep 25 16:48 K20virtualbox -> ../init.d/virtualbox*
-rw-r--r--   1 root root  353 Mar 13  2014 README
lrwxrwxrwx   1 root root   18 Sep 18 18:55 S20sendsigs -> ../init.d/sendsigs*
lrwxrwxrwx   1 root root   17 Sep 18 18:55 S30urandom -> ../init.d/urandom*
lrwxrwxrwx   1 root root   22 Sep 18 18:55 S31umountnfs.sh -> ../init.d/umountnfs.sh*
lrwxrwxrwx   1 root root   18 Sep 18 18:55 S40umountfs -> ../init.d/umountfs*
lrwxrwxrwx   1 root root   20 Sep 18 18:55 S60umountroot -> ../init.d/umountroot*
lrwxrwxrwx   1 root root   14 Sep 18 18:55 S90halt -> ../init.d/halt*

rc1.d:
total 20K
drwxr-xr-x   2 root root 4.0K Sep 25 19:08 ./
drwxr-xr-x 148 root root  12K Oct 11 08:28 ../
lrwxrwxrwx   1 root root   17 Sep 25 19:08 K09apache2 -> ../init.d/apache2*
lrwxrwxrwx   1 root root   20 Sep 18 18:55 K20kerneloops -> ../init.d/kerneloops*
lrwxrwxrwx   1 root root   15 Sep 18 18:55 K20rsync -> ../init.d/rsync*
lrwxrwxrwx   1 root root   15 Sep 18 18:55 K20saned -> ../init.d/saned*
lrwxrwxrwx   1 root root   27 Sep 18 18:55 K20speech-dispatcher -> ../init.d/speech-dispatcher*
[color=#FF0000]lrwxrwxrwx   1 root root   20 Sep 25 16:48 K20virtualbox -> ../init.d/virtualbox*[/color]
lrwxrwxrwx   1 root root   19 Sep 18 18:55 K70dns-clean -> ../init.d/dns-clean*
-rw-r--r--   1 root root  369 Mar 13  2014 README
lrwxrwxrwx   1 root root   19 Sep 18 18:55 S30killprocs -> ../init.d/killprocs*
lrwxrwxrwx   1 root root   18 Sep 18 18:55 S70pppd-dns -> ../init.d/pppd-dns*
lrwxrwxrwx   1 root root   16 Sep 18 18:55 S90single -> ../init.d/single*

rc2.d:
total 20K
drwxr-xr-x   2 root root 4.0K Sep 25 19:22 ./
drwxr-xr-x 148 root root  12K Oct 11 08:28 ../
lrwxrwxrwx   1 root root   17 Sep 25 19:22 K09apache2 -> ../init.d/apache2*
[color=#FF0000]lrwxrwxrwx   1 root root   20 Sep 25 18:58 K20virtualbox -> ../init.d/virtualbox*[/color]
lrwxrwxrwx   1 root root   19 Sep 25 18:57 K30dns-clean -> ../init.d/dns-clean*
-rw-r--r--   1 root root  677 Mar 13  2014 README
lrwxrwxrwx   1 root root   20 Sep 18 18:55 S20kerneloops -> ../init.d/kerneloops*
lrwxrwxrwx   1 root root   15 Sep 18 18:55 S20rsync -> ../init.d/rsync*
lrwxrwxrwx   1 root root   27 Sep 18 18:55 S20speech-dispatcher -> ../init.d/speech-dispatcher*
lrwxrwxrwx   1 root root   15 Sep 18 18:55 S50saned -> ../init.d/saned*
lrwxrwxrwx   1 root root   18 Sep 18 18:55 S70pppd-dns -> ../init.d/pppd-dns*
lrwxrwxrwx   1 root root   21 Sep 18 18:55 S99grub-common -> ../init.d/grub-common*
lrwxrwxrwx   1 root root   18 Sep 18 18:55 S99ondemand -> ../init.d/ondemand*
lrwxrwxrwx   1 root root   18 Sep 18 18:55 S99rc.local -> ../init.d/rc.local*

rc3.d:
total 20K
drwxr-xr-x   2 root root 4.0K Sep 25 19:22 ./
drwxr-xr-x 148 root root  12K Oct 11 08:28 ../
lrwxrwxrwx   1 root root   17 Sep 25 19:22 K09apache2 -> ../init.d/apache2*
[color=#FF0000]lrwxrwxrwx   1 root root   20 Sep 25 18:58 K20virtualbox -> ../init.d/virtualbox*[/color]
lrwxrwxrwx   1 root root   19 Sep 25 18:57 K30dns-clean -> ../init.d/dns-clean*
-rw-r--r--   1 root root  677 Mar 13  2014 README
lrwxrwxrwx   1 root root   20 Sep 18 18:55 S20kerneloops -> ../init.d/kerneloops*
lrwxrwxrwx   1 root root   15 Sep 18 18:55 S20rsync -> ../init.d/rsync*
lrwxrwxrwx   1 root root   27 Sep 18 18:55 S20speech-dispatcher -> ../init.d/speech-dispatcher*
lrwxrwxrwx   1 root root   15 Sep 18 18:55 S50saned -> ../init.d/saned*
lrwxrwxrwx   1 root root   18 Sep 18 18:55 S70pppd-dns -> ../init.d/pppd-dns*
lrwxrwxrwx   1 root root   21 Sep 18 18:55 S99grub-common -> ../init.d/grub-common*
lrwxrwxrwx   1 root root   18 Sep 18 18:55 S99ondemand -> ../init.d/ondemand*
lrwxrwxrwx   1 root root   18 Sep 18 18:55 S99rc.local -> ../init.d/rc.local*

rc4.d:
total 20K
drwxr-xr-x   2 root root 4.0K Sep 25 19:22 ./
drwxr-xr-x 148 root root  12K Oct 11 08:28 ../
lrwxrwxrwx   1 root root   17 Sep 25 19:22 K09apache2 -> ../init.d/apache2*[color=#FF0000]
lrwxrwxrwx   1 root root   20 Sep 25 18:58 K20virtualbox -> ../init.d/virtualbox*[/color]
lrwxrwxrwx   1 root root   19 Sep 25 18:57 K30dns-clean -> ../init.d/dns-clean*
-rw-r--r--   1 root root  677 Mar 13  2014 README
lrwxrwxrwx   1 root root   20 Sep 18 18:55 S20kerneloops -> ../init.d/kerneloops*
lrwxrwxrwx   1 root root   15 Sep 18 18:55 S20rsync -> ../init.d/rsync*
lrwxrwxrwx   1 root root   27 Sep 18 18:55 S20speech-dispatcher -> ../init.d/speech-dispatcher*
lrwxrwxrwx   1 root root   15 Sep 18 18:55 S50saned -> ../init.d/saned*
lrwxrwxrwx   1 root root   18 Sep 18 18:55 S70pppd-dns -> ../init.d/pppd-dns*
lrwxrwxrwx   1 root root   21 Sep 18 18:55 S99grub-common -> ../init.d/grub-common*
lrwxrwxrwx   1 root root   18 Sep 18 18:55 S99ondemand -> ../init.d/ondemand*
lrwxrwxrwx   1 root root   18 Sep 18 18:55 S99rc.local -> ../init.d/rc.local*

rc5.d:
total 20K
drwxr-xr-x   2 root root 4.0K Sep 25 19:22 ./
drwxr-xr-x 148 root root  12K Oct 11 08:28 ../
lrwxrwxrwx   1 root root   17 Sep 25 19:22 K09apache2 -> ../init.d/apache2*
[color=#FF0000]lrwxrwxrwx   1 root root   20 Sep 25 18:58 K20virtualbox -> ../init.d/virtualbox*[/color]
lrwxrwxrwx   1 root root   19 Sep 25 18:57 K30dns-clean -> ../init.d/dns-clean*
-rw-r--r--   1 root root  677 Mar 13  2014 README
lrwxrwxrwx   1 root root   20 Sep 18 18:55 S20kerneloops -> ../init.d/kerneloops*
lrwxrwxrwx   1 root root   15 Sep 18 18:55 S20rsync -> ../init.d/rsync*
lrwxrwxrwx   1 root root   27 Sep 18 18:55 S20speech-dispatcher -> ../init.d/speech-dispatcher*
lrwxrwxrwx   1 root root   15 Sep 18 18:55 S50saned -> ../init.d/saned*
lrwxrwxrwx   1 root root   18 Sep 18 18:55 S70pppd-dns -> ../init.d/pppd-dns*
lrwxrwxrwx   1 root root   21 Sep 18 18:55 S99grub-common -> ../init.d/grub-common*
lrwxrwxrwx   1 root root   18 Sep 18 18:55 S99ondemand -> ../init.d/ondemand*
lrwxrwxrwx   1 root root   18 Sep 18 18:55 S99rc.local -> ../init.d/rc.local*

rc6.d:
total 20K
drwxr-xr-x   2 root root 4.0K Sep 25 19:08 ./
drwxr-xr-x 148 root root  12K Oct 11 08:28 ../
lrwxrwxrwx   1 root root   17 Sep 25 19:08 K09apache2 -> ../init.d/apache2*
lrwxrwxrwx   1 root root   29 Sep 18 18:55 K10unattended-upgrades -> ../init.d/unattended-upgrades*
lrwxrwxrwx   1 root root   20 Sep 18 18:55 K20kerneloops -> ../init.d/kerneloops*
lrwxrwxrwx   1 root root   15 Sep 18 18:55 K20rsync -> ../init.d/rsync*
lrwxrwxrwx   1 root root   27 Sep 18 18:55 K20speech-dispatcher -> ../init.d/speech-dispatcher*
[color=#FF0000]lrwxrwxrwx   1 root root   20 Sep 25 16:48 K20virtualbox -> ../init.d/virtualbox*[/color]
-rw-r--r--   1 root root  351 Mar 13  2014 README
lrwxrwxrwx   1 root root   18 Sep 18 18:55 S20sendsigs -> ../init.d/sendsigs*
lrwxrwxrwx   1 root root   17 Sep 18 18:55 S30urandom -> ../init.d/urandom*
lrwxrwxrwx   1 root root   22 Sep 18 18:55 S31umountnfs.sh -> ../init.d/umountnfs.sh*
lrwxrwxrwx   1 root root   18 Sep 18 18:55 S40umountfs -> ../init.d/umountfs*
lrwxrwxrwx   1 root root   20 Sep 18 18:55 S60umountroot -> ../init.d/umountroot*
lrwxrwxrwx   1 root root   16 Sep 18 18:55 S90reboot -> ../init.d/reboot*

rcS.d:
total 20K
drwxr-xr-x   2 root root 4.0K Oct 10 11:04 ./
drwxr-xr-x 148 root root  12K Oct 11 08:28 ../
lrwxrwxrwx   1 root root   20 Oct 10 11:04 K30x11-common -> ../init.d/x11-common*
-rw-r--r--   1 root root  447 Mar 13  2014 README
lrwxrwxrwx   1 root root   15 Sep 25 19:26 S20acpid -> ../init.d/acpid*
lrwxrwxrwx   1 root root   17 Sep 25 19:26 S20anacron -> ../init.d/anacron*
lrwxrwxrwx   1 root root   16 Sep 18 18:55 S25brltty -> ../init.d/brltty*
lrwxrwxrwx   1 root root   18 Sep 18 18:55 S37apparmor -> ../init.d/apparmor*
lrwxrwxrwx   1 root root   17 Sep 18 18:55 S55urandom -> ../init.d/urandom*
xyz@benben:/etc$ 


Virtualbox 4.3.10
Linux benben 3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15 01:58:42 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux


问题:

1. K20virtualbox -> ../init.d/virtualbox
为什么一个服务会在好几个运行级别里面出现.?

2. K 代表的是 脚本以 Stop方式执行, S代表的是以Start 执行?
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Ubuntu14.04 升级 SSD 产生的疑问

#107

帖子 poloshiao » 2014-10-11 11:01

Virtualbox 4.3.10
1. 如果你是從 Ubuntu 套件庫安裝 virtualbox
http://packages.ubuntu.com/trusty/amd64 ... x/filelist
/etc/init.d/virtualbox
沒有
/etc/init.d/vboxdrv

2. 如果你是從 virtualbox 官網 下載 virtualbox-4.3 安裝的
sudo dpkg -S /etc/init.d/vboxdrv
virtualbox-4.3: /etc/init.d/vboxdrv
才有
/etc/init.d/vboxdrv
1. K20virtualbox -> ../init.d/virtualbox
为什么一个服务会在好几个运行级别里面出现.?
2. K 代表的是 脚本以 Stop方式执行, S代表的是以Start 执行?
參閱
http://book.51cto.com/art/200905/126182.htm
头像
admin_xyz
帖子: 199
注册时间: 2012-05-26 8:33
系统: Ubuntu 12.04

Re: Ubuntu14.04 升级 SSD 产生的疑问

#108

帖子 admin_xyz » 2014-10-13 17:35

我是从软件中心安装的, 以前没出现过这个问题.
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Ubuntu14.04 升级 SSD 产生的疑问

#109

帖子 poloshiao » 2014-10-13 19:19

以前没出现过这个问题.
不同 Ubuntu 版本
不同 Virtualbox 版本 (包含 不同安裝源)
可能在某些方面 表現出不同行為

不過 如果你認為有需要
可以嘗試把這個問題 描述清楚一些
我是从软件中心安装的
http://packages.ubuntu.com/trusty/amd64 ... x/filelist
參閱 安裝的 virtualbox 版本
头像
admin_xyz
帖子: 199
注册时间: 2012-05-26 8:33
系统: Ubuntu 12.04

Re: Ubuntu14.04 升级 SSD 产生的疑问

#110

帖子 admin_xyz » 2014-10-14 20:45

poloshiao 写了:
以前没出现过这个问题.
不同 Ubuntu 版本
不同 Virtualbox 版本 (包含 不同安裝源)
可能在某些方面 表現出不同行為

不過 如果你認為有需要
可以嘗試把這個問題 描述清楚一些
我是从软件中心安装的
http://packages.ubuntu.com/trusty/amd64 ... x/filelist
參閱 安裝的 virtualbox 版本

xyz@benben:~$ sudo modprobe vboxdrv

vboxdrv的模块在哪 呀.我找过了,没有找到.但是modprobe还能加载到内核 ....

我需要提供什么数据...大大
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Ubuntu14.04 升级 SSD 产生的疑问

#111

帖子 poloshiao » 2014-10-15 7:05

vboxdrv 的模块在哪 呀
1. 因為你是從 Ubuntu 套件庫安裝
http://packages.ubuntu.com/trusty/all//filelist
使用 vboxdrv 搜尋
/usr/src/virtualbox-4.3.10/vboxdrv/Makefile
... 以下省略
表示可以自己編譯 vboxdrv
1-1. 安裝 virtualbox-dkms (來自 multiverse 套件庫)
sudo apt-get install virtualbox-dkms

2. 編譯 方法參考
http://www.binarytides.com/fix-vbox-ker ... ver-error/
sudo apt-get install build-essential module-assistant
sudo m-a prepare # m-a 就是 module-assistant
sudo /etc/init.d/vboxdrv setup

3. 如果還有錯誤訊息 請全部訊息都複製 貼上來
不要摘譯 以免遺漏重要訊息
头像
admin_xyz
帖子: 199
注册时间: 2012-05-26 8:33
系统: Ubuntu 12.04

Re: Ubuntu14.04 升级 SSD 产生的疑问

#112

帖子 admin_xyz » 2014-10-26 20:01

新问题:

代码: 全选

xyz@benben:~$ cd /etc/cron.weekly/
xyz@benben:/etc/cron.weekly$ ls
0anacron  apt-xapian-index  fstrim  man-db  update-notifier-common
xyz@benben:/etc/cron.weekly$ cat fstrim 
#!/bin/sh
# call fstrim-all to trim all mounted file systems which support it
set -e

# [color=#FF0000]This only runs on Intel and Samsung SSDs by default[/color], as some SSDs with faulty
# firmware may encounter data loss problems when running fstrim under high I/O
# load (e. g.  https://launchpad.net/bugs/1259829).[color=#FF0000] You can append the
# --no-model-check option here to disable the vendor check and run fstrim on
# all SSD drives.[/color]

exec fstrim-all

echo "$(date -R) Trim SSD Success !" >> /home/xyz/Desktop/Trim.log 
xyz@benben:/etc/cron.weekly$ 

这个就从来没有执行过呀...桌面上没有出现过Trim.log
红色那段是什么意思呀, 为什么默认只在intel或samsung的ssd上工作呢...我的是plextor的ssd... 难道不会默认运行啊 ... 既然放在cron.weekly文件夹下, anacrontab应该会执行该脚本呀...为什么呢
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Ubuntu14.04 升级 SSD 产生的疑问

#113

帖子 poloshiao » 2014-10-26 20:38

这个就从来没有执行过呀...桌面上没有出现过Trim.log
既然放在cron.weekly文件夹下, anacrontab应该会执行该脚本呀
這個可能是預裝時的預設值
http://askubuntu.com/questions/443761/h ... im-enabled
Conclusion from that link in German:
cron job on weekly basis since discard will lead to too much of a performance hit.
红色那段是什么意思呀, 为什么默认只在intel或samsung的ssd上工作呢...我的是plextor的ssd... 难道不会默认运行啊
http://askubuntu.com/questions/443761/h ... im-enabled
Only Intel and Samsung SSDs will have TRIM enabled by default in Ubuntu 14.04 because some cheap SSDs can even brick themselves when running TRIM.
因為 其它品牌 SSD 會闖出亂子
如果把
exec fstrim-all
改為
exec fstrim-all --no-model-check
就不會檢查品牌 意思是 會執行
小心前面的會闖出亂子的警告語
头像
admin_xyz
帖子: 199
注册时间: 2012-05-26 8:33
系统: Ubuntu 12.04

Re: Ubuntu14.04 升级 SSD 产生的疑问

#114

帖子 admin_xyz » 2014-10-28 13:08

恩, 我把 --no-model-check 加上试试看吧.

还有一个问题... 还是关于vbox的

我想在virtualbox里面使用usb, 增强包已经在主机里面安装了.

但是如果在设置里面选中 Enable Usb 2.0(EHCI) Controller
的话下面会出现 Invalid settings detected .

于是找找度娘, 在 /etc/group 里面的 vboxusers用户组把我的用户加到了里面... 还是无效
vboxusers:x:126:xyz

这个该怎么解决呢
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Ubuntu14.04 升级 SSD 产生的疑问

#115

帖子 poloshiao » 2014-10-28 13:30

于是找找度娘, 在 /etc/group 里面的 vboxusers用户组把我的用户加到了里面... 还是无效
vboxusers:x:126:xyz
http://www.virtualbox.org/manual/ch02.html#idp50044496
需要在 Host 把 用户加到 vboxusers
不是在 Guest 裡加
头像
admin_xyz
帖子: 199
注册时间: 2012-05-26 8:33
系统: Ubuntu 12.04

Re: Ubuntu14.04 升级 SSD 产生的疑问

#116

帖子 admin_xyz » 2014-10-29 8:57

poloshiao 写了:
于是找找度娘, 在 /etc/group 里面的 vboxusers用户组把我的用户加到了里面... 还是无效
vboxusers:x:126:xyz
http://www.virtualbox.org/manual/ch02.html#idp50044496
需要在 Host 把 用户加到 vboxusers
不是在 Guest 裡加
我就是在Host里面添加的. guest 是 win7
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Ubuntu14.04 升级 SSD 产生的疑问

#117

帖子 poloshiao » 2014-10-29 11:50

我想在virtualbox里面使用usb, 增强包已经在主机里面安装了.
但是如果在设置里面选中 Enable Usb 2.0(EHCI) Controller
的话下面会出现 Invalid settings detected .
1. 初步檢查
1-1. 在 host 必須安裝 extension packs
http://www.virtualbox.org/manual/ch01.h ... installing
1-2. 在 guest 虛擬機設定 / usb / usb 控制器 及 usb 2.0 控制器 需要打勾
如果需要再設定 usb 裝置篩選器 filter
http://www.virtualbox.org/manual/ch12.html#ts_usb-linux
2. 如果還有問題 抓錯參閱
http://www.virtualbox.org/manual/ch12.html#ts_usb-linux
找找度娘, 在 /etc/group 里面的 vboxusers用户组把我的用户加到了里面... 还是无效
vboxusers:x:126:xyz
3. 猜測 你可能沒有安裝 extension packs
因為 安裝 extension packs 就會將你登入的使用者 自動加入 vboxusers 毋需再手動加入 只有非登入的使用者 才需手動加入

4. 補充
安裝的 extension packs 必須跟你的 virtualbox 同一個版本
每個版本的 extension packs 只有一個檔案 通用在所有的作業系統的 Host
头像
admin_xyz
帖子: 199
注册时间: 2012-05-26 8:33
系统: Ubuntu 12.04

Re: Ubuntu14.04 升级 SSD 产生的疑问

#118

帖子 admin_xyz » 2014-11-10 9:32

download/file.php?id=179156&mode=view/a.png

问题有点跳跃性.... 大神见谅

如图, 为什么一个服务会反复在几个运行级别中出现呢 ?
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Ubuntu14.04 升级 SSD 产生的疑问

#119

帖子 poloshiao » 2014-11-10 13:50

1. 你問的問題 是 Ubuntu 6.10 以前的 啟動程式模式 Sysvinit
1-1. http://zh.wikipedia.org/wiki/Init#SysV. ... E.E6.A0.BC
1-2. http://zh.wikipedia.org/wiki/%E8%BF%90% ... 7%E5%88%AB
1-3. https://help.ubuntu.com/community/Ubunt ... buntu_6.10

2. Ubuntu 6.10 以後 預設 啟動程式模式 改為 Upstart
但是 為了相容 所以 Sysvinit 也一直都存在 在 Ubuntu 14.04 14.10 ...
但是 使用的程式 越來越少 (指在 Ubuntu)

3. Ubuntu 預設 15.10 開始 會預設為 Systemd 啟動程式模式
但是 為了相容 所以 Sysvinit 也一直都會繼續存在 在 Ubuntu 15.04 15.10 ...
Upstart 則改為選裝 與 Systemd 只能 2 選 1 不能同時存在
這個表上面沒有打 x 的
可能性之一就是 已經改為 Upstart 或 Systemd 啟動

4. 但是不同 Linux 發行版本 可能不同安排
头像
admin_xyz
帖子: 199
注册时间: 2012-05-26 8:33
系统: Ubuntu 12.04

Re: Ubuntu14.04 升级 SSD 产生的疑问

#120

帖子 admin_xyz » 2014-11-14 16:27

代码: 全选

xyz@benben:~$ ls /etc/init | egrep "upstart|systemd"
plymouth-upstart-bridge.conf
systemd-logind.conf
upstart-file-bridge.conf
upstart-socket-bridge.conf
upstart-udev-bridge.conf
usb-modeswitch-upstart.conf
怎么查看自己的服务启动方式呢?

还有,我的virtualbox好的...原因是开机服务没有开启.我用sysv-rc-conf在virtualbox几个运行等级上加上x,就ok了...然后我把sysv-rc-conf卸载了
回复