Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 27th June 2012, 01:59 AM
deanej Offline
Registered User
 
Join Date: Nov 2011
Posts: 229
linuxchrome
Absorb Windows Partion

I had set up a machine to dual boot between the Windows 8 Consumer Preview and Fedora 16 for research before realizing that Windows 8 runs just fine in VirtualBox (better than Windows 7 actually, it doesn't even need guest additions!). I now have a VM with the release preview set up; is it possible to get rid of the Windows 8 partitions (main & the system one it creates) and have them be absorbed by the Fedora partitions without re-installing anything?
Reply With Quote
  #2  
Old 27th June 2012, 11:37 AM
george_toolan Online
Registered User
 
Join Date: Dec 2006
Posts: 1,755
linuxfirefox
Re: Absorb Windows Partion

What do your partitions look like?

Code:
df -m

fdisk -l
Use gdisk -l /dev/sda if you have a GPT.
Reply With Quote
  #3  
Old 27th June 2012, 05:56 PM
deanej Offline
Registered User
 
Join Date: Nov 2011
Posts: 229
linuxchrome
Re: Absorb Windows Partion

I believe I disabled lvm, so not everything's mounted, so I took a screenshot of gparted (yes, I really did do this over ssh).
Attached Thumbnails
Click image for larger version

Name:	Screenshot at 2012-06-27 12:52:46.png
Views:	21
Size:	59.6 KB
ID:	23323  
Reply With Quote
  #4  
Old 27th June 2012, 07:02 PM
george_toolan Online
Registered User
 
Join Date: Dec 2006
Posts: 1,755
linuxfirefox
Re: Absorb Windows Partion

Your windows partitions are at the beginning of the drive. You can delete /dev/sda1 and /dev/sda2 and create and new Linux partition /dev/sda1 with about 73 GiB.
Reply With Quote
  #5  
Old 28th June 2012, 06:48 PM
deanej Offline
Registered User
 
Join Date: Nov 2011
Posts: 229
linuxchrome
Re: Absorb Windows Partion

I take it there needs to be a /dev/sda1? I wouldn't mind absorbing the space (especially into /home, which is where all the VMs sit and is mostly full), especially since I'm not used to keeping data and apps in separate partitions.
Reply With Quote
  #6  
Old 29th June 2012, 08:46 PM
Gareth Jones Offline
Official Gnome 3 Sales Rep. (and Adminstrator)
 
Join Date: Jul 2011
Location: Leamington Spa, UK
Age: 30
Posts: 1,847
linuxfirefox
Re: Absorb Windows Partion

You should be able to remove both NTFS partitions if you want rid of Windows.

This is one of the situations where LVM proves its worth though, as adding a new physical volume where the Windows partitions were and extending an existing /home logical volume into it would be straightforward.

Here's what I would do:

1) Delete the Windows partitions.
2) Create a new LVM physical volume in their place.
3) Add it to a new volume group and create a logical volume for /home.
4) Copy as much of the old /home as will fit into the logical volume.
5) Copy the rest to a temporary location in the / partition.
6) Update configuration files (fstab etc.)
7) Reformat the old /home as another LVM physical volume and add it to the volume group.
8) Expand the logical volume containing the new /home to fill the space.
9) Move the files temporarily stored in / back to /home.

An alternative would be to use mdadm in linear span mode (rather than proper RAID) instead of LVM.
Reply With Quote
Reply

Tags
absorb, partion, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a way to open a windows partion via Virtualbox LinuxR Using Fedora 20 6th February 2010 10:38 AM
My windows partion won't mount on some boots :( suhas_sm Using Fedora 5 30th July 2009 02:27 PM
Bringing Windows XP partion into FC6 The-Eagle-Eye Linux Chat 2 13th June 2007 06:50 PM
Running a program under Linux partion from Windows tanuki Using Fedora 2 8th August 2006 10:33 AM
I want to completely get rid of my windows parition and add that space to / partion nandowong Installation and Live Media 10 26th February 2005 03:37 PM


Current GMT-time: 10:59 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat