Solved

Disk Defragmenter

Posted on 2000-04-18
8
268 Views
Last Modified: 2013-12-06
If Linux and Windows are installed on a computer in different disk partitions, what happens if I run the Windows Disk Defragmenter on the Windows Partition?  How should I defragment my Windows partition if I can't use disk defragmenter in the future?

Laminamia :)
0
Comment
Question by:Laminamia063099
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
8 Comments
 

Expert Comment

by:gooberis
ID: 2727536
if you are running Linux off of a Linux native partition, windows should not be able to touch it on its own.
defragmenting your windows partition will have no effect on your linux system, since the defragmenter will not get off the selected partition (vfat)
0
 
LVL 3

Author Comment

by:Laminamia063099
ID: 2727773
When you say "running Linux off of a Linux native partition", what do you mean?  i.e. Is it possible to install Linux on a partition that is not native, and if so, what do I do to avoid that?
0
 
LVL 2

Expert Comment

by:rex007
ID: 2728271
Well, there are some versions of linux hat can be installed on DOS partitions.

Windows in totally unable to read Linux partitions so you can run it no problem...
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 3

Author Comment

by:Laminamia063099
ID: 2728308
Gooberis already left that answer.  If I find out that that is the correct answer (that no problem will arise if I run the disk defragmenter) then I would have to give him the points.

However, I have overheard in other questions that problems will arise if you run disk defragmenter when you have both OS installed on different partitions.  Can either confirm or deny this with certainty?

Thanks,

Laminamia :)
0
 

Expert Comment

by:gooberis
ID: 2728309
boot up into linux and run the command
fdisk -l
this will give you a list of all the partitions eg:
fdisk -l
 
Disk /dev/hdc: 255 heads, 63 sectors, 525 cylinders
Units = cylinders of 16065 * 512 bytes
 
   Device Boot    Start       End    Blocks   Id  System
/dev/hdc1             1       379   3044286   1b  Unknown
/dev/hdc2           510       525    128520   82  Linux swap
/dev/hdc3   *       380       509   1044225   83  Linux    

I am running a 4.3GB hdd and my first partition is a W98 partition of about 3GB
the second partition is a linux swap partition and the third is a linux native partition of about 1GB
if you have a similar setup where your linux and linux swap partitions are identified by these types, your windows defrag will not touch your linux files.

Linux can be installed to a dos partition but certain procedures have to be followed. even then your linux should be safe (defragmented but safe)
0
 
LVL 1

Accepted Solution

by:
andrewljohn70 earned 50 total points
ID: 2729362
Hi Laminamia,
All is said and done
but more is said than done.
All the above arguments are great and valid.
However, please be sure of which distribution of linux you are using.
I have faced this problem the HARD way.
I did know that defraging the windows would foil my linux partition.
Everytime i did the defrag i invariably got a Kernel Panic could not mount VFS during the boot process.
I am using Red Hat 6.2.
Whatever you do and whoever you give the points to - please take a backup of your critical work on your linux partition BEFORE trying to defrag the WIN9x partition and the ext2fs (linux partition) does not really need to be defragmented.
Because I have learnt this the hard way (i guess all of us do!).
Smiles and happy defraging! :))
0
 
LVL 3

Author Comment

by:Laminamia063099
ID: 2730383
Adjusted points from 25 to 50
0
 
LVL 1

Expert Comment

by:andrewljohn70
ID: 2731103
Hi Laminamia,
Thanks a lot for the points.
That was a generous offer.
Hope you enjoy your journey through linux.
Would be glad to help anytime.
Smiles :))))
-Andrew
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question