LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 07-02-2004, 08:00 AM   #1
kristof
LQ Newbie
 
Registered: Jul 2004
Posts: 5

Rep: Reputation: 0
problem creating swap partition during installation


Hello there,
I am having problems to create a swap partition during redhat 9 installation.
This is my partition:

/boot 75MB ext3
/ 2800MB ext3
/home 1400MB ext3
/swap 300MB ext2

I am then told that I should create a swap partition.
I really don't get it.
Thanks for helping me.
kristof
 
Old 07-02-2004, 08:05 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,939

Rep: Reputation: 129Reputation: 129
The swap partition must be Linux 82 - Linux swap, not ext2

edit: I forgot to add - remove that present /swap directory first
by issuing, as root,
# rm -rf /swap
and afterwards create your swap.

Or maybe you haven't created it yet since you say whilst installing.

Welcome to LQ!

Last edited by Bruce Hill; 07-02-2004 at 08:10 AM.
 
Old 07-02-2004, 08:11 AM   #3
kristof
LQ Newbie
 
Registered: Jul 2004
Posts: 5

Original Poster
Rep: Reputation: 0
I see but what shall i type in mounting point? And there are only two options: ext2 and ext3?
thanks
 
Old 07-02-2004, 08:24 AM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,939

Rep: Reputation: 129Reputation: 129
Quote:
Originally posted by kristof
I see but what shall i type in mounting point? And there are only two options: ext2 and ext3?
thanks
Something's not right with this picture. I only used RedHat a month or so, and can't remember
how that install goes. However, there should be some documentation on installing it; and the
installer should understand how to install a swap partition. I'm not sure I can explain it, but swap
doesn't actually have a "mount point," which is why I say something is wrong here.

Have you actually got it installed yet? I should think not without a swap partition. If you don't,
is there a way you can go back in the installation procedure, or start over? Because you really
need that swap partition. To Linux, swap is virtual memory. When your processes use all of the
physical memory you have, then it pages to swap, or virtual memory. Therefore, swap has no
need of a "mount point," as it's not really even "mountable."
 
Old 07-02-2004, 08:30 AM   #5
kristof
LQ Newbie
 
Registered: Jul 2004
Posts: 5

Original Poster
Rep: Reputation: 0
shall i just leave free space and it will automatically know that it is reserved for swap partition?
I really dont get it
kristof
 
Old 07-02-2004, 08:36 AM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,939

Rep: Reputation: 129Reputation: 129
Do you have documentation that tells you how to install? Is there a Help button
somewhere? I'm not familiar with acutally "installing RedHat," but I do think the
installer knows to create a swap partition. If nothing else, you can start over
knowing you need to create a swap partition. Make it 512MB.
 
Old 07-02-2004, 09:20 AM   #7
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,939

Rep: Reputation: 129Reputation: 129
read this document

http://www.redhat.com/docs/manuals/l...install-guide/
 
Old 07-02-2004, 11:44 AM   #8
kristof
LQ Newbie
 
Registered: Jul 2004
Posts: 5

Original Poster
Rep: Reputation: 0
thanks Chinaman,
You are right, the installation program knows what is a swap partition (thanks god) and it can be selected in graphical installation. I just have problems with the mouse that is not centered and i cant access the menu for some reasons. But every thing is alright now (appart from the mouse).
thanks a lot
kristof
 
Old 07-02-2004, 11:48 AM   #9
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,939

Rep: Reputation: 129Reputation: 129
Don't know if I could help, but what do you mean by "the mouse is not centered?"
and what menu can you not access...
 
Old 07-02-2004, 01:20 PM   #10
kristof
LQ Newbie
 
Registered: Jul 2004
Posts: 5

Original Poster
Rep: Reputation: 0
well the mouse points to a location which was not the same location as the mouse's icon. At first I was just navigating with the tabs and arrows and couldnot access the file system menu. It is very silly I know but it stopped me for a couple of hours.
My problem now is that I need a floppy to boot redhat. I thought I had pointed to the right place but apparently not.
what is the command to view partition? fdisk does not work...
kristof
 
Old 07-02-2004, 08:05 PM   #11
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,939

Rep: Reputation: 129Reputation: 129
As root issue "fdisk -l" and if that doesn't work use "/sbin/fdisk -l"
bash-2.05b$ man fdisk
Quote:
List the partition tables for the specified devices and then exit. If no devices
are given, those mentioned in /proc/partitions (if that exists) are used.
For a human readable printout of your mounted filesystems issue "df -h"
bash-2.05b$ man df
Quote:
df reports the amount of disk space used and available on filesystems.
-h, --human-readable - Append a size letter such as M for binary megabytes
(`mebibytes') to each size.
I don't have a clue about that mouse issue. Don't even know how to understand
"the mouse points to a location which was not the same location as the mouse's icon."

As far as booting RedHat, if you're using GRUB I can't help you there, either. Never
could understand GRUB myself - just use LILO. It's straight forward IMO. But you
should also be able to find plenty of information about setting up GRUB.
 
Old 07-03-2004, 01:25 PM   #12
bmfmyth
Member
 
Registered: Jul 2004
Location: Upper Michigan
Distribution: RedHat 9
Posts: 31

Rep: Reputation: 15
you don't make a /swap partition, you do it like this

/
/boot
/home
then leave the rest as free space and you should be prompted to make a swap partition or you can make one but it's just swap there isn't a /swap
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a swap partition on an old pc, WITHOUT using linux... TheMusicGuy Linux - General 17 08-09-2004 12:43 AM
Creating a swap partition thejackal13 Linux - Newbie 6 10-30-2003 07:03 PM
Creating a swap partition dsuniln Linux - Newbie 9 06-30-2003 12:18 PM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 08:45 AM
installation - partition / swap problem catch Linux - Software 3 03-10-2002 04:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration