Resized My Windows Partition with Gparted

Windows Will Not Boot

Page 1 of 1

2 Replies - 841 Views - Last Post: 01 November 2008 - 12:23 PM

#1 Delta_Echo   User is offline

  • D.I.C Addict

Reputation: 5
  • View blog
  • Posts: 722
  • Joined: 24-October 07

Resized My Windows Partition with Gparted

Posted 30 October 2008 - 02:39 PM

I wanted to install gentoo on my system. I had a lot of free space on my windows partition, so I decided to resize the partition with gparted. I was careful not to
make the partition so much smaller that it would cut into used space (not really sure if it works that way). I don't know what went wrong, my win partition still has free
space, but windows will not boot.

When I reboot and select windows in the grub bootloader (I run Linux as my main OS) I get this:
Windows XP Pro SP2
	rootnoverify (hd0,0)
	chainloader +1



I will give as much information as I can:

FDISK -L :
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1f1f1f1f

   Device Boot	  Start		 End	  Blocks   Id  System
/dev/sda1   *		   1		  25	  200781   83  Linux
/dev/sda2			  26	   38913   312367860   8e  Linux LVM

Disk /dev/dm-0: 317.7 GB, 317726916608 bytes
255 heads, 63 sectors/track, 38628 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 2080 MB, 2080374784 bytes
255 heads, 63 sectors/track, 252 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x30307800

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4b36bdea

   Device Boot	  Start		 End	  Blocks   Id  System
/dev/sdb1   *		   1	   13853   111274191	7  HPFS/NTFS

Disk /dev/sdc: 8040 MB, 8040480256 bytes
255 heads, 63 sectors/track, 977 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

   Device Boot	  Start		 End	  Blocks   Id  System
/dev/sdc1			   1		 976	 7839698	b  W95 FAT32



GRUB.CONF:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#		  all kernel and initrd paths are relative to /boot/, eg.
#		  root (hd1,0)
#		  kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#		  initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd1,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.26.6-79.fc9.i686)
	root (hd1,0)
	kernel /vmlinuz-2.6.26.6-79.fc9.i686 ro root=UUID=e8dc2d2d-cced-496d-89e6-d4b240a5f946
	initrd /initrd-2.6.26.6-79.fc9.i686.img
title Fedora (2.6.26.5-45.fc9.i686)
	root (hd1,0)
	kernel /vmlinuz-2.6.26.5-45.fc9.i686 ro root=UUID=e8dc2d2d-cced-496d-89e6-d4b240a5f946
	initrd /initrd-2.6.26.5-45.fc9.i686.img
title Fedora (2.6.26.3-29.fc9.i686)
	root (hd1,0)
	kernel /vmlinuz-2.6.26.3-29.fc9.i686 ro root=UUID=e8dc2d2d-cced-496d-89e6-d4b240a5f946
	initrd /initrd-2.6.26.3-29.fc9.i686.img
title Windows XP Pro SP2
	rootnoverify (hd0,0)
	chainloader +1



Any assistance on recovering Windows would be much appreciated.
Thanks my fellow coder/hacker/geeks :)

Is This A Good Question/Topic? 0
  • +

Replies To: Resized My Windows Partition with Gparted

#2 no2pencil   User is offline

  • Professor Snuggly Pants
  • member icon

Reputation: 6968
  • View blog
  • Posts: 31,958
  • Joined: 10-May 07

Re: Resized My Windows Partition with Gparted

Posted 30 October 2008 - 09:54 PM

Do you have two drives, or two partitions?

Your grub config indicates that it's looking for two drives.

Quote

title Fedora (2.6.26.6-79.fc9.i686)
root (hd1,0) <------ Drive two, partition 1
kernel /vmlinuz-2.6.26.6-79.fc9.i686 ro root=UUID=e8dc2d2d-cced-496d-89e6-d4b240a5f946
initrd /initrd-2.6.26.6-79.fc9.i686.img
title Fedora (2.6.26.5-45.fc9.i686)
root (hd1,0) <------ Drive two, partition 1
kernel /vmlinuz-2.6.26.5-45.fc9.i686 ro root=UUID=e8dc2d2d-cced-496d-89e6-d4b240a5f946
initrd /initrd-2.6.26.5-45.fc9.i686.img
title Fedora (2.6.26.3-29.fc9.i686)
root (hd1,0) <------ Drive two, partition 1
kernel /vmlinuz-2.6.26.3-29.fc9.i686 ro root=UUID=e8dc2d2d-cced-496d-89e6-d4b240a5f946
initrd /initrd-2.6.26.3-29.fc9.i686.img
title Windows XP Pro SP2
rootnoverify (hd0,0) <------ Drive one, partition 1

Was This Post Helpful? 1
  • +
  • -

#3 Delta_Echo   User is offline

  • D.I.C Addict

Reputation: 5
  • View blog
  • Posts: 722
  • Joined: 24-October 07

Re: Resized My Windows Partition with Gparted

Posted 01 November 2008 - 12:23 PM

I have two drives. However, this is no longer relevant. After multiple attempts to reconfigure grub and or rescue the windows installation with a boot disk, i decided to wipe the drive and reinstall windows. (Something i needed to do anyway)

But thanks for your help :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1