LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 02-01-2009, 03:39 PM   #1
Scorr
LQ Newbie
 
Registered: Feb 2009
Posts: 6

Rep: Reputation: 0
How do I partition my hard drive? Gparted is being stupid.


Okay, I'm a linux newb, fairly literate on computers, but not with that stupid terminal.

Anyway, I read up, got that highly rated GParted, and found it couldn't partition my hard drive, saying there was a file system error I should fix in the drive I want to partition, I searched on that, and very few others have had this problem and only those who have windows on their comp seem to be able to solve it with chkdsk, but the Ubuntu fixer does naff all.

Also, there a NO Ubuntu defraggers out there for easy access, because the attitude of the Linux community is that it doesn't need de-fragging, but to my knowledge, defragging every once in a while on anything does wonders.
 
Old 02-01-2009, 03:54 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
I can't comment too much on the GParted issue as I have not spent much time with it. If you could post the exact error message perhaps somebody will recognize it.

But as for the defragmentation, it isn't an "attitude"; Unix filesystems are simply designed much better than FAT32 or NTFS. Fragmentation on Unix filesystems, while not impossible, is minimized to the point that it isn't something you need to worry about. You could use a filesystem for years and it will never go beyond say, 5 - 10% fragmentation. You would never fragment a drive to the point that defragmenting it would give you any real-world benefit; if you did something would have had to have gone horribly wrong along the way.

In fact, some Unix filesystems don't even have any concept of defragmentation or software to perform it, like ReiserFS.
 
Old 02-01-2009, 03:54 PM   #3
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,616

Rep: Reputation: 518Reputation: 518Reputation: 518Reputation: 518Reputation: 518Reputation: 518
Please post the error message you are getting.

Please post what you are trying to do and why you are trying to do it. You don't sound like you're partitioning a blank drive.

chkdsk is a Windows checker, related to the above what are you doing and where?

There are no defraggers because you don't really need them. Please Google it for more info.

For better help, please don't call it a stupid terminal. It's fine to say you don't know it, it's not fine to insult it. It's like walking into a car dealership and saying you know nothing about the gas-guzzling hybrids. It's a different way to do the same thing and in some cases it's even better, and many people will look at you funny and/or write you off as an ignoramus because of it.

Last edited by AlucardZero; 02-01-2009 at 03:58 PM.
 
Old 02-01-2009, 03:57 PM   #4
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 4
Posts: 4,297

Rep: Reputation: 205Reputation: 205Reputation: 205
Quote:
Originally Posted by Scorr View Post
Okay, I'm a linux newb, fairly literate on computers, but not with that stupid terminal.
No comment.

Quote:
Anyway, I read up, got that highly rated GParted, and found it couldn't partition my hard drive, saying there was a file system error I should fix in the drive I want to partition, I searched on that, and very few others have had this problem and only those who have windows on their comp seem to be able to solve it with chkdsk, but the Ubuntu fixer does naff all.
Is the drive empty or is there a winblows install on there? If your intention is to dual boot, you can save yourself a lot of heartache by installing winblows first. If you're not going to dual boot why bother partitioning?

Quote:
Also, there a NO Ubuntu defraggers out there for easy access, because the attitude of the Linux community is that it doesn't need de-fragging, but to my knowledge, defragging every once in a while on anything does wonders.
It's not an attitude, it's a fact. Google this: "do i need to defrag linux" or this: "why don't i need to defrag linux" and you will see why defragging is not needed.
 
Old 02-01-2009, 04:03 PM   #5
Scorr
LQ Newbie
 
Registered: Feb 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Linux is already on it, want to dual boot with windows, so I can play games without the unstable WINE workarounds.

The drive is about 100gig, 25 used by linux, I want to make a 10gigish size drive for windows, but gparted says I need to check and fix system file errors on that drive, and thats before I can even get to making the extra space NTFS -something like that-.

check and fix(if possible) file system errors.

And yeah, people have used chkdsk to fix this problem, somehow, but with no windows, I can't do that, but I may have the wrong end of the stick there.
 
Old 02-01-2009, 04:09 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,142

Rep: Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987
Quote:
Originally Posted by Scorr View Post
... very few others have had this problem and only those who have windows on their comp seem to be able to solve it with chkdsk, but the Ubuntu fixer does naff all.
Because NTFS is a prioprietrary format that M$oft refuse to publicly document - so no open source tools can (currently) fix it when it has failures.
Quote:
.. but to my knowledge, defragging every once in a while on anything does wonders.
Seems your knowledge is based on poorly designed filesystems. Except in pathalogical cases defragging has limited benefit for Linux filesystems - although the recently released ext4 has an online defragger. Probably of marginal benefit to most home users.
 
Old 02-01-2009, 04:12 PM   #7
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,616

Rep: Reputation: 518Reputation: 518Reputation: 518Reputation: 518Reputation: 518Reputation: 518
Quote:
Originally Posted by Scorr View Post
but gparted says I need to check and fix system file errors on that drive
Hey what's the exact error message?
 
