1,105,538 Community Members

Linux question

Member Avatar
poovalingam.msc
Newbie Poster
2 posts since Oct 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
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?

Member Avatar
rubberman
Senior Poster
3,999 posts since Mar 2010
Reputation Points: 513 [?]
Q&As Helped to Solve: 501 [?]
Skill Endorsements: 87 [?]
 
1
 

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.

Member Avatar
Narinder Bamrah
Newbie Poster
1 post since Oct 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

Hi friends,

I am agree with rubberman and do what rubberman says,

Thanks
Narinder

Member Avatar
FraMazz
Newbie Poster
1 post since Jun 2009
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
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?

Member Avatar
JasonHippy
Practically a Posting Shark
897 posts since Jan 2009
Reputation Points: 648 [?]
Q&As Helped to Solve: 164 [?]
Skill Endorsements: 8 [?]
 
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.

Member Avatar
blackjames
Newbie Poster
5 posts since Nov 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

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.

Member Avatar
linuzamit
Newbie Poster
1 post since Nov 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
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

theramatch1
Newbie Poster
3 posts since Mar 2012
Reputation Points: -9 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
Banned
 
0
 

How can i edit pictures in ubuntu?

Member Avatar
jbennet
Moderator
17,127 posts since Apr 2005
Reputation Points: 1,618 [?]
Q&As Helped to Solve: 736 [?]
Skill Endorsements: 38 [?]
Team Colleague
Featured
 
0
 

How can i edit pictures in ubuntu?

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

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: