Fedora Linux Support Community & Resources Center
  #1  
Old 25th February 2006, 05:20 PM
terry_g's Avatar
terry_g Offline
Registered User
 
Join Date: Jun 2005
Location: Terrace B.C. Canada
Posts: 215
no swap file

I just did an install of fedora 4 and every thing went well except no swap file was created during the install. I chose automaticly partition and personal desktop. I've done a lot of fedora installs all previous ones were dual boot with windows after I install windows I use partition magic to creat and format the fedora partitions. This is the first time I used automatic partitioning.
This is the hardware, Asus a7v33-x mobo, athlon xp1800 processor, 512 megs of ddr333 ram, 20gig maxtor
hard drive.
is a swap file necessary is 512 megs of ram enough the computer will be used for internet, downloading music, and internet chat.
Is there a way I can create a swap file using the install disk, or is there a better way?
I am building this computer for a freind and he has never used linux and I want it to work well.
Thanks Terry
Reply With Quote
  #2  
Old 25th February 2006, 05:58 PM
tomcat's Avatar
tomcat Offline
Registered User
 
Join Date: Aug 2005
Location: EU, Germany
Age: 39
Posts: 1,185
Are you absolutely sure that the swap partition was not created? A known bug was that the fstab entry for swap was wrong and writing a correct entry fixed this and activated swap.

Swap files can be created later but it is a little bit of work if you don't have unallocated space left on your hd.
__________________
Powered by Fedora & CentOS | Windows-free since 2002
Reply With Quote
  #3  
Old 25th February 2006, 06:03 PM
Tashiro Offline
Retired Community Manager
 
Join Date: May 2004
Posts: 1,149
Hi Terry,

Try this as root at the CLI
Code:
fdisk -l
To print out your partition table, so you can see what's created.

Tashiro
__________________
Respect the FedoraForum.org guidelines
Reply With Quote
  #4  
Old 25th February 2006, 06:27 PM
terry_g's Avatar
terry_g Offline
Registered User
 
Join Date: Jun 2005
Location: Terrace B.C. Canada
Posts: 215
when I isseu this command I get:
[root@localhost terry]# /sbin/fdisk -l

Disk /dev/hda: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 26 104422+ 83 Linux
/dev/hda3 27 2434 19342260 8e Linux LVM
[root@localhost terry]#

No swap partition
Reply With Quote
  #5  
Old 25th February 2006, 06:41 PM
taurus Offline
Registered User
 
Join Date: Mar 2005
Location: No Where...
Posts: 167
It could be because you use that stupid Partition Magic and you told it to convert those partitions to Linux, 83, while swap space has a value of 82... So, erase everything and repartition your drive over again, using FC not PM!!!
Reply With Quote
  #6  
Old 25th February 2006, 06:43 PM
brunson Offline
Registered User
 
Join Date: Jun 2005
Location: Westminster, Colorado
Posts: 2,304
By default FC4 swaps to LVM. What does "swapon -s" say?
__________________
Registered Linux User #4837
411th in line to get sued by Micro$oft
Quote:
Basically, to learn Unix you learn to understand and apply a small set of key ideas and achieve expertise by expanding both the set of ideas and your ability to apply them - Paul Murphy
Reply With Quote
  #7  
Old 25th February 2006, 09:39 PM
terry_g's Avatar
terry_g Offline
Registered User
 
Join Date: Jun 2005
Location: Terrace B.C. Canada
Posts: 215
I used disk druid on the fedora core 4 install cd not partition magic to partition the drive.

this line is from my /etc/fstab
/dev/VolGroup00/LogVol01 swap swap defaults 0 0

this is the output from the swapon -s command
[root@localhost terry]# /sbin/swapon -s
Filename Type Size Used Priority/dev/mapper/VolGroup00-LogVol01 partition 1048568 0 -1
[root@localhost terry]#
Reply With Quote
  #8  
Old 25th February 2006, 09:42 PM
brunson Offline
Registered User
 
Join Date: Jun 2005
Location: Westminster, Colorado
Posts: 2,304
So, you have a swap partition, but it's a Logical Volume. That's the way it's supposed to be in FC4.
__________________
Registered Linux User #4837
411th in line to get sued by Micro$oft
Quote:
Basically, to learn Unix you learn to understand and apply a small set of key ideas and achieve expertise by expanding both the set of ideas and your ability to apply them - Paul Murphy
Reply With Quote
  #9  
Old 25th February 2006, 09:54 PM
terry_g's Avatar
terry_g Offline
Registered User
 
Join Date: Jun 2005
Location: Terrace B.C. Canada
Posts: 215
Back in the redhat 8.0 days you were supposed to create a swap partition, old habits die hard.
thanks for your help everyone
Reply With Quote
Reply

Tags
file, swap

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
swap file 2handband Using Fedora 2 4th January 2009 06:47 PM
Swap file and complete removal of swap partition RVF16 Using Fedora 9 20th November 2008 10:32 PM
Swap file Spats Installation and Live Media 1 31st July 2005 01:22 PM
Swap file gcblig Using Fedora 6 21st February 2005 03:25 AM


Current GMT-time: 23:02 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat