LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-19-2009, 04:39 PM   #1
Tiree17
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Rep: Reputation: 0
How do I remove Windows 7 from a Windows / Linux dual boot setup


Hi , currently running a Windows 7 - Ubuntu 9.10 dual boot set-up with Ubuntu as the default boot system in the grub menu. How do I go about removing Windows entirely and leaving Ubuntu intact. Both systems are on the same 500Mb hard drive , Windows in a 336Mb NTFS partition and Linux in the remaining partition. Can I use Gparted to delete the windows partition and then expand the Linux partition to take up the entire disk.

Plenty of info on-line on removing Linux from such a set-up but nothing about the reverse. Any help much appreciated.
 
Old 12-19-2009, 04:53 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,510

Rep: Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491
I'll assume these were typos: 500mb hard drive, 336Mb ntfs partition, and you actually mean 500GB and 336GB?

Where is Ubuntu on the drive? and where is windows 7? I'll assume win 7 is at the beginning of the drive? I think the safest thing to do would be to delete the win 7 partition and create another Ubuntu partition in its place. Maybe your /home directory or a data directory and format it with a Linux filesystem (ext 3 ext4).
 
1 members found this post helpful.
Old 12-19-2009, 05:08 PM   #3
Tiree17
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Yeah , sorry 500GB and 366 as you say , Windows is at the start of the disk and Linux at the end , thanks for the prompt reply , think I will do as you advise.
 
Old 12-19-2009, 05:53 PM   #4
kofucii
Member
 
Registered: May 2007
Location: Bulgaria
Distribution: Slackware, SCO Unix
Posts: 62

Rep: Reputation: 20
Easier is to use "fdisk" to delete the windows partition, then format it to ext$ and mount it.
 
1 members found this post helpful.
Old 12-19-2009, 06:36 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Don't delete the partition - merely use mkfs to reformat it as a Linux filesystem. The partition type indicator in the partition table is basically ignored, but you can change that in fdisk to 0x83 for completeness.
 
1 members found this post helpful.
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing windows on dual boot system with fedora linux and windows xp vaishalicoep Linux - Newbie 2 04-23-2009 05:11 AM
installing dual boot (linux and windows)without corrupting windows anirudh.iitm Linux - Newbie 7 06-30-2006 02:16 PM
Linux-windows Dual boot question when upgrading from windows 2000 to XP sarikalinux Linux - Newbie 1 03-09-2006 02:21 PM
linux/ windows dual boot. Windows XP is in portable HDD (already installed) izquierdista Linux - General 1 02-03-2006 10:23 AM
How to remove Linux and restore Windows on Dual boot using Grub TheBaffledKing Linux - Newbie 13 04-14-2004 05:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:11 PM.

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
Open Source Consulting | Domain Registration