Re: Enlarging the swap partition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 19-07-26 10:33:49, Robert Moskowitz wrote:
I erred in setting up my F30 system.  Since the notebook has 4GB
memory, the install set up swap of 4GB.

This is not enough.
 ...

So the question for now is can I shrink partition 4-5
 ...
and expand swap, or is this just too risky and just go with more
memory.

Use gparted from a live image (DVD, USB stick).  Shrink 5 and then
make a new 6 of type swap, and add it to fstab so there are 2 swap
partitions -- both will be used.  Hibernate will only use one, but
the image is compressed, so chances are good that the first one will
be enough.

You can instead shrink 5 and then 4 and move them up and then
enlarge 3, but it will take a lot longer.

 ...
# parted /dev/sda

(parted) print all
Model: ATA WDC WDBNCE5000PN (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type      File system     Flags
 1      1049kB  1075MB  1074MB  primary   ext4            boot
 2      1075MB  4576MB  3501MB  primary   linux-swap(v1)
 3      4576MB  79.7GB  75.2GB  primary   ext4
 4      79.7GB  500GB   420GB   extended
 5      79.7GB  500GB   420GB   logical   ext4

# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda3        69G   19G   47G  29% /
/dev/sda1       976M  222M  688M  25% /boot
/dev/sda5       385G  224G  142G  62% /home

--
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
      '                              <http://www.georgeanelson.com/>
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux