LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 03-29-2006, 12:42 PM   #1
phekno
Member
 
Registered: May 2003
Distribution: Gentoo, Slackware
Posts: 75

Rep: Reputation: 15
Getting low on Windows disk space...need partition resizing help.


So I installed Fedora Core 4 dual boot with WinXP on my work laptop because I wanted to mess around. Now it's getting to the point where I don't have very much Windows disk space left. Basically what I would like to do is get all of the space back from Fedora Core 4 and give it back to Windows. It's not that I don't like Fedora Core 4, I actually have several different distros running at home, I just don't have the time/patience to mess with Fedora at work. Just FYI I don't have Partition Magic or Ghost or any of that stuff. I was thinking I could just go to fdisk (in Linux), delete the Linux partitions, create a new one and set it as type NTFS or FAT32 (I think my Win partition is NTFS right now). Will this work? Any suggestions would be greatly appreciated.
 
Old 03-29-2006, 12:59 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 273Reputation: 273Reputation: 273
The first thing I would do is to use your windows boot disk (or maybe from windows itself) to reset the master boot record by typing at a command line fixmbr. Then reboot and make sure the NTLoader is the boot manager instead of grub/lilo.

After that, I would pop in a Knoppix Live CD and use QTParted (which is a graphical partition magic clone) to delete the linux filesystems and create the Windows filesystems.

I'm pretty sure you could just use fdisk from linux on LiveCD, but I don't think you could do it from your fedora install (because the partitions are in use...).
 
Old 03-29-2006, 01:07 PM   #3
phekno
Member
 
Registered: May 2003
Distribution: Gentoo, Slackware
Posts: 75

Original Poster
Rep: Reputation: 15
Thanks for the quick reply. I'll try this stuff when I get a chance. Hopefully this won't hose my existing Windows partition. The IT people where I work would probably not be happy if they had to take 5 minutes out of their busy day to rejoin a newly rebuilt laptop to their domain. Anyway, thanks.
 
Old 03-31-2006, 07:11 PM   #4
phekno
Member
 
Registered: May 2003
Distribution: Gentoo, Slackware
Posts: 75

Original Poster
Rep: Reputation: 15
Soooooo...I ran fixmbr (BTW you need to run it from the recovery console) and it booted to Windows automacially, which is what I wanted. I then rebooted and ran qtparted off of Knoppix 4 and resized the windows partition and rebooted. When I rebooted I got an error saying that the windows bootloader was missing a file. I restored the file and rebooted and it did the sane thing. I rebooted into the recovery console again, ran fixmbr and rebooted. Now I get an error message saying "Windows could not start because of a computer disk hardware configuration problem. Could not read from the selected boot disk. Check boot path and disk hardware. Please check the Windows documentation about hardware disk configuration and your hardware reference manuals for additional information." I've tried running chkdsk to repair the disk but that doesn't work either. I kinda need to get this to work because it's my work's laptop and I would rather not lose what's on it. Any suggestions?
 
Old 03-31-2006, 09:29 PM   #5
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 273Reputation: 273Reputation: 273
Have you tried booting your windows install disk and selecting "repair install"?
 
Old 03-31-2006, 09:49 PM   #6
phekno
Member
 
Registered: May 2003
Distribution: Gentoo, Slackware
Posts: 75

Original Poster
Rep: Reputation: 15
I booted from the Windows CD and the closest option to that is to press 'R' and go to the recovery console. That's fine but what's next? I get a nice console but I have no idea what to do next.
 
Old 04-01-2006, 12:59 AM   #7
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 273Reputation: 273Reputation: 273
Here's a link that might help some. I would try fixboot from the recovery console before trying anything else...
 
Old 04-01-2006, 03:45 PM   #8
phekno
Member
 
Registered: May 2003
Distribution: Gentoo, Slackware
Posts: 75

Original Poster
Rep: Reputation: 15
Uhhhh...link? I tried fixboot and got the same message. Should I do fixmbr after fixboot and then chkdsk or am I completely off base. It looks like all of the data on the drive is viable so I managed to copy the drive to a NAS drive on my network using Knoppix. I'm just not sure if that will work to restore the system. Let me know.

Thanks for all of your help.

Last edited by phekno; 04-01-2006 at 03:49 PM.
 
Old 04-01-2006, 04:11 PM   #9
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
As this is not a Linux problem, I have moved this to General.
 
Old 04-03-2006, 12:19 PM   #10
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 273Reputation: 273Reputation: 273
http://support.microsoft.com/?kbid=314477

Sorry, been away for the weekend. Try this link. I would try methods 2,3,&4 in no particular order. I just noticed at the bottom it tells you what should be in boot.ini, so you can try method 1 also...
 
Old 04-03-2006, 12:30 PM   #11
phekno
Member
 
Registered: May 2003
Distribution: Gentoo, Slackware
Posts: 75

Original Poster
Rep: Reputation: 15
<dejectedly>Well...</dejectedly>

Using bootcfg I did manage to get the machine to boot up again. When I did, however, I noticed that some of my system devices wouldn't work because they couldn't get resources or something. Namely the PCI Express Root Port and the PM Express PCI Express Root Port. I also noticed that my display wasn't showing up (i.e. no display adaptors present). Everything seemed to work fine until I tried starting up a game. I tried un-installing and re-installing these drivers and disabling them and enabling them and rebooting every time. Unfortunately nothing worked. I uninstalled the ATI drivers rebooted and still nothing. Then I tried re-installing the ATI drivers and rebooted and it hung on a black screen. I rebooted again thinking I would go into Safe Mode and it still hung on Mup.sys or something like that. Anyway, long story short, I wiped it. Everything's gone but I was able to save the root directory tree onto some NAS and as a result saved what I needed.

Thanks again for all your help.

Phekno

P.S. I guess this thread got out of hand. Sorry it turned so Windows.
 
Old 04-03-2006, 01:24 PM   #12
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 273Reputation: 273Reputation: 273
Sorry I couldn't be more help. And sorry if I caused some grief. I've never had a windows partition hosed by qtparted... Hmmm...

On a side note, I'd like job where I can play games on my work machine...
 
Old 04-03-2006, 01:29 PM   #13
phekno
Member
 
Registered: May 2003
Distribution: Gentoo, Slackware
Posts: 75

Original Poster
Rep: Reputation: 15
I'm sure they wouldn't be happy with me playing games on my work laptop. But then again I work at a place where we have a fully stocked beer fridge in the kitchenette! Plus, it's not like I'm playing games at work.
 
  


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
low disk space ahmed gamal Slackware 3 03-21-2006 02:32 PM
low disk space email warnings pyroman59 Linux - Software 3 10-19-2005 04:21 PM
Low disk space problem Maverick1182 Linux - Newbie 3 08-07-2005 04:14 AM
E-mail notification of low disk space Hypocrite Linux - General 2 11-10-2004 02:27 PM
Low disk space??? kevinlyfellow Linux - General 6 11-12-2003 02:37 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 12:37 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
Open Source Consulting | Domain Registration