Quick Linux Question 9 replies

Please wait...

marvinmatthew

Tech is where you'll find me..

50 XP

13th April 2005

0 Uploads

3,627 Posts

0 Threads

#1 12 years ago

Do I still need my Linux Swap partition after I install Linux?

Damn fachist HP game me a "recovery partition" instead of a CD, so I have to keep the 'recovery partition,' my main WinXP partition, the Ubuntu Linux partition, and the swap-file partition on my HD. And windows limits you to four partitions, and I'd like to reinstall Win98.




marvinmatthew

Tech is where you'll find me..

50 XP

13th April 2005

0 Uploads

3,627 Posts

0 Threads

#2 12 years ago

*Bump*

Anyone have any ideas/responces?




Freyr VIP Member

A2Files Staff

46,875 XP

6th February 2005

11 Uploads

4,275 Posts

0 Threads

#3 12 years ago

Windows dosen't limit you to 4 partitions, I have 16 partitions on 2 hard drives (14fat32,1 reiser, 1 linux swap drive) and both 98SE and XP have run without problems.

I don't know for sure, but I am fairly certain you need the swap drive.

To reinstall 98SE just stick the CD in and run setup. (assuming your drives are formatted to fat32, if they are NTFS you would need to delete the NTFS partition and create a fat32 one. Doing this will lose all information stored on that partition)

If your lucky and the drive is formatted to fat32 already don't install to the same drive as your winXP installation if your planning on using XP again, windows has issues with 2 operating systems being installed on one hard drive.

oh, and if your backup disc is NTFS and you install 98 then I don't think you would be able to access the backup disc to reinstall XP later as 98 can't read NTFS.




Bs|Archaon

I would die without GF

50 XP

15th March 2006

0 Uploads

5,910 Posts

0 Threads

#4 12 years ago

You can only have 4 primary partitions on a single drive.

Yes, you do need the swap partition after installing. IIRC if you use the recovery partition, it will wipe everything as it returns your PC to it's factory state. So using it wouldn't be something I'd want to do, so I wouldn't have any trouble removing it.




Kilobyte

What does the Fox say?

69,060 XP

23rd November 2002

0 Uploads

6,468 Posts

0 Threads

#5 12 years ago
Bs|Archaon So using it wouldn't be something I'd want to do, so I wouldn't have any trouble removing it.

Except for the lack of a CD,...

Most companies will ship you an XP CD upon request. You have to pay the shipping, and other costs. It shouldn't be more than $20 USD.

The SWAP partition is not needed. The swap does two things, 1 it frees up RAM memory for programs, speeding up the OS. 2 it provides a safety net, just in case you use up all your RAM. Linux will seem like it has frozen when all of the RAM is used up.

Check section 6 of the Ubuntu Swapfaq file wiki. https://help.ubuntu.com/community/SwapFaq




Bs|Archaon

I would die without GF

50 XP

15th March 2006

0 Uploads

5,910 Posts

0 Threads

#6 12 years ago
Monster_userExcept for the lack of a CD,... Most companies will ship you an XP CD upon request.

Well I know, what I meant was that I'd rather put up with any problems XP has than reinstall 98 and Linux AND lose the data on my PC.

I didn't know the swap was optional, but it's probably a good thing to keep anyway. Is it possible to have the swap file and something else on a logical drive, to get around the 4 partition limit?




Kilobyte

What does the Fox say?

69,060 XP

23rd November 2002

0 Uploads

6,468 Posts

0 Threads

#7 12 years ago

Yes it is possible to put the SWAP on a Logical partition. I have my SWAP partition on one. Linux will run off of a Logical partition. Unfortunately, a SWAP partition is too small to use for multiple Logical partitions.

Fortunately, I do have another solution.

Monster_userCheck section 6 of the Ubuntu Swapfaq file wiki. https://help.ubuntu.com/community/SwapFaq

I forgot to mention. That is to create a SWAP file, which is located on the Linux partition, as opposed to a seperate partition. It is not the prefered method, since it is slightly slower...




Freyr VIP Member

A2Files Staff

46,875 XP

6th February 2005

11 Uploads

4,275 Posts

0 Threads

#8 12 years ago
Bs|ArchaonYou can only have 4 primary partitions on a single drive.

Yeah, but you only need a primary partition to boot a OS from.

You can set up an extended partition and then logical partitions under that for an additional 24 partitions.

And I am reasonably certain it does work, seeing as how I am typing this from a computer set up like that.




Bs|Archaon

I would die without GF

50 XP

15th March 2006

0 Uploads

5,910 Posts

0 Threads

#9 12 years ago

Yes, it does work like that. What I was concerned about was that if had Linux, 98, XP and a recovery partition then that's all 4 of his partitions gone. That makes it kinda hard to then have an extended partition, doesn't it. :)

Though it seems to be irrelevant now as monster said you can run Linux from one, which would give him space for more partitions as you said.




marvinmatthew

Tech is where you'll find me..

50 XP

13th April 2005

0 Uploads

3,627 Posts

0 Threads

#10 12 years ago

Very nice. I appreciate the link you provided. I'll give it a try.

And yeah, my delema is that I need another primary partition so that I can boot another OS from my hard drive.

EDIT- Not to mention that I don't want to format my recovery partition. It makes formating a breeze.