LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-08-2004, 10:13 PM   #1
Angryguy
LQ Newbie
 
Registered: Jun 2004
Posts: 8

Rep: Reputation: 0
Partitioning Problems


I built myself a new Athlon64 computer over the summer, and had partially partitioned it. I apparently didn't research how to partition a drive well enough (meaning I was just guessing until after something went wrong and I started researching) however, and now I can't get the remaining free space partitioned since I've reached the limit of primary partitions.

I've got a 120 GB Drive. The partitions, as reported in Partition Magic 8.0 are:
C: FAT32 - 20 GB Primary (WinXP Pro)
* Extended - 20 GB
D NTFS 20 G - Logical (Win XP-64)
* Linux EXT3 - 102MB- Logical (Linux= Fedora Core 2)
* Linux EXT3 - ~20 GB - Primary
* - Free Space - 40 GB
* - LinuxSwap - 1 GB? Primary
* - Free Space - 13 GB

I want to partition the remaining free space into 2 sections. A 10-15 GB FAT32 (for sharing files between Window/Linux) and the remaining 40 or so as NTFS (for large video files). I've reached the maximum number of primary partitions allowed on the drive however, and the free space is at the end of the drive where I can't move it into the existing logical partition.

I've tried using partition Magic 8 to create the new partitions by moving the existing partitions around, but it is unable to read/copy/move the Linux EXT3 partitions, although I think it did succeed in moving the Linux Swap Partition. Is there perhaps some way to move/re-create the Linux Swap position as an Extended Partition?

Any ideas on how I can get myself out of this mess without re-installing Linux? I'm probably goign to reinstall it eventually anyway, but I'd rather do so later on when I have the time to play around with it and try a different distribution in it's place.

If I do take the simple approach and redo all but the first 2 partitions (aka re-installing Linux) would I have to uninstall the Lilo Bootloader for Linux first, and if so how?


Thanks
 
Old 09-09-2004, 12:14 AM   #2
Tamsco
Member
 
Registered: Jul 2004
Location: 1st Brillouin Zone
Distribution: Gentoo (not ricer Gentoo)
Posts: 165

Rep: Reputation: 30
What about fdisk? From command type "fdisk /dev/hd whatever" and you should be able to create new partitions.

You can then format them with mke2fs (which will put ext2 or ext3 on it)
Or boot into Winblows and have Partition Magic put the file system on the partitions.

As far as Lilo goes, any new install would either rewrite your MBR and install a bootloader (Fedora, Mandrake, Suse, Xandros, etc.) or have you configure the bootloader yourself (Debian, Slack, gentoo)
 
Old 09-09-2004, 10:59 AM   #3
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
You would need to extend the extended partition in PM to include the free space, then make new logical partitions from the free space.

As long as the free space is outside the extended partition (the primary partition that contains the logical partitions), you can only make primary partitions from it (and since you can only have four per drive, you are out of luck on that count, since you've hit your limit).

Hope this helps.
 
Old 09-09-2004, 04:36 PM   #4
Angryguy
LQ Newbie
 
Registered: Jun 2004
Posts: 8

Original Poster
Rep: Reputation: 0
That's what I thought. The Linux Swap Partition on the drive is the last primary partition on the drive however. Is there anyway that I can simply convert that into an extended partition?

If the Swap Partition is what I think it is, then wouldn't there be no actual/needed data stored on that partition? If that's the case, would Fedora accept it (without giving errors) if I deleted the Swap Partition (LinuxSwap) in it's current location, and re-create it, with the same size, as a logical partition? And if I did do that, could Partition Magic create a new SwapPartition or can I do it through Fedora, or what?

Thxs again.

[Edit:]
From what I've managed to find online, it seems that ti should definetly be possible for me to delete the existing Swap Partition (as Primary) and create a new one (as Logical). The config file in linux: /etc/fstab is apparently where the information/configuration for the Swap file is. I can't seem to find out however what will happen if I delete the swap partition without changing that file, and whether or not it'll automatically detect the new swap partition when I create it. Should I edit that file first, or fix it after and hope for the best?

[Update:]
Ok, looks like I'm going to be left with no choices but to reinstall both Linux and XP-64 Beta. I can delete the Swap Partition, but as I already have an extended partition at the beggining of the drive (in front of partitions that can't be moved) that essentially gets me nowhere. Thxs neway. Maybe when I re-install I'll give another Linux Distribution a try (currently using FC2)

Last edited by Angryguy; 09-10-2004 at 01:31 AM.
 
  


Reply



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
Problems Partitioning HD acidtone Slackware - Installation 9 02-20-2006 11:34 AM
Re-partitioning problems Massif Linux - Newbie 2 05-03-2005 12:35 AM
Partitioning problems Oholiab Slackware - Installation 6 03-26-2005 08:04 PM
Partitioning problems...:( Slayer097 Linux - Newbie 6 12-29-2004 03:59 PM
Partitioning Problems aldoman Linux - General 20 06-29-2003 05:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:15 PM.

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