We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,939 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Linux question

Hi all, I have one question. I need to remove cent OS completely from my hard disk. I have installed windows 7 also. Total size is 320 GB. For windows 270 and for cent OS 70 GB. How to remove cent OS and allocate that space to windows7?

9
Contributors
8
Replies
4 Months
Discussion Span
1 Year Ago
Last Updated
9
Views
poovalingam.msc
Newbie Poster
2 posts since Oct 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Simple enough.

1) Reinstall the Windows MBR (master boot record).
2) Use fdisk to remove the Linux partition.
3) Use the Windows disk manager to merge the partitions.

Since this will change the system signature pretty significantly, Windows will have to re-authenticate itself with Microsoft on the next boot.

rubberman
Posting Maven
2,571 posts since Mar 2010
Reputation Points: 365
Solved Threads: 305
Skill Endorsements: 52

Hi friends,

I am agree with rubberman and do what rubberman says,

Thanks
Narinder

Narinder Bamrah
Newbie Poster
1 post since Oct 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Hi all, I have one question. I need to remove cent OS completely from my hard disk. I have installed windows 7 also. Total size is 320 GB. For windows 270 and for cent OS 70 GB. How to remove cent OS and allocate that space to windows7?

Isn't it sufficient to remove CentOS partition and to resize Win 7 one with Win 7 Disk Management tool?

FraMazz
Newbie Poster
1 post since Jun 2009
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Isn't it sufficient to remove CentOS partition and to resize Win 7 one with Win 7 Disk Management tool?

No, because CentOS (and other Linux distros) replace the windows MBR/bootloader with an alternative bootloader like Grub or Grub2. So simply removing the CentOS partition and resizing the Windows 7 partition isn't enough.

As rubberman has already stated, you first need to boot into windows and restore the Windows MBR before using a disk management/partitioning tool to remove the CentOS partition and resize the Windows 7 partition.

JasonHippy
Practically a Posting Shark
862 posts since Jan 2009
Reputation Points: 615
Solved Threads: 146
Skill Endorsements: 5

Before doing anything take the backup of your operating system using Norton Ghost or Accronis backup software. I will simply say you that if you don't want to loose your OS than reinstall the cent or any linux OS on same linux partition but this time use partition size 7GB for install and 5GB for extra. After complete install you can able to use your 58 GB in windows via formatting the partition in NTFS or FAT format.

blackjames
Newbie Poster
5 posts since Nov 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Kindly run the following commands:
fdisk -l (get your hard disk name eg. sda or sdb.. etc.)
then run the command
shred /dev/sda

it will done your work

linuzamit
Newbie Poster
1 post since Nov 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

How can i edit pictures in ubuntu?

theramatch1
Newbie Poster
Banned
3 posts since Mar 2012
Reputation Points: 1
Solved Threads: 0
Skill Endorsements: 0

How can i edit pictures in ubuntu?

Please don't hijack other people's threads. You can use GIMP or something.

jbennet
Moderator
Team Colleague
18,528 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 609
Skill Endorsements: 29

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0754 seconds using 2.65MB