There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop dma driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express pio problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
UNIX/Linux
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Operating Systems > UNIX/Linux >
linux partitioning


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
mobo's Avatar
Computer Specs
Distinguished Member with 16,755 posts.
 
Join Date: Feb 2003
Location: Canada
Experience: Bloody Genius
13-Jun-2003, 02:46 PM #1
linux partitioning
recently i installled mandrake on my system which already had 98 and xp. the drive had been previously set up as 5g for 98, 10 g for swap, 5 gig for linux and 10 gig for xp. the installation seemed to go fine until a couple weeks later when i tried to access the partition table again with partition majic.What it appears is that linux seems to have taken a bit of the xp partition which was next to it. i read somewhere that linux likes to have its system files separate from the os itself. Is that what happened here and what would be a good way to partition in the future ?
__________________
Firefox
codejockey's Avatar
Senior Member with 1,410 posts.
 
Join Date: Feb 2002
13-Jun-2003, 04:56 PM #2
Not sure I understand everything you posted (which means I don't understand ), so please bear with me as I ask my questions:

(1) what makes you think that Linux is encroaching in the XP partition? Is there an overlap in the partition table?

(2) have you had problems accessing either the XP or Linux filesystem? If so, more info appreciated.

(3) although it's true that many Linuxes have a separate /boot directory (I take it this is what you mean when you mention system files), this directory can either be in its own partition or part of the root partition without a problem. AFAIK, there's no requirement to place / and /boot in separate partitions (although some distributions do this by default).

(4) what specific problems are you having with the installation(s)?

As far as partitioning in the future, I'd suggest reducing the size of your (Linux) swap partition. As a rough guide, your swap partition needs to be no larger than 2 times your physical memory (on my system, for example, my swap partition is only 130 Mbytes, roughly 1/3 of my physical memory).

Hope this helps.
__________________
The slowest component still sits at the keyboard.
mobo's Avatar
Computer Specs
Distinguished Member with 16,755 posts.
 
Join Date: Feb 2003
Location: Canada
Experience: Bloody Genius
13-Jun-2003, 07:07 PM #3
thank you for responding:
yes there was an overlap in the partitions but there was no problem entering any system on any partition. when trying to use partition magic either the cd verssion or the floppy cd version it would tell me there was an overlap and therefore partition magic would not allow me to do anything . It would not even as much as show me the partitions(just the error message).I tried deleting the non dos partition via fdisk but it as well would not allow. What was done to the drive was write zeros to the drive thus wiping it clean...

here is where i am now : 5 gig for 98 and 25 gig for xp but i would like to install red hat this time but want to make sure there arent any problems.
__________________
Firefox
mobo's Avatar
Computer Specs
Distinguished Member with 16,755 posts.
 
Join Date: Feb 2003
Location: Canada
Experience: Bloody Genius
13-Jun-2003, 07:13 PM #4
in addition here's a pretty cool desktop image
Attached Thumbnails
linux-partitioning-windowsxp162.jpeg  
codejockey's Avatar
Senior Member with 1,410 posts.
 
Join Date: Feb 2002
14-Jun-2003, 01:06 AM #5
Wow! -- wiping the drive would certainly cure the problem, but I suspect you didn't have to go to those lengths. Linux will allow you to manipulate the partition table (regardless of validity), so you might keep that in mind for future reference (use the fdisk or cfdisk commands). Presumably, you didn't use Partition Magic to create the partitions originally (since there was some overlap). In general, Linux distributions are careful to use only free space on the disk and not to overwrite existing partitions (although you can force this behavior if that's really what you intend).

Although I have not configured a Win98-XP-Linux system, I've come close with a Win98-Win2K Pro-Linux system, and recommend that you install Win98 first, then XP and finally Linux. RedHat features a pretty user-friendly installation, so you should have no problem just partitioning for Win98 and XP and leaving the rest free space; RedHat will suggest that it install in the free space, and take care of things from there. Note that unless things have changed recently, RedHat does not support the NTFS filesystem, so you may not be able to access your XP partition from Linux if it uses NTFS. Other distributions allow read-only access to NTFS partitions; write access is still experimental, and is generally not ready for prime time.

You should also spend some time understanding the bootloader you will be using (likely grub or LILO) and how to modify its configuration in order to support multi-booting (a number of threads here might be helpful). Other than that, go for it!

Hope this helps.
__________________
The slowest component still sits at the keyboard.
mobo's Avatar
Computer Specs
Distinguished Member with 16,755 posts.
 
Join Date: Feb 2003
Location: Canada
Experience: Bloody Genius
14-Jun-2003, 08:30 AM #6
I was able to configure lilo the last time so I guess i will go that way again. As for the past partition problem the only thing that could have caused it was the linux partition because the drive was good before installation. Do you have any recommendations for partition type. I previously used ext3 and was wondering about a fat 32 this time.
to answer your presumptions about the partitioning tool used. It was fdisk to install the 98 then partition magig to do the rest.
__________________
Firefox
codejockey's Avatar
Senior Member with 1,410 posts.
 
Join Date: Feb 2002
15-Jun-2003, 12:15 AM #7
I recommend using a journaling filesytem such as ext3, reiserfs or xfs. There's nothing wrong with ext2, but it does tend to be slower to check and it is more susceptible to filesystem inconsisencies (however, unless you have flakey hardware, you shouldn't have many filesystem problems unless you make a habit of turning the machine off while it is active instead of shutting down). Reiserfs is better supported than xfs (more commonly used, more people to ask for advice, etc.).

For partitioning, I typically use DOS fdisk to install the WIN98 partition(s) and then the Linux fdisk to set up the Linux partitions. I used the same technique when I added WIN2K to the machine. I've never needed to use Partition Magic or similar tool.

Hope this helps.
__________________
The slowest component still sits at the keyboard.
mobo's Avatar
Computer Specs
Distinguished Member with 16,755 posts.
 
Join Date: Feb 2003
Location: Canada
Experience: Bloody Genius
15-Jun-2003, 07:45 AM #8
In this case i will not be able to because it involves splitting xp's ntfs 25 gig partition.

Thanks for your input....
codejockey's Avatar
Senior Member with 1,410 posts.
 
Join Date: Feb 2002
16-Jun-2003, 02:51 AM #9
Right you are -- partition splitting requires more than just slice-and-dice software (the fdisk family), so Partition Magic is definitely the way to go. Good luck -- and you might verify the partition table after each O/S install, just to make sure you don't end up with problems again (not to mention the loss of time and effort!).
__________________
The slowest component still sits at the keyboard.
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 11:59 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.