Wednesday, September 23, 2009

[LINUX_Newbies] Need more swap

 

I think I need more swap space. Can I add free space to my swap partition without without destroying the data partition?

I have a 1.5 TB disk, with 650 GB for the OS as sda1, and a 2 GB swap partition as sda5.

Device Boot Start End Blocks Id System
/dev/sda1 * 1 90593 727688241 83 Linux
/dev/sda2 90594 91201 4883760 5 Extended
/dev/sda5 90594 91201 4883728+ 82 Linux swap / Solaris

/etc/fstab
# / was on /dev/sda1 during installation
UUID=58cbf81c-a944-4582-b04c-6245812ceeb3 / ext3 relatime,errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=2b274bf9-3d42-4306-b88c-22b503f77dff none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0

I would think I would boot from the live CD, use fdisk to enlarge sda5, but I don't see an option to add space in the fdisk menu. So what tool would I use for this?

Andrew

P.S. - sda2 and sda5 appear to be the same section of disk. Why two names and partition types for that slice?

__._,_.___
To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.
Recent Activity
Visit Your Group
Give Back

Yahoo! for Good

Get inspired

by a good cause.

Y! Toolbar

Get it Free!

easy 1-click access

to your groups.

Yahoo! Groups

Start a group

in 3 easy steps.

Connect with others.

.

__,_._,___

No comments:

Post a Comment