LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-04-2004, 02:57 PM   #1
Valhalla
Member
 
Registered: Nov 2004
Location: Atlanta
Distribution: Gentoo 2005.1, Ubuntu 5.10
Posts: 267

Rep: Reputation: 30
Swap Partitions in SUSE 9.1


I know SUSE created a swap partition during installation, but where exactly is it, cuz theres nothing labeled swap that I can find.
 
Old 12-04-2004, 04:09 PM   #2
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
swap would be a seperate partition, not a filesystem on / try
Code:
sfdisk -l
if you have sfdisk this will list the partition table and one should be labeled swap here's the output on one of my boxes...
[root@linuxtorrents root]# sfdisk -l

Disk /dev/hdc: 4092 cylinders, 16 heads, 63 sectors/track
Units = cylinders of 516096 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/hdc1 * 0+ 202 203- 102280+ 83 Linux
/dev/hdc2 203 3051 2849 1435896 83 Linux
/dev/hdc3 3052 4091 1040 524160 82 Linux swap <<----swap partition
/dev/hdc4 0 - 0 0 0 Empty

Hope this helps,
linux_terror
 
Old 12-04-2004, 05:13 PM   #3
Valhalla
Member
 
Registered: Nov 2004
Location: Atlanta
Distribution: Gentoo 2005.1, Ubuntu 5.10
Posts: 267

Original Poster
Rep: Reputation: 30
Ok, mine appears as /dev/hda6 Linux Swap
but how do I get files out of it from windows?
 
Old 12-04-2004, 05:28 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
You don't. Swap is the same thing as windows virtual memory. It is only used by the kernel to swap unused data from RAM to hard drive.

The best method IMO to share files between the two OS's is a FAT32 partition.

Last edited by michaelk; 12-04-2004 at 05:31 PM.
 
Old 12-04-2004, 05:38 PM   #5
bornhj
Member
 
Registered: Sep 2004
Location: Canberra, Australia
Distribution: Fedora Core 3, Ubuntu Hoary, Slack 10.1
Posts: 120

Rep: Reputation: 15
It sounds like you are confused as to the purpose of a swap partition.

A swap partition is the equivilent of a pagefile (virtual memory) on Windows. When you have too much info in RAM, the system starts swapping it out to virtual memory, which is actually on a hard drive.

The swap partitiion has a 'swap' file system and hence can not be read by Windows.

If you want to be able to swap files between OS's, create a FAT32 partition (in Windows) or a vfat partition (in Linux). This can be read by both Linux and Windows natively.

[EDIT: MichaelK beat me to it ]
 
Old 12-04-2004, 08:49 PM   #6
Valhalla
Member
 
Registered: Nov 2004
Location: Atlanta
Distribution: Gentoo 2005.1, Ubuntu 5.10
Posts: 267

Original Poster
Rep: Reputation: 30
Doh! Guess If I want to "swap" in the manner I'm speaking of I would have to repartition my harddrive and add a fat32?
 
Old 12-04-2004, 09:02 PM   #7
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Quote:
Originally posted by Valhalla
Doh! Guess If I want to "swap" in the manner I'm speaking of I would have to repartition my harddrive and add a fat32?
Yes.
 
  


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
2 swap partitions librano Linux - Newbie 6 08-25-2004 01:55 PM
eight swap partitions? linuxtesting2 Linux - General 7 07-20-2004 06:15 AM
/ and swap partitions (but want more) How to? acummings Slackware 3 07-17-2004 12:33 AM
Do I need 2 swap partitions? CloudBuilder Linux - Newbie 2 11-14-2003 03:09 PM
swap partitions rakemup Linux - Software 5 12-10-2001 09:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:33 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
Open Source Consulting | Domain Registration