LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-22-2008, 08:37 AM   #1
mossy464
Member
 
Registered: Jan 2008
Posts: 55

Rep: Reputation: 15
deleting linux and resizing windows partition


Hi im trying to remove linux and resize the windows partition to its original size. I have opensuse 10.3 on my system and i read the instructions on opensuse.org but when i try to resize the windows partition it tells me it is unable to resize as the file system is inconsistent. Any suggestions?
 
Old 04-22-2008, 08:40 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Get the live cd Parted Magic or similar from distrowatch.com and use that to delete the suse partition and resize windows
 
Old 04-22-2008, 08:47 AM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
As far as I know you could also use the partition editor that comes along Windows (at least XP and later); it has worked for me anyway. You can't use a partition editor for mounted partitions, so you can't run the partition editor from within the running Linux system; that's why your possibilities are to use some other operating system - Windows, maybe, or a live-cd Linux that has a partition editor program like GParted (most if not all live-cd Linuxes like Knoppix or Ubuntu Desktop do come with one), so you have a variety of possibilities. Pick the one you want, make sure the partitions are not mounted when you operate on them (the operations will hopefully just fail if the partitions are mounted, but it won't do any good in any case), then delete the Linux partitions and resize the Windows partition (that can take some time if the disk is big).

Before going there, make sure you either already have, or at least have means to replace your bootloader with a working one - deleting Linux might (read: probably will) render your Linux bootloader useless. If you are unsure at all, download and burn the Grub super cd (it's probably not called that, but I don't remember it - a web search ought to bring it to you) that can fix all sorts of boot problems.
 
Old 04-22-2008, 08:56 AM   #4
mossy464
Member
 
Registered: Jan 2008
Posts: 55

Original Poster
Rep: Reputation: 15
How do i use parted magic
 
Old 04-22-2008, 09:13 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Any of the GUI partition editors are pretty self-explanatory. You boot the CD and follow the menus. I would get the GParted live CD, as B0uncer says.

You will also need a Windows install CD to restore the MBR code. Boot from the CD--rescue mode, and enter "fixmbr"
 
Old 04-22-2008, 11:11 AM   #6
mossy464
Member
 
Registered: Jan 2008
Posts: 55

Original Poster
Rep: Reputation: 15
Im using gparted now and i need to know what do i set the Free space preceding section with and the Free space following section when resizing the windows partition

Last edited by mossy464; 04-22-2008 at 11:44 AM.
 
Old 04-22-2008, 04:52 PM   #7
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
It's really up to what you are trying to do. If you want windows to have the whole disk, set them to zero. If you want a 10G partition following the windows partition make following 10,000 etc. We can't really answet that question
 
Old 04-22-2008, 11:45 PM   #8
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
Quote:
Originally Posted by billymayday View Post
Get the live cd Parted Magic or similar from distrowatch.com and use that to delete the suse partition and resize windows
someone knows what's the difference between gparted and visparted ?
http://partedmagic.com/wiki/PartedMa...UsingVisParted

Quote:
such as disk wiping and volume labels. ?

Last edited by frenchn00b; 04-22-2008 at 11:47 PM.
 
Old 04-23-2008, 05:06 AM   #9
mossy464
Member
 
Registered: Jan 2008
Posts: 55

Original Poster
Rep: Reputation: 15
If you leave them set to zero you cannot click resize. I want windows to have the whole disk
 
Old 04-23-2008, 05:07 AM   #10
mossy464
Member
 
Registered: Jan 2008
Posts: 55

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by billymayday View Post
It's really up to what you are trying to do. If you want windows to have the whole disk, set them to zero. If you want a 10G partition following the windows partition make following 10,000 etc. We can't really answet that question
If you leave them set to zero you cannot click resize. I want to give windows the whole disk space
 
Old 04-23-2008, 05:12 AM   #11
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
You will need to delete the linux partition first
 
Old 04-23-2008, 01:15 PM   #12
mossy464
Member
 
Registered: Jan 2008
Posts: 55

Original Poster
Rep: Reputation: 15
Ok ive deleted linux now and resized the windows partition. Now im running the windows install cd to repair the bootloader. When i go into the repair option it is asking me for an administrator password which i thought would be my windows login password as i am the only user of the machine, evidently its not. How do i get the administrator password?
 
Old 04-23-2008, 01:26 PM   #13
mossy464
Member
 
Registered: Jan 2008
Posts: 55

Original Poster
Rep: Reputation: 15
Ok problem sorted. The password was blank as in empty. Job done. Thank you to everyone who replied.
 
  


Reply

Tags
partition


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Resizing Linux and Windows Partition (with YasT) n_nisanth Linux - Hardware 3 06-17-2006 03:45 AM
Resizing Windows partition to add LINUX latino Linux - General 2 02-21-2005 03:58 PM
Deleting Windows partition without damaging Linux GT_Onizuka Linux - General 1 12-29-2004 08:44 PM
deleting/resizing swap partition / increasing hd space saranga2000 Linux - Hardware 1 12-09-2004 11:03 AM
Resizing Windows Partition after Linux has been installed Pi Of Five Linux - Software 1 07-06-2004 07:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:57 PM.

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
Open Source Consulting | Domain Registration