LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   problem creating swap partition during installation (https://www.linuxquestions.org/questions/red-hat-31/problem-creating-swap-partition-during-installation-200286/)

kristof 07-02-2004 08:00 AM

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

Bruce Hill 07-02-2004 08:05 AM

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!

kristof 07-02-2004 08:11 AM

I see but what shall i type in mounting point? And there are only two options: ext2 and ext3?
thanks

Bruce Hill 07-02-2004 08:24 AM

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."

kristof 07-02-2004 08:30 AM

shall i just leave free space and it will automatically know that it is reserved for swap partition?
I really dont get it
kristof

Bruce Hill 07-02-2004 08:36 AM

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.

Bruce Hill 07-02-2004 09:20 AM

read this document
 
http://www.redhat.com/docs/manuals/l...install-guide/

kristof 07-02-2004 11:44 AM

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

Bruce Hill 07-02-2004 11:48 AM

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...

kristof 07-02-2004 01:20 PM

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

Bruce Hill 07-02-2004 08:05 PM

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.

bmfmyth 07-03-2004 01:25 PM

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


All times are GMT -5. The time now is 08:54 AM.