LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 01-27-2007, 03:03 PM   #1
tommytwo
LQ Newbie
 
Registered: Jan 2007
Posts: 2

Rep: Reputation: Disabled
Delete Windows partition, save rest


First of all I am a complete newbie.
I have a 13gb hard drive with a 7.45 GB /dev/hda windows.
My question is there any way to delete the windows and save
Ubuntu?
 
Old 01-27-2007, 03:08 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
why do you tink there would be any problems? just delete the partitions you don't want.

only thing i would mention is that if you outright delete a partition, other partitions may renumber themselves after reboot, causing issues, but if you're actually just looking to get the space back, don't delete the partition. change the fs type to whatever you wat and then just format it.
 
Old 01-27-2007, 03:11 PM   #3
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
This should help;
http://www.linuxfocus.org/English/Ju...rticle101.html
 
1 members found this post helpful.
Old 01-27-2007, 03:14 PM   #4
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,592

Rep: Reputation: 188Reputation: 188
"I have a 13gb hard drive with a 7.45 GB /dev/hda windows.
My question is there any way to delete the windows and save
Ubuntu?"

If I understand you correctly, you have two partitions. One partition has Ubuntu and the other has Windows. You want to erase Windows. If Windows is the first partition then Windows is on /dev/hda1 and Ubuntu is on /dev/hda2.

If my description of your configuration is correct then you can eliminate Windows by booting into Linux and formating the Windows partition using the msfk command. For example if you want the Windows partition to become an empty Linux ext3 file system you would issue the command:
mkfs -t ext3 /dev/hda1

See:
man mkfs

-----------------
Steve Stites
 
1 members found this post helpful.
Old 01-27-2007, 04:02 PM   #5
anupamsr
Member
 
Registered: Sep 2004
Location: India
Distribution: Kubuntu, Archlinux, Suse, Gentoo, Mandrake
Posts: 370

Rep: Reputation: 30
Hi!

Just post the output of this command:
Code:
fdisk -l /dev/hda
We will tell you the exact commands you need to know to remove Windows.

Also know beforehand that if you re-install Windows on the same place, you will most probably need to know how to boot into Ubuntu again. Best of luck
 
Old 02-11-2007, 11:56 AM   #6
tommytwo
LQ Newbie
 
Registered: Jan 2007
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you everyone who responed to my post.

tommytwo
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
delete windows partition and move linux up Mr_C Linux - General 7 03-17-2006 02:28 PM
save space and delete old packages ctagg Linux - Newbie 1 03-14-2005 05:33 PM
delete windows partition jnsenit Linux - General 3 11-28-2004 02:37 PM
Resize ReiserFS partition to use rest of disk space fivezerosixzero Linux - General 1 10-31-2004 02:43 PM
Save files on Windows partition? Mackan Linux - Newbie 5 03-26-2002 08:02 PM


All times are GMT -5. The time now is 09:01 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration