LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 03-16-2004, 04:07 PM   #1
LinuxSeeker
Member
 
Registered: Feb 2004
Location: Linuxland
Distribution: Ubuntu 5.10, KUbuntu 5.10, Mandrake 10.1 - Ubuntu 5.04 (Hoary)
Posts: 346

Rep: Reputation: 30
Exclamation Deleting Windows Partition


I have 2 partitions in my hdd. My Linux partition is almost full and I need to use the second partition (Windows).

1 Can I just delete the Windows partition and use its space for Linux?
2 If I format it with the ext3 filesystem will I be able to merge it with my existing "/" Partition?
3 Can I just format it with the ext3 filesystem and use it...?
 
Old 03-16-2004, 05:35 PM   #2
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
You will need to delete the Windows partition and make a Linux one, or expand the old one. ext2/3 can expand forward, but not back. Merging isn't the word for it. Expanding the partition will be tricky. You will use fdisk and resize2fs:

first, delete the '/' w/ fdisk (assuming you also deleted the Windows one too)
This does not erase the data. Then, make a new, bigger partition. It has to start in the same place the '/' was. Now partition will be big, but if you mount it, it will appear to be the same size it was before. This is where resize2fs comes in. Just run it, and it will expand the filesystem to the new size.

You will need to use a bootdisk for this.
Also, there is an app on Knoppix called QtParted for resizing, this may be easier.
 
Old 03-16-2004, 05:53 PM   #3
moonloader
Member
 
Registered: Nov 2003
Location: linuxquestions.org
Distribution: Linux and BSD
Posts: 229

Rep: Reputation: 30
sure you can delete the partition and create or resize,but you can't make the size bigger then it is,because there is script between the partitions only way is delete and format and reinstall Linux,well you can do that in windows with program called partition magic like reclaim size.if you have windows installed do it with partition magic,if you have,if you don't have just download and install trial version for a while.you will log in to windows and with partition magic try resize Linux partition and take the whole windows partition then press apply and your computer will reboot and partition magic will work sure it will be gone too,why you have to try this,because you can save your Linux partition without deleitng it,or you have to delete or partitions in your computer and reinstall Linux or anyother.of course,if you want bigger space for your OS
 
Old 03-16-2004, 06:02 PM   #4
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
For my earlier plan to work, the Windows partition has to be right after the linux one.
Try this instead:
copy a large folder to another partition: (like /usr, often the biggest of all)
*as root, in text single-user mode. Assumes new partition is ready*
mv /usr /usr.old
mkdir /usr
mount /dev/[new partition] /usr
umask 000
cp -a /usr.old/* /usr
*add the new partition to the /etc/fstab, and test it out. if all works well, delete /usr.old*
 
Old 03-16-2004, 08:19 PM   #5
Capblanc
LQ Newbie
 
Registered: Mar 2004
Posts: 17

Rep: Reputation: 0
Quote:
Originally posted by moonloader
[...] download and install trial version for a while.you will log in to windows and with partition magic try resize Linux partition and take the whole windows partition then press apply and your computer will reboot and partition magic will work [...]
Actually, it won't work. The demo version of Partition Magic will allow you to see and manipulate your partitions, however the demo will not allow the changes to be WRITTEN to the HDD.

Also, if you did have a fully functional copy of PM, it would be better to create a set of PM emergency diskettes and run PM in DOS.

If you want a less expensive, but more effective partitioning tool that is also a boot manager and imaging tool, check out BootIT NG.

For the price, it is a great utility.

http://www.terabyteunlimited.com/

Does not need DOS to run.
 
Old 03-17-2004, 10:48 AM   #6
moonloader
Member
 
Registered: Nov 2003
Location: linuxquestions.org
Distribution: Linux and BSD
Posts: 229

Rep: Reputation: 30
just download from bittorrent then,by the way when partition magic is installed and after you make boot disks,boot disks will work if you don't resize or create partition with Linux partition tools then it doesn't recognize the partition or partitions because partition was not created with it,when you try to work with boot disks
good luck
 
Old 03-17-2004, 07:07 PM   #7
vi0lat0r
Member
 
Registered: Aug 2003
Location: Lewisville, TX
Distribution: Kubuntu
Posts: 295

Rep: Reputation: 30
ok, how are you supposed to remove your windows partition... OH! By installing something in windows and running it, of course! That makes perfect sense... Is it just me or is that in no way even POSSIBLE? You cannot remove a partition that an operating system is using... in the operating system that is using it...

Just do an upgrade or fresh install of linux and make the changes when it gives you the option.
 
Old 03-18-2004, 06:49 AM   #8
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Quote:
Originally posted by vi0lat0r
ok, how are you supposed to remove your windows partition... OH! By installing something in windows and running it, of course! That makes perfect sense... Is it just me or is that in no way even POSSIBLE? You cannot remove a partition that an operating system is using... in the operating system that is using it...

Just do an upgrade or fresh install of linux and make the changes when it gives you the option.
What makes you think this is the partition Windows resides on? And Partition Magic has bootdisks to boot w/o Windows running.
 
Old 03-18-2004, 10:53 AM   #9
e-nDrju
LQ Newbie
 
Registered: Mar 2004
Location: Poland
Distribution: openSUSE 11.4
Posts: 16

Rep: Reputation: 0
i think, that this is the fastest and easiest way:
1. download PartitionMagic (illegal! :P ) and manage your partitions in graphical and non-realtime mode.
2. use PARTED (partition manager in LINUX - not sure that it is in Mandrake. If not - use fdisk or cfdisk
 
Old 03-18-2004, 10:57 AM   #10
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
How about: Use QtParted, and manage your partitions graphically.
 
Old 03-18-2004, 11:42 AM   #11
vi0lat0r
Member
 
Registered: Aug 2003
Location: Lewisville, TX
Distribution: Kubuntu
Posts: 295

Rep: Reputation: 30
Re: Deleting Windows Partition

aaa :

Quote:
Originally posted by LinuxSeeker
...the second partition (Windows).

1 Can I just delete the Windows partition and use its space for Linux?
2 If I format it with the ext3 filesystem will I be able to merge it with my existing "/" Partition?
3 Can I just format it with the ext3 filesystem and use it...?
Alright, someone said to just download and install the trial of partition magic for windows... which would mean you have to be in windows to install it... no?
 
Old 03-18-2004, 11:53 AM   #12
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
In answer to your original question: Yes you can remove the Windows partition. There are a lot of way to do this. You can use the Windows boot disk, and run fdisk, or you can use your Mandrake install CD and use the Mandrake disk partitioning utility, from within the Update function [likely to be the safest way - you will need to press <F1> at the boot: prompt, and enter 'expert' [no quotes]]. If you have a copy of Partition Magic on a rescue disk set [any version 8.0 or later should support ext3] that will be the easiest way. The reference above to BootIT NG is a good suggestion - have never used that one, but have heard only good reports.

HTH,
 
Old 03-18-2004, 03:48 PM   #13
moonloader
Member
 
Registered: Nov 2003
Location: linuxquestions.org
Distribution: Linux and BSD
Posts: 229

Rep: Reputation: 30
question is he wants to delete windowz partition and resize the Linux parition!to delete the windoze partition is quite easy and there is a nice tool in mdk controlcenter to do that,how about resizing??thats why I recomended partition magic to use in windoze
 
Old 03-18-2004, 04:35 PM   #14
klatu
Member
 
Registered: Nov 2003
Location: Texas
Distribution: Slackware 9.1, Fedora Core 1 & Mandrake 9.2
Posts: 31

Rep: Reputation: 15
vi0lat0r said:

"ok, how are you supposed to remove your windows partition... OH! By installing something in windows and running it, of course! That makes perfect sense... "


Thats one of the best ways to "get rid" of Windows!
 
Old 03-18-2004, 04:39 PM   #15
vi0lat0r
Member
 
Registered: Aug 2003
Location: Lewisville, TX
Distribution: Kubuntu
Posts: 295

Rep: Reputation: 30
Haha! Didn't even think of it like that :P
 
  


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
How to bypass 'Grub' after deleting the Linux partition, so that Windows XP can load? Marion D Poff Linux - Software 11 03-15-2011 03:52 PM
Deleting Linux Partition Elader Linux - General 1 04-20-2005 06:01 PM
deleting windows partition rksprst Mandriva 1 01-04-2005 04:33 AM
Deleting Windows partition without damaging Linux GT_Onizuka Linux - General 1 12-29-2004 07:44 PM
Deleting NTFS Boot partition spaceape Linux - Newbie 3 01-09-2003 07:52 PM


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

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