我有双启动 windows 10 和 Ubuntu(带有 kde-plasma)windows 10 目前在我的 SSD 上而 Ubuntu 在我的 HDD 上但 Ubuntu 现在真的很慢我想加快它的速度我应该在靠近 windows 10 的 SSD 上重新安装 Ubuntu 吗?我该怎么做或者我可以使用 ramdisk 来加速 i/o 或诸如此类的事情。一些论坛说 usr/local 应该在 SSD 上而 home 在 HDD 上它们是什么而我在 Ubuntu 上安装的新程序它们要去哪里?我不知道。
这是我的笔记本电脑规格:
- 16gb 内存(我拥有的内存比我通常使用的内存多,所以我想用它来做类似 ramdisk 的事情来加速系统)
- 256GB NVMe 固态硬盘
- 1TB 硬盘
- i7-8750H
我将使用 Ubuntu 编写 Java 和 JavaScript 代码并用于日常使用。
我当前的分区详细信息:
- SSD:Windows EFI 和 Windows 分区
- HDD:存储 + Ubuntu efi + Ubuntu 分区 + 交换
我有 2 个 efi 分区,所以我从 bios 中选择磁盘,而不是使用 grub 菜单。
我打算这样做:
- SSD:Windows efi 和 Windows 分区 + Ubuntu 分区(50GB 够吗?)
- HDD:存储 + Ubuntu efi + swap +(可能是一些 Ubuntu 分区,例如 home tmp 等)
mert@canavarrlinuxx:~$ systemd-analyze time
Startup finished in 4.664s (kernel) + 1min 28.363s (userspace) = 1min 33.027s
graphical.target reached after 39.415s in userspace
mert@canavarrlinuxx:~$ systemd-analyze blame
48.955s apt-daily.service
20.007s dev-sda3.device
11.853s systemd-journal-flush.service
10.991s systemd-udevd.service
9.993s systemd-modules-load.service
8.453s plymouth-start.service
6.839s NetworkManager-wait-online.service
6.318s dev-loop12.device
6.204s dev-loop9.device
6.193s dev-loop8.device
6.169s dev-loop10.device
6.165s dev-loop11.device
6.141s dev-loop14.device
6.122s dev-loop15.device
6.097s dev-loop18.device
6.074s dev-loop19.device
5.924s dev-loop0.device
5.683s dev-loop17.device
5.637s dev-loop6.device
5.394s dev-loop13.device
5.289s dev-loop1.device
5.289s dev-loop2.device
5.278s dev-loop3.device
5.257s dev-loop4.device
5.257s dev-loop5.device
5.231s dev-loop7.device
4.542s keyboard-setup.service
4.390s dev-loop16.device
3.866s grub-common.service
3.808s NetworkManager.service
3.525s apparmor.service
lines 1-31
我也遇到这个问题,我知道坏扇区是什么,但我的磁盘很新,才 6 个月,怎么会这样?而且它显示健康???
https://drive.google.com/file/d/12ZGL7wT8p5yMxgRnlMhay0ZfamVXztE6/view?usp=sharing
mert@canavarrlinuxx:~$ systemctl list-unit-files --state=enabled
UNIT FILE STATE
snap-canonical\x2dlivepatch-54.mount enabled
snap-core-4917.mount enabled
snap-core-6259.mount enabled
snap-core-6350.mount enabled
snap-gnome\x2d3\x2d26\x2d1604-70.mount enabled
snap-gnome\x2d3\x2d26\x2d1604-74.mount enabled
snap-gnome\x2dcalculator-180.mount enabled
snap-gnome\x2dcalculator-260.mount enabled
snap-gnome\x2dcharacters-103.mount enabled
snap-gnome\x2dcharacters-139.mount enabled
snap-gnome\x2dlogs-37.mount enabled
snap-gnome\x2dlogs-45.mount enabled
snap-gnome\x2dsystem\x2dmonitor-51.mount enabled
snap-gnome\x2dsystem\x2dmonitor-57.mount enabled
snap-gtk\x2dcommon\x2dthemes-319.mount enabled
snap-gtk\x2dcommon\x2dthemes-818.mount enabled
snap-notepad\x2dplus\x2dplus-184.mount enabled
snap-ubuntu\x2dcalculator\x2dapp-20.mount enabled
snap-vlc-770.mount enabled
snap-wine\x2dplatform-74.mount enabled
acpid.path enabled
apport-autoreport.path enabled
cups.path enabled
lines 1-24...skipping...
UNIT FILE STATE
snap-canonical\x2dlivepatch-54.mount enabled
snap-core-4917.mount enabled
snap-core-6259.mount enabled
snap-core-6350.mount enabled
snap-gnome\x2d3\x2d26\x2d1604-70.mount enabled
snap-gnome\x2d3\x2d26\x2d1604-74.mount enabled
snap-gnome\x2dcalculator-180.mount enabled
snap-gnome\x2dcalculator-260.mount enabled
snap-gnome\x2dcharacters-103.mount enabled
snap-gnome\x2dcharacters-139.mount enabled
snap-gnome\x2dlogs-37.mount enabled
snap-gnome\x2dlogs-45.mount enabled
snap-gnome\x2dsystem\x2dmonitor-51.mount enabled
snap-gnome\x2dsystem\x2dmonitor-57.mount enabled
snap-gtk\x2dcommon\x2dthemes-319.mount enabled
snap-gtk\x2dcommon\x2dthemes-818.mount enabled
snap-notepad\x2dplus\x2dplus-184.mount enabled
snap-ubuntu\x2dcalculator\x2dapp-20.mount enabled
snap-vlc-770.mount enabled
snap-wine\x2dplatform-74.mount enabled
acpid.path enabled
apport-autoreport.path enabled
cups.path enabled
accounts-daemon.service enabled
anacron.service enabled
apparmor.service enabled
[email protected] enabled
avahi-daemon.service enabled
bluetooth.service enabled
console-setup.service enabled
cron.service enabled
cups-browsed.service enabled
cups.service enabled
dbus-fi.w1.wpa_supplicant1.service enabled
dbus-org.bluez.service enabled
dbus-org.freedesktop.Avahi.service enabled
dbus-org.freedesktop.ModemManager1.service enabled
dbus-org.freedesktop.nm-dispatcher.service enabled
dbus-org.freedesktop.resolve1.service enabled
dbus-org.freedesktop.thermald.service enabled
dns-clean.service enabled
[email protected] enabled
gpu-manager.service enabled
irqbalance.service enabled
kerneloops.service enabled
keyboard-setup.service enabled
ModemManager.service enabled
network-manager.service enabled
networkd-dispatcher.service enabled
networking.service enabled
NetworkManager-dispatcher.service enabled
NetworkManager-wait-online.service enabled
mert@canavarrlinuxx:~$