Old 02-01-2009, 04:12 PM   #8
Scorr
LQ Newbie
 
Registered: Feb 2009
Posts: 6

Original Poster
Rep: Reputation: 0
I just thought there may be a renegade file stopping me from partitioning, I wasn't after system performance with that defrag, so, how would I go about installing windows, a full wipe then Linux second?

Error message = "check filesystem on /dev/sda1 for errors and (if possible) fix them"

So, in other words, the NTFS is at the moment, irrelevant, because I can't even split up the linux drive.

Last edited by Scorr; 02-01-2009 at 04:15 PM.
 
Old 02-01-2009, 04:13 PM   #9
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,616

Rep: Reputation: 518Reputation: 518Reputation: 518Reputation: 518Reputation: 518Reputation: 518
http://www.letmegooglethatforyou.com...inux+dual+boot
 
Old 02-01-2009, 04:17 PM   #10
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,142

Rep: Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987
Our posts "crossed" - if you have only Linux filesystems, try "shutdown -f -r now" to force fsck on the next reboot.
I interpreted your first post as an NTFS issue.

Last edited by syg00; 02-01-2009 at 04:18 PM.
 
Old 02-01-2009, 04:21 PM   #11
Scorr
LQ Newbie
 
Registered: Feb 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Uh, yeah, don't think I haven't tried that?

Also, those reviews all use Gparted, or have windows installed first.
 
Old 02-01-2009, 04:27 PM   #12
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,616

Rep: Reputation: 518Reputation: 518Reputation: 518Reputation: 518Reputation: 518Reputation: 518
Quote:
Originally Posted by Scorr View Post
Error message = "check filesystem on /dev/sda1 for errors and (if possible) fix them"
Soooo.. do what it says and check the filesystems. That tool is fsck on Linux. Since you can't possibly be partitioning the drive you're booted from (right? right?), it is safe to just run fsck -y /dev/sda1. Make sure it is umounted too, first.

Quote:
so, how would I go about installing windows, a full wipe then Linux second?
That would be silly. Wipe, install Windows, install Linux.

Last edited by AlucardZero; 02-01-2009 at 04:28 PM.
 
Old 02-01-2009, 04:42 PM   #13
Scorr
LQ Newbie
 
Registered: Feb 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by AlucardZero View Post
Soooo.. do what it says and check the filesystems. That tool is fsck on Linux. Since you can't possibly be partitioning the drive you're booted from (right? right?), it is safe to just run fsck -y /dev/sda1. Make sure it is umounted too, first.

That would be silly. Wipe, install Windows, install Linux.
What I meant. XD
 
Old 02-01-2009, 04:42 PM   #14
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,147

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
Deleted - I was distracted whilst typing and everything I wanted to say was covered above.

Last edited by PTrenholme; 02-01-2009 at 04:46 PM.
 
Old 02-01-2009, 05:22 PM   #15
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,036

Rep: Reputation: 372Reputation: 372Reputation: 372Reputation: 372
Quote:
Originally Posted by Scorr View Post
Okay, I'm a linux newb, fairly literate on computers, but not with that stupid terminal.
I find that sentence rather funny. No comment.

Quote:
Anyway, I read up, got that highly rated GParted, and found it couldn't partition my hard drive, saying there was a file system error I should fix in the drive I want to partition, I searched on that, and very few others have had this problem and only those who have windows on their comp seem to be able to solve it with chkdsk, but the Ubuntu fixer does naff all.
Read about fsck. Note that:
  1. You should never ever run fsck on drives that are mounted read/write. You will completely break your fs if you do that.
  2. You might need to use -f to force fsck to fix your drive(s).

Quote:
Also, there a NO Ubuntu defraggers out there for easy access, because the attitude of the Linux community is that it doesn't need de-fragging, but to my knowledge, defragging every once in a while on anything does wonders.
Your knowledge is limited. Read on Linux I/O schedulers and their relation with the fragmentation stuff. Actually defragging a linux fs would be of very little benefit unless your drive is completely full. And, in any case, to defrag a drive you can just move it's contents elsewhere and then move it back.

There have been some attempts to release a defrag tool for ext2, but nothing serious. In ext4 that has changed. I don't know about other fs's because all I use is ext[234].

By the way, you can't partition drives that are mounted, I hope you are not trying to do so. If you need more info, give us more info.
 
  


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
usb drive: resized partition using gparted, now it won't automount retrovertigo Ubuntu 3 08-27-2008 08:55 AM
Hard Drive Partition Management - Mandriva Double Partition with Swap File partition moshebagelfresser Linux - Hardware 2 05-23-2008 10:46 AM
Hard Drive wou't mount after resizing - gParted; Ubuntu 6.06 pr0gr4mm3r Linux - Software 1 08-24-2006 10:52 PM
-=-How do I partition my hard drive-=- Tsukasa7 Linux - Newbie 1 02-10-2005 02:46 PM
How do I partition a hard drive? yzrider210 Linux - Newbie 8 12-14-2003 04:07 PM


All times are GMT -5. The time now is 07:31 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration