LinuxQuestions.org
Review your favorite Linux distribution.
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 06-06-2010, 03:41 PM   #1
darran
LQ Newbie
 
Registered: Jan 2010
Location: UK
Distribution: Fedora Project 13
Posts: 14

Rep: Reputation: 0
Uninstalling Win7


I have a dual boot laptop Fedora and Win7, I want to remove win7 completely, so I can use the full hard drive for linux.
How would I do this, so it boots linux only.

Thanks for any Advice
 
Old 06-06-2010, 04:05 PM   #2
brucehinrichs
Member
 
Registered: Mar 2008
Location: US
Distribution: Debian Sid; Sabayon, UbuntuStudio, Slackware-multilib 13.1, Peppermint Ice, CentOS
Posts: 575

Rep: Reputation: 67
Please post the output of (as root or sudo):
Code:
fdisk -l
The answer depends on whether Fedora is using LVM.
 
Old 06-06-2010, 05:52 PM   #3
darran
LQ Newbie
 
Registered: Jan 2010
Location: UK
Distribution: Fedora Project 13
Posts: 14

Original Poster
Rep: Reputation: 0
Disk /dev/sda: 160 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes
I/O size (minimal/optimal): 512 bytes / 512 bytes
Disk identifier: 0x3e32d19e

list of partitions
ntfs - boot (does not end on cylinder boundary)
ntfs
linux
linux swap/solaris
linux
 
Old 06-06-2010, 05:59 PM   #4
brucehinrichs
Member
 
Registered: Mar 2008
Location: US
Distribution: Debian Sid; Sabayon, UbuntuStudio, Slackware-multilib 13.1, Peppermint Ice, CentOS
Posts: 575

Rep: Reputation: 67
I don't see the 'Id' column. Please post exactly the results of fdisk -l.

EDIT: Mine, for example:

Code:
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Disk identifier: 0x0007c950

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         243     1951866   82  Linux swap / Solaris
/dev/sda2   *         244         304      489982+  83  Linux
/dev/sda3             305       10815    84429607+  83  Linux
/dev/sda4           10816       24321   108486914    5  Extended
/dev/sda5           10816       14640    30724281   83  Linux
/dev/sda6           14641       16590    15663343+  83  Linux
/dev/sda7           16591       18540    15663343+  83  Linux
/dev/sda8           18541       20485    15623181   83  Linux
/dev/sda9           20486       22430    15623181   83  Linux
/dev/sda10          22431       24321    15189426   83  Linux

Last edited by brucehinrichs; 06-06-2010 at 06:00 PM.
 
Old 06-06-2010, 06:37 PM   #5
darran
LQ Newbie
 
Registered: Jan 2010
Location: UK
Distribution: Fedora Project 13
Posts: 14

Original Poster
Rep: Reputation: 0
Code:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x3e32d19e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      102400    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2              13        6387    51200000    7  HPFS/NTFS
/dev/sda3            6387        7025     5120000   83  Linux
/dev/sda4            7025       19458    99866624    5  Extended
/dev/sda5            7025       10085    24576000   83  Linux
/dev/sda6           10085       10467     3072000   82  Linux swap / Solaris
/dev/sda7           10467       19458    72215552   83  Linux

Last edited by darran; 06-06-2010 at 06:38 PM.
 
Old 06-06-2010, 07:01 PM   #6
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu
Posts: 1,216

Rep: Reputation: 238Reputation: 238Reputation: 238
Are you sure it wouldn't be better to just shrink the Win7 partition but keep it around? Just asking
 
Old 06-06-2010, 09:26 PM   #7
rich_c
Member
 
Registered: Apr 2008
Location: UK
Distribution: Mepis; Maemo; openSUSE
Posts: 384
Blog Entries: 74

Rep: Reputation: 81
I am contemplating a similar excercise. I have two possible methods in mind.

The first is to make a backup of all my data and do a fresh install using the whole disk.

The second is to back up the data on my Windows partition and reformat that as Ext3 to be mounted as a seperate data directory.

I'm sort of leaning toward the fresh install when the next full version of Mepis comes out.
 
Old 06-07-2010, 11:04 AM   #8
darran
LQ Newbie
 
Registered: Jan 2010
Location: UK
Distribution: Fedora Project 13
Posts: 14

Original Poster
Rep: Reputation: 0
I was thinking about wiping windows and formatting it too, but to ex4(fedora 13).

Code:
/dev/hdb1  	/home2  	ext4  	defaults  	1 2
hdb1 will be replaced with the relevant partition
/home2 will be created in the same directory as home(so in root i think)

Would this be any good to add to my fstab?

Last edited by darran; 06-07-2010 at 11:07 AM.
 
Old 06-07-2010, 02:39 PM   #9
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 3,911

Rep: Reputation: 599Reputation: 599Reputation: 599Reputation: 599Reputation: 599Reputation: 599
would you be able to delete/shrink/grow the partitions with gparted live cd/usb.
 
Old 06-07-2010, 03:49 PM   #10
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
It is not going to work out!

Your Windows are in primaries sda1 and sda2.

If you have a separate /home it would be sda7 (full details in /etc/fstab) which is a logical partition at the end.

You cannot mix space from a primary partition (or partitions) with a logical partition unless they are neighbouring each other in a hard disk.

It is like having a bathroom between bedroom 1 and bedroom 2. You can't combine the two together. If there is no bathroom in between you can at least knock down the wall in between to make two rooms into one.

You could remove sda1 and sda2 and shift everything upward in the hard disk so the the space is available at the bottom of the disk to be absorbed into sda7 but there is a lot of shifting work. You will also need to restore Grub once the hard disk address has been changed.

I would clone the 200Gb disk into a larger disk and use the additional space. The 2TB hard disks are now being sold at probably the same price when you bought the 200Gb!

Last edited by saikee; 06-07-2010 at 03:51 PM.
 
Old 06-08-2010, 10:17 AM   #11
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 3,911

Rep: Reputation: 599Reputation: 599Reputation: 599Reputation: 599Reputation: 599Reputation: 599
^i would at least play around with gparted live to see if it is possible to move/copy/delete/resize partitions the way you like.
 
Old 06-09-2010, 08:08 AM   #12
darran
LQ Newbie
 
Registered: Jan 2010
Location: UK
Distribution: Fedora Project 13
Posts: 14

Original Poster
Rep: Reputation: 0
I have a Parted Magic live disk for partition editing, how would I re-install grub, not sure how to do it?
 
Old 06-09-2010, 08:26 AM   #13
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 3,911

Rep: Reputation: 599Reputation: 599Reputation: 599Reputation: 599Reputation: 599Reputation: 599
these look promising:
http://www.howtogeek.com/howto/ubunt...-wipes-it-out/
http://ilovefedora.blogspot.com/2009/05/reinstall.html
 
Old 06-09-2010, 04:04 PM   #14
jefro
Guru
 
Registered: Mar 2008
Posts: 11,317

Rep: Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386
You can simply make any partition and attach it to the system as space. You don't really have to merge delete or expand partitions if you don't want to.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Win7 and dual Ubuntu 9.10 partitions asookazian Linux - Newbie 32 03-28-2010 10:21 PM
dualboot win7 & linux schdvir Linux - General 4 12-29-2009 12:29 AM
Multiple distros + win7 on one disk - possible? roshichris Linux - Newbie 11 11-24-2009 11:55 AM
ssh to win7 in vbox j1alu Linux - Virtualization and Cloud 7 10-16-2009 09:36 AM
How does Win7 stack up against Fedora 11? bjrogersIV Linux - Newbie 21 09-26-2009 08:45 AM


All times are GMT -5. The time now is 02:37 AM.

Main Menu
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