Sponsor for PC Pals Forum

Author Topic: Deleting Windows Partition  (Read 2993 times)

Offline GillE

  • Forum Fanatic
  • ******
  • Posts: 6349
  • Never totally serious
    • Gill's East Lindsey Camera
Deleting Windows Partition
« on: April 13, 2011, 10:04 »
As mentioned in the thread about the Sansa Fuze video format, I'm now at the point where I'm prepared to free up space on my HDD by deleting Windows altogether.  How can I delete this partition safely?
There is no opinion, however absurd, which men will not readily embrace as soon as they can be brought to the conviction that it is readily adopted.

(Schopenhauer, Die Kunst Recht zu Behalten)

Offline D-Dan

  • Regular Member
  • **
  • Posts: 100
Re: Deleting Windows Partition
« Reply #1 on: April 13, 2011, 10:10 »
Assuming that you still have Ubuntu installed, and the you use grub as your bootloader simply boot Ubuntu, start gparted and delete the partition. Afterwards to you can either extend your existing Ubuntu partition into the empty space, or create a shiny new partition there.

Steve
Phenom II X4 965, overclocked
Radeon HD4670 (1Gb)
8Gb RAM
1.25 Tb HD
Arch Linux (Custom build with custom kernel)

Offline GillE

  • Forum Fanatic
  • ******
  • Posts: 6349
  • Never totally serious
    • Gill's East Lindsey Camera
Re: Deleting Windows Partition
« Reply #2 on: April 13, 2011, 11:49 »
That sounds reassuringly straight forward :) .  How would I find out if I use grub as my bootloader and how would I extend the existing Ubuntu partition into the empty space?  I've never tinkered with partitions before, not even with Windows.
There is no opinion, however absurd, which men will not readily embrace as soon as they can be brought to the conviction that it is readily adopted.

(Schopenhauer, Die Kunst Recht zu Behalten)

Offline sam

  • Administrator
  • *****
  • Posts: 19977
Re: Deleting Windows Partition
« Reply #3 on: April 13, 2011, 13:33 »
gparted allows you to tinker with partitions all in a graphical window. I expect you do use Grubb (its the default), what does it say at the top of the boot up screen, where you get to choose what OS? gparted is the same tool that you would have used on the initially ubuntu install..

Just make sure any important things are backed up before changing the partitions.

- sam | @starrydude --

Offline davy51

  • Loyal Member
  • *****
  • Posts: 1690
Re: Deleting Windows Partition
« Reply #4 on: April 13, 2011, 14:49 »
Ive found for me the safe way is delete the windows partition while in ubuntu

Go to gparted
right click on the partition windows is in and click delete

to enlarge Ubuntu partition
after the deleted windows

right click on the ubuntu partition and click   resize/ move

then you can use the arrows to enlarge the petition


then go to synaptic package manager
Type in grub in the search box

check to install

Grub pc
grub-common
startup manager
memtest


after these are installed

open a terminal and type

sudo update-grub


This works every time without a glitch

Grub will be installed and the partition will be all ubuntu


Sam may know an easier method but this is the one I use

Dave

Don't walk behind me, I may not lead. Don't walk in front of me, I may not follow. Just walk beside me and be my friend

Albert Camus

Offline D-Dan

  • Regular Member
  • **
  • Posts: 100
Re: Deleting Windows Partition
« Reply #5 on: April 13, 2011, 20:24 »
That's about right, though I'm not so sure that it is necessary to reinstall grub. sudo update-grub should be sufficient.

Steve
Phenom II X4 965, overclocked
Radeon HD4670 (1Gb)
8Gb RAM
1.25 Tb HD
Arch Linux (Custom build with custom kernel)

Offline davy51

  • Loyal Member
  • *****
  • Posts: 1690
Re: Deleting Windows Partition
« Reply #6 on: April 13, 2011, 22:28 »
Since Im relative newbie to linux I always reinstall grub just in case iits corrupted somehow

It saves a few steps if it doesnt show up when i reboot
Dave

Don't walk behind me, I may not lead. Don't walk in front of me, I may not follow. Just walk beside me and be my friend

Albert Camus

Offline GillE

  • Forum Fanatic
  • ******
  • Posts: 6349
  • Never totally serious
    • Gill's East Lindsey Camera
Re: Deleting Windows Partition
« Reply #7 on: April 14, 2011, 13:16 »
I've stumbled at the first step :( .

I don't know where to find gparted so I opened a terminal and wrote 'gparted'.  It replied that gparted was not installed and instructed me to install it using the following code:

sudo apt-get install gparted

I did that and it installed the programme, then I saw this message on the terminal:

dpkg: status database area is locked by another process
E: sub-process /usr/bin/dpkg returned an error code (2)


Where do I go from here?

There is no opinion, however absurd, which men will not readily embrace as soon as they can be brought to the conviction that it is readily adopted.

(Schopenhauer, Die Kunst Recht zu Behalten)

Offline sam

  • Administrator
  • *****
  • Posts: 19977
Re: Deleting Windows Partition
« Reply #8 on: April 14, 2011, 13:23 »
I guess 10.10 doesn't install it by default, I just tried it an installed it.

Quote
dpkg: status database area is locked by another process
E: sub-process /usr/bin/dpkg returned an error code (2)

You probably have some other update program open, do you  have the software centre open - it doesn't like allowing you to install from the repository more than once at a time.

Could you post the rest of the output?
- sam | @starrydude --

Offline D-Dan

  • Regular Member
  • **
  • Posts: 100
Re: Deleting Windows Partition
« Reply #9 on: April 15, 2011, 12:47 »
As Sam says, you definitely have either Software Manager, or an update package (like MintUpdate) already running. Software Manager et al are simply front ends to apt-get, and so you can only run one at a time. If you can't find an already running process then rebooting will fix it (or maybe even just log out and log back in).

Steve
Phenom II X4 965, overclocked
Radeon HD4670 (1Gb)
8Gb RAM
1.25 Tb HD
Arch Linux (Custom build with custom kernel)

Offline GillE

  • Forum Fanatic
  • ******
  • Posts: 6349
  • Never totally serious
    • Gill's East Lindsey Camera
Re: Deleting Windows Partition
« Reply #10 on: April 15, 2011, 21:25 »
I'll look at it again and see if I can sort it out.  It's having to take a back seat at the moment - my allotment needs loads of work and I've got trays full of seedlings to plant.
There is no opinion, however absurd, which men will not readily embrace as soon as they can be brought to the conviction that it is readily adopted.

(Schopenhauer, Die Kunst Recht zu Behalten)


Show unread posts since last visit.
Sponsor for PC Pals Forum