Score:0

พาร์ติชันรูทของ Ubuntu ใช้พื้นที่มากเกินไป

ธง ng
osc

ฉันใช้ Linux (Ubuntu 20.04) เป็นครั้งแรกและใช้เป็นดูอัลบูตกับ Windows 10 ฉันค้นคว้าก่อนที่จะเริ่มใช้งาน พบว่ามีพาร์ติชั่นและมันคืออะไร ฉันแบ่งพาร์ติชัน SSD ระหว่างระบบปฏิบัติการทั้งสอง

ฉันพบความทรงจำที่แนะนำก่อนดาวน์โหลดอูบุนตู:

รูท (/): 10-15 GB ฉันสร้างเป็น 20 GB

สลับ: 2 x RAM ดังนั้นสร้าง 16 GB

บูต: 1-2 GB ฉันสร้างเป็น 3 GB

หน้าแรก: สร้างเป็น 40 GB

แต่ฉันมีปัญหา Ubuntu ไม่เริ่มทำงานวันนี้เนื่องจากหน่วยความจำรูทเต็ม !! มีคนบอกว่า 10-15 GB พอแล้ว ฉันเลยสร้างเป็น 20 GB ฉันขยายเป็น 30 GB (ด้วย GParted และ ubuntu บน USB) เพื่อเริ่ม Ubuntu อิ่มแค่ไหน? เกิดอะไรขึ้นกับพีซีหรือ Ubuntu ของฉัน ทำไมมันเต็มเร็วจัง ? ฉันจะทำอย่างไรเพื่อแก้ไข

ฉันได้ลองแล้ว:

sudo apt-get clean, sudo apt autoremove, apt-get autoremove, BleachBit..

ขอบคุณที่อ่าน ขอให้มีความสุขในวันนี้!!

guiverc avatar
cn flag
คุณไม่ได้ให้ข้อมูลเฉพาะเจาะจงมากมาย ระบุว่า [25GB เป็นขั้นต่ำที่แนะนำสำหรับเดสก์ท็อป](https://help.ubuntu.com/community/Installation/SystemRequirements) คุณใช้ระบบเซิร์ฟเวอร์หรือไม่ หรือการติดตั้งขั้นต่ำที่ไม่ได้มีไว้สำหรับเพิ่มแอพ? บูต? จัดสรรพื้นที่ไม่มีเหตุผลเว้นแต่ว่าคุณกำลังเกี่ยวกับ ESP? คุณหรือไม่? แลกเปลี่ยน? คุณกำลังพูดถึง swapfile หรือไม่? หรือสลับพาร์ติชั่นตามที่คุณไม่ได้พูด & มันสำคัญกับปัญหาพื้นที่ (swapfiles หมายถึงต้องจัดสรรพื้นที่เพิ่มเติมให้กับ /)
guiverc avatar
cn flag
ตัวอย่างชีวิตจริง ฉันได้จัดสรร 27GB สำหรับ / ซึ่งสูงกว่าขั้นต่ำที่แนะนำ 25GB ระบบของฉันมี 2.1GB ที่ใช้งานได้ฟรีในปัจจุบัน / ซึ่งเพียงพอสำหรับฐาน Ubuntu ของฉันในการอัปเกรดตัวเอง แต่สแน็ป `telegram-desktop` ของฉันติดอยู่กับเวอร์ชันที่เก่ากว่า เนื่องจากฉันมีพื้นที่ว่างในดิสก์ไม่เพียงพอสำหรับอัปเดต... เช่น แค่แอปเดียวที่ฉันเพิ่มหมายความว่า 27GB นั้นไม่เพียงพอ พิจารณาสิ่งที่คุณจะติดตั้ง (`telegram` *กลายเป็นปัญหาสำหรับฉัน แต่ฉันไม่ยอมให้มันเติบโตอย่างที่แอปมี และฉันรู้ว่าฉันไม่ได้เห็นผู้ใช้รายอื่นแสดงความคิดเห็นเกี่ยวกับเรื่องนี้เมื่อประมาณ 2 วันที่แล้วเท่านั้น *)
Score:3
ธง ng

You overpartitioned and did not give enough room for your root partition. Whatever research you did was either outdated or bad.

The minimum recommended space for Ubuntu Desktop is 25GB and has been for several years. 20GB is insufficient. Of course, it would be wise to allocate more than the bare minimum.

You do not need a swap partition. Ubuntu has used a swapfile by default, also for several years. There is no need to create a separate partition for swap.

3GB is overkill for a boot partition. You also do not need to explicitly create a separate boot partition.

You do not need a separate /home partition. Ages ago, it was easier to create a separate /home so that you could use the same home partition on different Linux distributions and/or so you could wipe and reinstall the OS and reuse the same /home. Due to the proliferation of Linux software that stores configuration files in the home folders, this is no longer as easy as it used to be. It's not recommended to create a separate /home partition and the default installation does not do this.

The default installation does not install a separate /boot, /home, or /swap because the majority of Ubuntu users do not have any use for it. If you are new to Linux or Ubuntu and you do not have a specific use case for these separate partitions, there's no need to diverge from the default installation options.

Partitions place rigid, inflexible limitations on how your space is used. Creating lots of unnecessary partitions "traps" space on your drive into sectors that are relatively inaccessible to other partitions.

Unfortunately, running out of space on your root file system is often fatal and requires a reinstall when that happens. This is because your system and software effectively "suffocate" and are unable to perform system critical writes when needed, due to lack of space.

If I were you, I would use the "Disks" application in a live session (Try Ubuntu) to delete all of your Ubuntu partitions. This will effectively delete all data on those partitions. Then, with unpartitioned free space, begin the installation and choose the guided "Install alongside Windows" option. You will have plenty of space because you will have nearly 80GB of space for Ubuntu that can be used flexibly instead of locked in a rigid inflexible partition scheme.

osc avatar
ng flag
osc
ขอบคุณสำหรับคำตอบ.

โพสต์คำตอบ

คนส่วนใหญ่ไม่เข้าใจว่าการถามคำถามมากมายจะปลดล็อกการเรียนรู้และปรับปรุงความสัมพันธ์ระหว่างบุคคล ตัวอย่างเช่น ในการศึกษาของ Alison แม้ว่าผู้คนจะจำได้อย่างแม่นยำว่ามีคำถามกี่ข้อที่ถูกถามในการสนทนา แต่พวกเขาไม่เข้าใจความเชื่อมโยงระหว่างคำถามและความชอบ จากการศึกษาทั้ง 4 เรื่องที่ผู้เข้าร่วมมีส่วนร่วมในการสนทนาด้วยตนเองหรืออ่านบันทึกการสนทนาของผู้อื่น ผู้คนมักไม่ตระหนักว่าการถามคำถามจะมีอิทธิพลหรือมีอิทธิพลต่อระดับมิตรภาพระหว่างผู้สนทนา