LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-28-2013, 03:40 PM   #1
siaswar
Member
 
Registered: Aug 2009
Distribution: xubuntu
Posts: 39

Rep: Reputation: 16
How Format a bad partion in linux


My brother has a desktop with 1Tb disk space. It has 6 partions and had a win8 on it. Thanks to microsoft craps, every 2 or 3 months it need to reinstall Os.
This time windows was unable to format drive C. With ubuntu live cd I tried to format Drive with Gparted tools but that was not possible. The dd command is not workig too and says: permission is denied.
How can I format this drive (without loosing data from other drive)?
 
Old 07-29-2013, 08:15 AM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 3,433
Blog Entries: 1

Rep: Reputation: 1145Reputation: 1145Reputation: 1145Reputation: 1145Reputation: 1145Reputation: 1145Reputation: 1145Reputation: 1145Reputation: 1145
Whoa Whoa Whoa. (Be careful what you are doing!)

1) You only mention *one* drive
2) DD has nothing to do with formatting

What do you *actually* want to do here?

Are you asking how to clear and re-format a partition of a drive with an NTFS(windows) filesystem?
 
Old 07-29-2013, 08:26 AM   #3
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 6,373

Rep: Reputation: 1722Reputation: 1722Reputation: 1722Reputation: 1722Reputation: 1722Reputation: 1722Reputation: 1722Reputation: 1722Reputation: 1722Reputation: 1722Reputation: 1722
in general windows should not be re/installed in every 2 or 3 months. Otherwise you would need to describe what did you try. please give us much more details. (what commands were executed, what was the error message). Probably your disk was damaged.
 
Old 07-29-2013, 10:45 AM   #4
dt64
Member
 
Registered: Sep 2012
Distribution: RHEL5/6, CentOS5/6
Posts: 210

Rep: Reputation: 38
Well, that's a Linux forum here, but if it was a Win8 machine, did you try to use the Windows maintenance console to find out what the problem was?
What output from which tools did you get when you tried to fix you rissue?

btw: there is no such thing like "Microsoft craps", even MS software has its use, and if it's used right and set up/maintained properly, it can give you a stable and performand system.
 
Old 07-29-2013, 05:27 PM   #5
jefro
LQ Guru
 
Registered: Mar 2008
Posts: 13,334

Rep: Reputation: 1690Reputation: 1690Reputation: 1690Reputation: 1690Reputation: 1690Reputation: 1690Reputation: 1690Reputation: 1690Reputation: 1690Reputation: 1690Reputation: 1690
I agree with the others. There is a lot to this issue.


A newest live cd/dvd version of opensuse or ubuntu or fedora ought to allow you to use disk tools. Most live cd's run in admin or root but you may have to unmount the drive to do tasks.
 
Old 07-29-2013, 06:35 PM   #6
siaswar
Member
 
Registered: Aug 2009
Distribution: xubuntu
Posts: 39

Original Poster
Rep: Reputation: 16
why I'm here?

Why reinstall every 2 or 3 month? I'm not using that system but after 2 month the the os speed become lower then old dialup internet and or Regine is full virus environment for windows. I don't know but here every body reinstall windows every 3 or 4 months (may be 6).
Why microsoft crap? compare to linux or mac, u can find why. For example When powering of the win8 it's going to hiebernate and there is no shut down there. This is why in win8 installing updates only work when u restart the system. I think microsoft cheats to show win8 has a very good boot time. For notice my brother forced to use windows and he love linux beacuse it's stable and feel right. (Some Microsof products are unique but I don't like it).
Why using linux for format? Because, windows installer program can't format the drive. sometimes happens windows can not format a usb and linux come handy.
All I need is to format Drive C in one format (ext, ntfs, fat,....). If I can format it once then I can change it again to ntfs.
 
Old 07-29-2013, 08:32 PM   #7
jefro
LQ Guru
 
Registered: Mar 2008
Posts: 13,334

Rep: Reputation: 1690Reputation: 1690Reputation: 1690Reputation: 1690Reputation: 1690Reputation: 1690Reputation: 1690Reputation: 1690Reputation: 1690Reputation: 1690Reputation: 1690
Linux isn't immune from bad practices. You'd need to learn and use as many good or best practices as you can to avoid this sort of issue. A well managed windows should not have these issues.

Some of the replies suggest that if windows can't fix it, then there may be some other issues that have to do with hardware.
 
1 members found this post helpful.
Old 07-29-2013, 09:04 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Posts: 15,086

Rep: Reputation: Disabled
Quote:
Why reinstall every 2 or 3 month? I'm not using that system but after 2 month the the os speed become lower then old dialup internet
that sounds like the normal windows behavior
with full temp files
and full IE9 cache and temp files

toss in any of the likely "tool-bars" installed to IE9
as to viruses
why not use any of the FREE AV tools
in 13 years of using Windows i had only 2 ( TWO ) major infections
and a few bad downloads that did not install

Quote:
I don't know but here every body reinstall windows every 3 or 4 months (may be 6).
NO but maybe ONE time a year ?? maybe ???
for a "spring cleaning" but that was for XP
and after a upgrade to SP1 then after SP2 , and then after SP3

cleaning out the "cumulative updates" ( hot fixes ) with the service pack , will speed things up .


for formatting drives a LIVE cd like "Gparted live CD" or " SystemRescueCD"
work the BEST

as stated above "dd" should not come into this
it has NOTHING to do with formatting
However,there is ONE exception .

Zeroing out a drive
this may or might NOT allow windows to use the drive .
and for a 1 TiB drive ,that might take 24 hours to run .
 
1 members found this post helpful.
  


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
cannot format extended partion as ext3 morad_dba Linux - Hardware 6 11-23-2010 11:12 PM
how to format swap partion rajesh_alpha Linux - Kernel 4 03-09-2010 09:58 AM
What to do with a partion with bad block count? yumener Linux - Software 10 11-10-2008 02:02 AM
format a partion hammam12 Linux - Software 14 06-26-2006 07:22 AM
Problems booting up linux suse 9.1 personal can't partion and format HD? boater0_14 Linux - Software 0 09-14-2004 01:31 PM


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