当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 7 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : /boot 的空间不足
帖子发表于 : 2015-11-19 16:25 

注册: 2012-05-09 11:25
帖子: 48
送出感谢: 7
接收感谢: 0 次
/boot 的空间不足,帮忙看看那些可以干掉

console-setup-linux install
libselinux1:amd64 install
libselinux1:i386 install
linux-firmware install
linux-generic install
linux-headers-4.2.0-16 install
linux-headers-4.2.0-16-generic install
linux-headers-generic install
linux-image-4.2.0-16-generic install
linux-image-extra-4.2.0-16-generic install
linux-image-generic install
linux-libc-dev:amd64 install
linux-sound-base install
pptp-linux install
syslinux install
syslinux-common install
syslinux-legacy install
util-linux install


页首
 用户资料  
 
2 楼 
 文章标题 : Re: /boot 的空间不足
帖子发表于 : 2015-11-19 17:03 

注册: 2009-08-04 16:33
帖子: 16886
送出感谢: 21
接收感谢: 1826
把下面指令 複製 貼進終端機 執行
1. sudo fdisk -l
2. sudo cat /etc/fstab
3. sudo ls -al /dev/disk/by-uuid/*
4. sudo df /boot
5. sudo ls -al /boot
把結果直接 選取/複製 貼上來
6. 請確認 你的 作業系統 及 版本

7. 補充
你貼上來的 /boot 內的 目錄或檔案
跟一般常見的差許多
描述一下 你還安裝了哪些套件 ?


页首
 用户资料  
 
3 楼 
 文章标题 : Re: /boot 的空间不足
帖子发表于 : 2015-11-19 19:20 

注册: 2012-05-09 11:25
帖子: 48
送出感谢: 7
接收感谢: 0 次
fangyihlee@fangyihlee:~$ sudo fdisk -l
[sudo] fangyihlee 的密码:
Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectorsgen
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x739fa656

设备 启动 Start 末尾 扇区 Size Id 类型
/dev/sda1 * 63 125837144 125837082 60G 7 HPFS/NTFS/exFAT
/dev/sda2 125837206 936577023 810739818 386.6G f W95 扩展 (LBA)
/dev/sda3 936577024 976771071 40194048 19.2G 83 Linux
/dev/sda5 125837208 551575709 425738502 203G 7 HPFS/NTFS/exFAT
/dev/sda6 551575773 764406848 212831076 101.5G 7 HPFS/NTFS/exFAT
/dev/sda7 764407808 768425983 4018176 1.9G 82 Linux 交换 / Solaris
/dev/sda8 768428032 768729087 301056 147M 83 Linux
/dev/sda9 768731136 936577023 167845888 80G 83 Linux

Partition 1 does not start on physical sector boundary.
Partition 2 does not start on physical sector boundary.
Partition 6 does not start on physical sector boundary.
Partition table entries are not in disk order.

fangyihlee@fangyihlee:~$ sudo cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda3 during installation
UUID=8298f2a7-4d9d-40d4-a3d3-edbc2526bfde / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda8 during installation
UUID=71eef573-0877-4ef4-87f6-46e0906e49b7 /boot ext4 defaults 0 2
# /home was on /dev/sda9 during installation
UUID=860fe756-d224-4b3f-bc25-3528af24cfb1 /home ext4 defaults 0 2
# swap was on /dev/sda7 during installation
UUID=f36e90ea-dd8e-485e-bbfe-b876029c098d none swap sw 0 0
/dev/sda1 /C auto 0 0
/dev/sda5 /D auto 0 0
/dev/sda6 /E auto 0 0

fangyihlee@fangyihlee:~$ sudo ls -al /dev/disk/by-uuid/*
lrwxrwxrwx 1 root root 10 11月 19 11:04 /dev/disk/by-uuid/0001BFF3000D5EEF -> ../../sda1
lrwxrwxrwx 1 root root 10 11月 19 11:04 /dev/disk/by-uuid/0005C523000C1182 -> ../../sda5
lrwxrwxrwx 1 root root 10 11月 19 11:04 /dev/disk/by-uuid/0008D6460004D356 -> ../../sda6
lrwxrwxrwx 1 root root 10 11月 19 11:04 /dev/disk/by-uuid/71eef573-0877-4ef4-87f6-46e0906e49b7 -> ../../sda8
lrwxrwxrwx 1 root root 10 11月 19 11:03 /dev/disk/by-uuid/8298f2a7-4d9d-40d4-a3d3-edbc2526bfde -> ../../sda3
lrwxrwxrwx 1 root root 10 11月 19 11:04 /dev/disk/by-uuid/860fe756-d224-4b3f-bc25-3528af24cfb1 -> ../../sda9
lrwxrwxrwx 1 root root 10 11月 19 11:03 /dev/disk/by-uuid/f36e90ea-dd8e-485e-bbfe-b876029c098d -> ../../sda7

fangyihlee@fangyihlee:~$ sudo df /boot
文件系统 1K-块 已用 可用 已用% 挂载点
/dev/sda8 141669 53559 77574 41% /boot

fangyihlee@fangyihlee:~$ sudo ls -al /boot
总用量 45216
drwxr-xr-x 4 root root 1024 11月 11 23:24 .
drwxr-xr-x 27 root root 4096 11月 16 14:52 ..
-rw-r--r-- 1 root root 1311978 10月 9 01:15 abi-4.2.0-16-generic
-rw-r--r-- 1 root root 184809 10月 9 01:15 config-4.2.0-16-generic
drwxr-xr-x 5 root root 1024 11月 11 23:24 grub
-rw-r--r-- 1 root root 33690379 10月 23 01:18 initrd.img-4.2.0-16-generic
drwx------ 2 root root 12288 9月 22 02:23 lost+found
-rw-r--r-- 1 root root 182704 8月 27 21:04 memtest86+.bin
-rw-r--r-- 1 root root 184380 8月 27 21:04 memtest86+.elf
-rw-r--r-- 1 root root 184840 8月 27 21:04 memtest86+_multiboot.bin
-rw------- 1 root root 3740437 10月 9 01:15 System.map-4.2.0-16-generic
-rw------- 1 root root 6797680 10月 9 01:15 vmlinuz-4.2.0-16-generic

6. 請確認 你的 作業系統 及 版本
ubuntu15.10 64

7. 補充
virtualbox,wireshark,wps,libreoffice5.0,wineqq,terminator,youker-assistant,youdao-dict
基本上就是这些了


页首
 用户资料  
 
4 楼 
 文章标题 : Re: /boot 的空间不足
帖子发表于 : 2015-11-19 20:01 

注册: 2009-08-04 16:33
帖子: 16886
送出感谢: 21
接收感谢: 1826
引用:
/boot 的空间不足,帮忙看看那些可以干掉

引用:
console-setup-linux install
libselinux1:amd64 install
libselinux1:i386 install
linux-firmware install
linux-generic install
linux-headers-4.2.0-16 install
linux-headers-4.2.0-16-generic install
linux-headers-generic install
linux-image-4.2.0-16-generic install
linux-image-extra-4.2.0-16-generic install
linux-image-generic install
linux-libc-dev:amd64 install
linux-sound-base install
pptp-linux install
syslinux install
syslinux-common install
syslinux-legacy install
util-linux install

引用:
sudo ls -al /boot
-rw-r--r-- 1 root root 1311978 10月 9 01:15 abi-4.2.0-16-generic
-rw-r--r-- 1 root root 184809 10月 9 01:15 config-4.2.0-16-generic
drwxr-xr-x 5 root root 1024 11月 11 23:24 grub
-rw-r--r-- 1 root root 33690379 10月 23 01:18 initrd.img-4.2.0-16-generic
-rw-r--r-- 1 root root 182704 8月 27 21:04 memtest86+.bin
-rw-r--r-- 1 root root 184380 8月 27 21:04 memtest86+.elf
-rw-r--r-- 1 root root 184840 8月 27 21:04 memtest86+_multiboot.bin
-rw------- 1 root root 3740437 10月 9 01:15 System.map-4.2.0-16-generic
-rw------- 1 root root 6797680 10月 9 01:15 vmlinuz-4.2.0-16-generic

1. 你上面列出的 名稱 實際上 在 /boot 有許多 沒看到
引用:
sudo df /boot
文件系统 1K-块 已用 可用 已用% 挂载点
/dev/sda8 141669 53559 77574 41% /boot

2. 目前 /boot 只有使用 41 %
引用:
sudo fdisk -l
/dev/sda8 768428032 768729087 301056 147M 83 Linux

3. 只有 147 M 確實太小 第一次 安裝可能還可以 第二次更新 linux kernel 可能就會出現空間不夠
引用:
设备 启动 Start 末尾 扇区 Size Id 类型
/dev/sda1 * 63 125837144 125837082 60G 7 HPFS/NTFS/exFAT
/dev/sda2 125837206 936577023 810739818 386.6G f W95 扩展 (LBA)
/dev/sda5 125837208 551575709 425738502 203G 7 HPFS/NTFS/exFAT
/dev/sda6 551575773 764406848 212831076 101.5G 7 HPFS/NTFS/exFAT
/dev/sda7 764407808 768425983 4018176 1.9G 82 Linux 交换 / Solaris
/dev/sda8 768428032 768729087 301056 147M 83 Linux
/dev/sda9 768731136 936577023 167845888 80G 83 Linux
/dev/sda3 936577024 976771071 40194048 19.2G 83 Linux

引用:
sudo fdisk -l
# /boot was on /dev/sda8 during installation
UUID=71eef573-0877-4ef4-87f6-46e0906e49b7 /boot ext4 defaults 0 2
# /home was on /dev/sda9 during installation
UUID=860fe756-d224-4b3f-bc25-3528af24cfb1 /home ext4 defaults 0 2
# / was on /dev/sda3 during installation
UUID=8298f2a7-4d9d-40d4-a3d3-edbc2526bfde / ext4 errors=remount-ro 0 1

4. 依分割區起點 重排 發現你 /dev/sda8 後面還有 /dev/sda9 /dev/sda3 分別掛載 /home 及 /
4-1. 要擴充 /dev/sda8 必須先刪除 後面的分割區 /dev/sda9 /dev/sda3
意思是 難度很高
引用:
/dev/sda3 936577024 976771071 40194048 19.2G 83 Linux

5. 把下面指令 複製 貼進終端機 執行
sudo df /dev/sda3
把結果直接 選取/複製 貼上來
5-1. 目的 看看 把 /dev/sdb8 內容 合併到 /dev/sda3 看看 有沒有足夠的空間

6. 你是 雙重開機 ?
開機時 登入哪個開機選單 ?


页首
 用户资料  
 
5 楼 
 文章标题 : Re: /boot 的空间不足
帖子发表于 : 2015-11-20 16:05 

注册: 2012-05-09 11:25
帖子: 48
送出感谢: 7
接收感谢: 0 次
fangyihlee@fangyihlee:~/下载$ sudo df /dev/sda3
文件系统 1K-块 已用 可用 已用% 挂载点
/dev/sda3 19650428 8947228 9681968 49% /
--不合并有其他解决方法吗?

6. 你是 雙重開機 ?
開機時 登入哪個開機選單 ?
--选择的是ubuntu


页首
 用户资料  
 
6 楼 
 文章标题 : Re: /boot 的空间不足
帖子发表于 : 2015-11-20 17:04 

注册: 2009-08-04 16:33
帖子: 16886
送出感谢: 21
接收感谢: 1826
引用:
6. 你是 雙重開機 ?
開機時 登入哪個開機選單 ?
--选择的是ubuntu

是問你 開機選單
例如
EasyBCD
Grub 2
其它
引用:
--不合并有其他解决方法吗

合併 只是選項之一
其它選項 例如
不更新 Linux kernel
全新分割/安裝
...
等等


页首
 用户资料  
 
7 楼 
 文章标题 : Re: /boot 的空间不足
帖子发表于 : 2015-12-10 10:31 

注册: 2008-10-31 3:18
帖子: 698
送出感谢: 8
接收感谢: 2
使用gpared随便调


_________________
Ubuntu 桌面培训
Duo T6400 GeForce 9300MGS 4G win7 Lubuntu16.04 64bit奔跑中
P3 667 512M GeForce MX200 Lbuntu10.04
从零开始学游泳 萨顶顶


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 7 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 0 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译