Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
11-22-2008, 02:35 PM
|
#1
|
Member
Registered: Mar 2008
Location: Marbella, Spain
Distribution: Many and various...
Posts: 917
Rep:
|
Best partitioning software
Hi guys,
I bought a new Acer Aspire AMD64 2-core desktop the other day and it had Windoze Vista Basic Home pre-installed on it and this has caused me a great deal of trouble as it renders Partition Magic useless. I've noticed before that Windows OS/s often behave like uneradicable viruses and Vista is proving no exception. It's really buggered up the hard drive. I wish more manufactuers would give us the 'no Operating System' option when purchasing new hardware.
Anyway, what I want to do is totally reformat the entire drive, removing the three partitions the 'geniuses' who pre-installed 'doze created. As I said I am unable to use Norton Partition Magic because the presence of a Vista volume on the HDD causes it to crash. So I've tried GParted and QTParted, but neither of them seem to be able to convert unallocated space into ext3. I'm not sure if this is a fundamental flaw in Parted or simply a bug in the two GUIs., but whatever it is, clicking on the unallocated space (over 200GB) just reveals a list of greyed-out unavailable options.
Question 1. Is this a known problem with QTParted and GParted?
Question 2. What is the best program for re-partitioning HDDs in Linux?
Question 3. Does my best immediate option lie with fdisk, cfdisk or something else altogether?
THanks!
|
|
|
11-22-2008, 02:37 PM
|
#2
|
Member
Registered: Mar 2008
Location: Marbella, Spain
Distribution: Many and various...
Posts: 917
Original Poster
Rep:
|
Partitioning nightmare thanks to pre-installed Vista
Hi guys,
I bought a new Acer Aspire AMD64 2-core desktop the other day and it had Windoze Vista Basic Home pre-installed on it and this has caused me a great deal of trouble as it renders Partition Magic useless. I've noticed before that Windows OS/s often behave like uneradicable viruses and Vista is proving no exception. It's really buggered up the hard drive. I wish more manufactuers would give us the 'no Operating System' option when purchasing new hardware.
Anyway, what I want to do is totally reformat the entire drive, removing the three partitions the 'geniuses' who pre-installed 'doze created. As I said I am unable to use Norton Partition Magic because the presence of a Vista volume on the HDD causes it to crash. So I've tried GParted and QTParted, but neither of them seem to be able to convert unallocated space into ext3. I'm not sure if this is a fundamental flaw in Parted or simply a bug in the two GUIs., but whatever it is, clicking on the unallocated space (over 200GB) just reveals a list of greyed-out unavailable options.
Question 1. Is this a known problem with QTParted and GParted?
Question 2. What is the best program for re-partitioning HDDs in Linux?
Question 3. Does my best immediate option lie with fdisk, cfdisk or something else altogether?
THanks!
|
|
|
11-22-2008, 02:49 PM
|
#3
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
|
How is your hd divided into partitions at the moment? Do you have any logical partitions or all of them are primary. It might be the case that you can't add any more partitions due to the fact that you've run out of primary partitions. If you just want to reformat the entire drive (and get rid of vista) why don't you just insert a linux installation cd and install a system on the drive - it will let you partition t it.
|
|
|
11-22-2008, 03:01 PM
|
#4
|
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,385
|
Quote:
Originally Posted by Completely Clueless
I've tried GParted and QTParted, but neither of them seem to be able to convert unallocated space into ext3. I'm not sure if this is a fundamental flaw in Parted or simply a bug in the two GUIs., but whatever it is, clicking on the unallocated space (over 200GB) just reveals a list of greyed-out unavailable options.
|
Partitioning must occur before you format a file system. Since you are having trouble trying to give gparted the command to do both at once (which it will do) I suggest that you break the problem up into separate programs.
You can do the partitioning with fdisk. Then format each partition with the mkfs command. If you create a swap partition then format that with the mkswap command.
--------------------
Steve Stites
|
|
|
11-22-2008, 03:02 PM
|
#5
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
Vista will allow you the change it's partition size inside of Vista. I don't recall how to get there, and it was probably ten levels down in the admin/control panel area, but IMO that's the only GOOD feature of Vista. So a) let Vista take care of it's own partition. Then use the other tools to play with the scraps. IMO
|
|
|
11-22-2008, 03:04 PM
|
#6
|
Member
Registered: Feb 2008
Location: Michigan
Distribution: Debian GNU/Linux Unstable
Posts: 144
Rep:
|
1.: I never have any problems with GParted, maybe you had a bad burn. Check md5 sums and burn at a lower speed.
2.: Parted. Just parted, no front end.
3.: I don't think so.
|
|
|
11-22-2008, 03:11 PM
|
#7
|
Senior Member
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152
Rep:
|
I always just use fdisk. who needs the fany gui. if you use fdisk and want help let me know.
|
|
|
11-22-2008, 04:15 PM
|
#8
|
Member
Registered: Mar 2008
Location: Marbella, Spain
Distribution: Many and various...
Posts: 917
Original Poster
Rep:
|
Quote:
Originally Posted by sycamorex
How is your hd divided into partitions at the moment? Do you have any logical partitions or all of them are primary. It might be the case that you can't add any more partitions due to the fact that you've run out of primary partitions. If you just want to reformat the entire drive (and get rid of vista) why don't you just insert a linux installation cd and install a system on the drive - it will let you partition t it.
|
Well that partly answers my questions, I guess and I must admit that possibility had slipped my mind. But various distros are no doubt better than others at creating initial partitions. Possibly the answer is to use the best distro for creating and formatting the partitions, then switching to my preferred distro (Debian etch) for the actual install itself. So what's a good distro for initial partitioning? The HDD is 320Gb and I'd like four roughly equal partitions plus a 3Gb swap; a simple enough scheme in itself.
I'm still curious about the answers to the other points, though.
Last edited by Completely Clueless; 11-22-2008 at 04:17 PM.
|
|
|
11-22-2008, 04:21 PM
|
#9
|
Member
Registered: Apr 2008
Location: Melbourne, Australia
Distribution: Slackware 12.2
Posts: 52
Rep:
|
Quote:
Originally Posted by Completely Clueless
Well that partly answers my questions, I guess and I must admit that possibility had slipped my mind. But various distros are no doubt better than others at creating initial partitions. Possibly the answer is to use the best distro for creating and formatting the partitions, then switching to my preferred distro (Debian etch) for the actual install itself. So what's a good distro for initial partitioning? The HDD is 320Gb and I'd like four roughly equal partitions plus a 3Gb swap; a simple enough scheme in itself.
I'm still curious about the answers to the other points, though.
|
Slackware allows you to run cfdisk from the command line without having to install anything (it's generally used for pre-install partitioning). You could try just downloading the first cd, it should be on there. I'm not sure what your download cap is like (mine's only 5gb/month) so if there's a smaller option out there then that would be ideal. Any takers?
|
|
|
11-22-2008, 04:47 PM
|
#10
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,379
|
Just use "dd" to zap out the start of the disk - one of the few legitimate uses for this. If you have a bootable Linux disk - say the gparted liveCD or Knoppix, or whatever open a terminal, and as root
Code:
dd if=/dev/zero/ of=/dev/sda count=100
As it's a new machine presuming sda is the correct disk address correct - else things will get ugly.
The count is somewhat arbitrary.
Last edited by syg00; 11-22-2008 at 04:49 PM.
|
|
|
11-22-2008, 04:57 PM
|
#11
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,379
|
Seems I just replied to (almost) a duplicate of this - reporting this to see if we can get them merged.
|
|
|
11-22-2008, 05:27 PM
|
#12
|
Member
Registered: Mar 2008
Location: Marbella, Spain
Distribution: Many and various...
Posts: 917
Original Poster
Rep:
|
Quote:
Originally Posted by syg00
Just use "dd" to zap out the start of the disk - one of the few legitimate uses for this. If you have a bootable Linux disk - say the gparted liveCD or Knoppix, or whatever open a terminal, and as root
Code:
dd if=/dev/zero/ of=/dev/sda count=100
As it's a new machine presuming sda is the correct disk address correct - else things will get ugly.
The count is somewhat arbitrary.
|
So I wipe the boot sector. I must be missing something as I can't see how that helps?
|
|
|
11-22-2008, 06:05 PM
|
#13
|
Member
Registered: May 2008
Distribution: funtoo/gentoo amd64 xwrt
Posts: 412
Rep:
|
download a slackware 12.1 iso, and write down the directory trees of a slackware server. boot to the slackware 12.1 disk, and run cfdisk /dev/hda0 /dev/hda1 /dev/hda2 so on so on so on untill you delete all the partitions. it could be /dev/hda does the trick and shows all of the hard drives partitions. /dev/sda0 1 2 3 4 so on for sata drives, and possibly /dev/sda or /dev/sdb(if its on a secondary chanel) or /dev/sdc(if on a 3rd channel) so on. when installing slackware, install from a http or ftp server rather than the cd. it helps to have a spare computer to look up the directories needed from ftp/http servers.
|
|
|
11-22-2008, 06:35 PM
|
#14
|
LQ Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019
Rep: 
|
From what I understand, the best option to resize Vista is to use its own disk management tools.
Also, if you have one of those install/repair partitions at the end of the drive, you should really make an image of your vista install as that is probably the best way of not overwriting all of your disk again if you ever need vista to be reinstalled.
|
|
|
11-22-2008, 08:06 PM
|
#15
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
Merged your two identical threads together...
|
|
|
All times are GMT -5. The time now is 01:50 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|