User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Linux Users Lounge section within the Tech Talk category of DaniWeb, a massive community of 456,428 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,572 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Linux Users Lounge advertiser: Lunarpages Linux Web Hosting
Views: 2804 | Replies: 18
Reply
Join Date: Jan 2007
Posts: 38
Reputation: J_M44053 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
J_M44053 J_M44053 is offline Offline
Light Poster

Help Hard drive partitioning problem

  #1  
Jul 16th, 2007
I switched to Linux then back to Windows, and now I'm trying to go back to Linux again. But somewhere I messed up. Now Linux won't install, saying ext 3 cant be created. Also all my partitions are gone for some reason. Any suggestions?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Apr 2006
Location: Canada
Posts: 4,534
Reputation: John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light 
Rep Power: 17
Solved Threads: 283
Moderator
Featured Blogger
John A's Avatar
John A John A is offline Offline
Vampirical Moderator

Re: Hard drive partitioning problem

  #2  
Jul 17th, 2007
So Windows still boots? What are you trying to do, erase your hard drive and everything on it, and just single-boot Linux? Or are you trying to dual-boot between Windows and Linux?

If you have a Linux prompt, post the output of this command:
fdisk -l /dev/hda
If you've got a SCSI or SATA drive, replace 'hda' with 'sda'.
tuxation.com - Linux articles, tutorials, and discussions
Reply With Quote  
Join Date: Jan 2007
Posts: 38
Reputation: J_M44053 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
J_M44053 J_M44053 is offline Offline
Light Poster

Re: Hard drive partitioning problem

  #3  
Jul 17th, 2007
Windows doesn't work, for some reason. The partitions are gone and I cant get anything to install. I just want to single boot Ubuntu. Do you think my hard drive died?
Reply With Quote  
Join Date: Apr 2006
Location: Canada
Posts: 4,534
Reputation: John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light 
Rep Power: 17
Solved Threads: 283
Moderator
Featured Blogger
John A's Avatar
John A John A is offline Offline
Vampirical Moderator

Re: Hard drive partitioning problem

  #4  
Jul 18th, 2007
Get a Linux terminal open. Try writing zeroes all over your disk first:
dd if=/dev/zero of=/dev/hda

Now that your hard disk is erased, try starting up the Ubuntu installer and see if it will let you create an ext3 partition.
tuxation.com - Linux articles, tutorials, and discussions
Reply With Quote  
Join Date: Jan 2007
Location: India
Posts: 192
Reputation: shouvik.d is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 6
shouvik.d's Avatar
shouvik.d shouvik.d is online now Online
Junior Poster

Re: Hard drive partitioning problem

  #5  
Jul 23rd, 2007
using a live disk can u mount your hard disk. is it accepting the mount partitions and showing anything atleast??
Regards
Shouvik
Reply With Quote  
Join Date: Jan 2007
Posts: 38
Reputation: J_M44053 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
J_M44053 J_M44053 is offline Offline
Light Poster

Re: Hard drive partitioning problem

  #6  
Aug 15th, 2007
Every time I try to mount the hard disk I get nothing. The message I get is ext3 file system in partition #1 of IDEI master (hda) failed.
Reply With Quote  
Join Date: Apr 2006
Location: Canada
Posts: 4,534
Reputation: John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light 
Rep Power: 17
Solved Threads: 283
Moderator
Featured Blogger
John A's Avatar
John A John A is offline Offline
Vampirical Moderator

Re: Hard drive partitioning problem

  #7  
Aug 15th, 2007
Did you try erasing your hard drive and recreating the partition table, and finally reformatting the partition(s)?
tuxation.com - Linux articles, tutorials, and discussions
Reply With Quote  
Join Date: Jan 2007
Posts: 38
Reputation: J_M44053 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
J_M44053 J_M44053 is offline Offline
Light Poster

Re: Hard drive partitioning problem

  #8  
Aug 16th, 2007
How do I do that?
Reply With Quote  
Join Date: Apr 2006
Location: Canada
Posts: 4,534
Reputation: John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light 
Rep Power: 17
Solved Threads: 283
Moderator
Featured Blogger
John A's Avatar
John A John A is offline Offline
Vampirical Moderator

Re: Hard drive partitioning problem

  #9  
Aug 16th, 2007
Boot into recovery mode off of a Linux CD.

To erase your hard drive:
dd if=/dev/zero of=/dev/hda

To recreate your partition table:
cfdisk /dev/hda
Then create your partitions, write to disk, and exit.

Then reinstall Linux on the newly-created partitions, and make sure you tell the installer to reformat the partitions one more time. And for good measure, make sure to install your bootloader (usually GRUB or LILO) to the MBR (which is usually the default behavior).
tuxation.com - Linux articles, tutorials, and discussions
Reply With Quote  
Join Date: Jan 2007
Posts: 38
Reputation: J_M44053 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
J_M44053 J_M44053 is offline Offline
Light Poster

Re: Hard drive partitioning problem

  #10  
Aug 22nd, 2007
I tried the command
dd if=/dev/zero of=/dev/hda

but i got an acess denied after hitting enter.\

Also I couldnt find a recovery mode on the Ubuntu main menu of the live cd.
Last edited by J_M44053 : Aug 22nd, 2007 at 6:46 pm.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Linux Users Lounge Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Linux Users Lounge Forum

All times are GMT -4. The time now is 1:18 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC