LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-18-2003, 12:30 PM   #1
brutal_brad
LQ Newbie
 
Registered: Sep 2003
Posts: 24

Rep: Reputation: 15
partitioning for linux


I'm having some problems re-partitioning my existing hardrive in preperation for a linux install. Apparantly Windows places a file at the last cylinder on the hard-drive ( a swapfile) and it cannot be partitioned until this has been removed.

I'm currently using windows me - does anyone know what this file is called so that I can find it and remove it! Its been suggested that it might be index or mirror but I can't find these on my harddrive
 
Old 09-18-2003, 12:42 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
the mandrake linux installer will let you resize your current windows partition and install linux on the new free space... i think a lot of other distros let you do this during install but i'm not sure... anyways, as long as you scandisk and defrag your windows partition before starting to install linux, everything should work smoothly...

http://www.mandrakelinux.com/en/
 
Old 09-18-2003, 12:45 PM   #3
brutal_brad
LQ Newbie
 
Registered: Sep 2003
Posts: 24

Original Poster
Rep: Reputation: 15
im only have red-hat and this won't do it for me - i have defragged the hard-drive and this wont remove the swap file.
I've only used fips to try and partition the drive and this claims that I cannot use the free-space until the hidden windows file is removed
 
Old 09-18-2003, 01:11 PM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
okay, how about if you back-up you windows partition to another drive and then just create an empty windows partition on your current drive when you install red hat? then all you have to do is restore the backup to the windows partition and make sure it's in lilo/grub and stuff... (this might imply formatting the windows partition... if you have win2k or winxp then you'll most likely have to use the "fixboot" thinggy on the recovery console on the cd to make it okay with the new "disk geometry"...
 
Old 09-18-2003, 01:17 PM   #5
brutal_brad
LQ Newbie
 
Registered: Sep 2003
Posts: 24

Original Poster
Rep: Reputation: 15
thanks - i may give that a go if all else fails - sounds a bit complicated for a newbie! only one way to learn tho...
 
Old 09-18-2003, 01:19 PM   #6
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
http://www.ale.org/archive/ale/ale-2.../msg00024.html
 
Old 09-18-2003, 01:26 PM   #7
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
it's only a suggestion, but i really believe you should try mandrake linux... it'll make the life of a newbie much easier and you can always "move up" to red hat later... i put "move up" between quotes because mandrake is red hat based and you don't just get compatibility, you actually get most of the great features... and then some. for example, the topic of this thread... with mandrake the installer would take care of resizing windows for you... EVEN IF YOU HAD AN NTFS PARTITION.

http://www.mandrakelinux.com/en/
 
Old 09-18-2003, 03:31 PM   #8
nhs
Member
 
Registered: Aug 2003
Location: Edinburgh, Scotland
Distribution: Gentoo
Posts: 246

Rep: Reputation: 30
I have never heard of needing to delete the swap file, however I believe it is called win386.swp. Deleting it shouldn't hurt.
 
Old 09-29-2003, 09:11 AM   #9
beginnerx
Member
 
Registered: Sep 2003
Posts: 35

Rep: Reputation: 15
Hi Brad,
I'm a newbie too, but your partitioning situation sounds familiar. If you are using a floppy startup disk (easily made from one of the tabs on Windows ME disk cleanup), then partitioning the entire drive should get rid of the SWAP file very handily. Fdisk.com and the "Radified" site it referred me to, seemed to explain this pretty well. You will delete the old partitions, and then create a primary, extended and logical partition.

I got through all that, but then when I exitted from fdisk, the A prompt would not accept any format commands.

Any comments on this welcome.

beginnerx
 
Old 09-29-2003, 09:45 AM   #10
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
To get rid of the swap file, disable Virtual Memory Management in Windows. You can find the menu for this by right-clicking My Computer. I think it's on the last tab. I think this is only a problem with fips, since it doesn't move any data when it resizes (that's why you defrag before you use it). Parted (another resizer) moves data out of it's way by itself. When I used Parted to resize, I didn't need to disable the swap.
 
Old 10-02-2003, 07:06 PM   #11
zetatios
LQ Newbie
 
Registered: Oct 2003
Posts: 1

Rep: Reputation: 0
I have windows Me. Mandrake cannot resize, or install into, my windows partition - siting that it is too fragmented. I run the windows dfrag, but the same message comes up. Help!
 
Old 10-03-2003, 02:59 PM   #12
froZenX
Member
 
Registered: Sep 2003
Distribution: Fedora, Mandrake 9.2, dare I say a little of M$ Longhorn? Ha.
Posts: 52

Rep: Reputation: 15
use parition magic 8, it will occasionally make the swap somewhere in the middle of the partition (i was lucky one time to have it in the front )
 
  


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
Partitioning without Linux subnet_rx Linux - General 4 12-25-2004 12:17 PM
Partitioning for Linux jaybny Linux - Newbie 4 10-20-2004 05:00 PM
Linux Partitioning darwinboy Linux - Newbie 4 08-13-2004 08:11 AM
Partitioning with Linux teyesahr Linux - Newbie 3 07-30-2003 05:32 AM
partitioning in linux! tRaVis Linux - Newbie 1 03-29-2001 11:39 AM


All times are GMT -5. The time now is 11:17 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