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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
![Reply](https://www.linuxquestions.org/questions/images/buttons/reply.gif) |
04-22-2008, 08:37 AM
|
#1
|
Member
Registered: Jan 2008
Posts: 55
Rep:
|
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?
|
|
|
04-22-2008, 08:40 AM
|
#2
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: ![Reputation: 122](https://www.linuxquestions.org/questions/images/reputation/reputation_pos.gif)
|
Get the live cd Parted Magic or similar from distrowatch.com and use that to delete the suse partition and resize windows
|
|
|
04-22-2008, 08:47 AM
|
#3
|
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131
Rep: ![Reputation: Disabled](https://www.linuxquestions.org/questions/images/reputation/reputation_off.gif)
|
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.
|
|
|
04-22-2008, 08:56 AM
|
#4
|
Member
Registered: Jan 2008
Posts: 55
Original Poster
Rep:
|
How do i use parted magic
|
|
|
04-22-2008, 09:13 AM
|
#5
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
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"
|
|
|
04-22-2008, 11:11 AM
|
#6
|
Member
Registered: Jan 2008
Posts: 55
Original Poster
Rep:
|
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.
|
|
|
04-22-2008, 04:52 PM
|
#7
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: ![Reputation: 122](https://www.linuxquestions.org/questions/images/reputation/reputation_pos.gif)
|
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
|
|
|
04-22-2008, 11:45 PM
|
#8
|
Senior Member
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561
Rep:
|
Quote:
Originally Posted by billymayday
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.
|
|
|
04-23-2008, 05:06 AM
|
#9
|
Member
Registered: Jan 2008
Posts: 55
Original Poster
Rep:
|
If you leave them set to zero you cannot click resize. I want windows to have the whole disk
|
|
|
04-23-2008, 05:07 AM
|
#10
|
Member
Registered: Jan 2008
Posts: 55
Original Poster
Rep:
|
Quote:
Originally Posted by billymayday
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
|
|
|
04-23-2008, 05:12 AM
|
#11
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: ![Reputation: 122](https://www.linuxquestions.org/questions/images/reputation/reputation_pos.gif)
|
You will need to delete the linux partition first
|
|
|
04-23-2008, 01:15 PM
|
#12
|
Member
Registered: Jan 2008
Posts: 55
Original Poster
Rep:
|
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?
|
|
|
04-23-2008, 01:26 PM
|
#13
|
Member
Registered: Jan 2008
Posts: 55
Original Poster
Rep:
|
Ok problem sorted. The password was blank as in empty. Job done. Thank you to everyone who replied.
|
|
|
All times are GMT -5. The time now is 12:57 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|