openSUSE Forums > Install/Boot/Login » Issue resizing Windows partition

Go Back   openSUSE Forums > Install/Boot/Login
Forums FAQ Members List Search Today's Posts Mark Forums Read


Install/Boot/Login Questions about installation, login, boot issues, partitioning, file systems, software that runs at boot (GRUB, LILO, boot scripts)

Reply
Page 1 of 2 1 2
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 18-Jul-2008, 16:18
Student Penguin
 
Join Date: Jun 2008
Posts: 70
macosxp hasn't been rated much yet
Question Issue resizing Windows partition

I have an HP desktop with a 150 gb hard drive and 7 GB as a recovery partition.

I inserted the openSUSE 11.0 kde 4 LiveCD. In the install window for the partitioning area, it suggests splitting the harddrive half for XP and half for Linux. See http://img300.imageshack.us/img300/4...apshot1kk9.png

But I want it to be mostly for XP so I went to the expert partitioner and chose to resize.
http://img176.imageshack.us/img176/2...apshot2ux2.png
http://img391.imageshack.us/img391/6...apshot3nq5.png

However, while the extended partition shrunk, the Windows partition was still listed at 70 GB. http://img176.imageshack.us/img176/8...apshot4or8.png

Furthermore, back at the main partitioning window, there is no mention of root and swap partitions. http://img214.imageshack.us/img214/2...apshot5jv9.png

Any insight?
Reply With Quote
  #2 (permalink)  
Old 18-Jul-2008, 17:59
Student Penguin
 
Join Date: Jun 2008
Posts: 70
macosxp hasn't been rated much yet
Default Re: Issue resizing Windows partition

I seem to be having the exact same problem as the person in this post: Resizing Partitions During Install - openSUSE Forums but that person didn't look like his problem was solved.

Anyone have any ideas?
Reply With Quote
  #3 (permalink)  
Old 18-Jul-2008, 18:45
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,870
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default Re: Issue resizing Windows partition

macosxp@

You can't resize a mounted partiton.
So reboot and then first thing open a console and enter su and then enter umount /dev/sda2. Then goto Yast partitioner and try the resizing.
Do it in that order, doing nothing to cause the partition to remount before you resize it.

If the console command (umount) returns a statement that sda2 isn't mounted then that's OK, but if it returns some other error message, that's probably not OK and you should report that error message back here.
__________________
Drop in and visit some time.
Reply With Quote
  #4 (permalink)  
Old 18-Jul-2008, 18:53
Student Penguin
 
Join Date: Jun 2008
Posts: 70
macosxp hasn't been rated much yet
Default Re: Issue resizing Windows partition

Oh I think I understand. Since in the LiveCD it mounts Windows to access give you access to your HD, it can't resize it. I am a little surprised that it can resize it to 70GB but not a custom amount, as I am surprised that information about this is not presented to the user from within the GUI, but we'll see.

I'll try what you said and report back to you. Thanks!
Reply With Quote
  #5 (permalink)  
Old 18-Jul-2008, 20:14
Student Penguin
 
Join Date: Jun 2008
Posts: 70
macosxp hasn't been rated much yet
Unhappy Re: Issue resizing Windows partition

Quote:
Originally Posted by swerdna View Post
macosxp@

You can't resize a mounted partition.
So reboot and then first thing open a console and enter su and then enter umount /dev/sda2. Then goto Yast partitioner and try the resizing.
Do it in that order, doing nothing to cause the partition to remount before you resize it.

If the console command (umount) returns a statement that sda2 isn't mounted then that's OK, but if it returns some other error message, that's probably not OK and you should report that error message back here.
All right I did what you said, and it did say that it's not mounted, but when I went back to the installer and tried to change the partition size the same thing happened as I describe in my original question.

And hey, guess what I see the Edit button now.
Reply With Quote
  #6 (permalink)  
Old 18-Jul-2008, 20:33
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,870
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default Re: Issue resizing Windows partition

Quote:
Originally Posted by macosxp View Post
All right I did what you said, and it did say that it's not mounted, but when I went back to the installer and tried to change the partition size the same thing happened as I describe in my original question.

And hey, guess what I see the Edit button now.
Then you'll have to use a better partitioner, like Gparted. It's very versatile.

Of course, defrag the NTFS partition first from inside windows and make sure there is spare space on it even after you size it down.

Use SystemRescuCD which is a downloadable CD with Gparted on it. You burn the CD then boot off it. Accept the boot defaults (just press enter if it gives you choices). Then when it's finished booting enter the command startx to get the GUI. The you'll see a console open -- enter gparted into that and away you go.
__________________
Drop in and visit some time.
Reply With Quote
  #7 (permalink)  
Old 18-Jul-2008, 20:42
Student Penguin
 
Join Date: Jun 2008
Posts: 70
macosxp hasn't been rated much yet
Default Re: Issue resizing Windows partition

Okay I'll try... so I use this before installing openSUSE to shrink the Windows partition, and then when I get back into the LiveCD installer Windows will already be the right size and SUSE will only try to work off of the unused space?

And BTW: Yes I have defragmented.
Reply With Quote
  #8 (permalink)  
Old 18-Jul-2008, 20:56
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,870
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default Re: Issue resizing Windows partition

Quote:
Originally Posted by macosxp View Post
.............then when I get back into the LiveCD installer Windows will already be the right size and SUSE will only try to work off of the unused space?
Yes, that's the theory
__________________
Drop in and visit some time.
Reply With Quote
  #9 (permalink)  
Old 19-Jul-2008, 13:58
enderandrew's Avatar
Parent Penguin
 
Join Date: Jun 2008
Location: Omaha, NE
Posts: 510
enderandrew hasn't been rated much yet
Default Re: Issue resizing Windows partition

I like to keep around a dedicated CD to boot to that has clonezilla and gparted on it. I just use that CD to create images, and resize partitions.

Index of /GParted-Clonezilla
Reply With Quote
  #10 (permalink)  
Old 21-Jul-2008, 21:48
Student Penguin
 
Join Date: Jun 2008
Posts: 70
macosxp hasn't been rated much yet
Default Re: Issue resizing Windows partition

Hey, is it possible to resize the partition after installing openSUSE (I mean via openSUSE and not extra software)? Maybe if I can shrink the openSUSE partition and can allocate the extra free space to Windows while inside XP?
Reply With Quote
Reply
Page 1 of 2 1 2

Bookmarks

Tags
dual boot, install, partitioning, resize, windows xp


Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2