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,615 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: 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

  #11  
Aug 23rd, 2007
In the Ubuntu boot window, there should be an option that says "configure boot parameters" or something along those lines. Just add single to the end, and hit enter to boot. You should reach the root prompt eventually, in which case you'll have the sufficient privileges to execute the dd command.
tuxation.com - Linux articles, tutorials, and discussions
Reply With Quote  
Join Date: Dec 2006
Location: Nairobi, Kenya
Posts: 65
Reputation: ramjo is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 3
ramjo ramjo is offline Offline
Junior Poster in Training

Re: Hard drive partitioning problem

  #12  
Aug 23rd, 2007
Is your hard disk detected by bios if so try using fdisk of active kill disk to erase the drive. If you want to recover a partiton to sace data get partion table doctor save the data you need then format the hard drive
Reply With Quote  
Join Date: Dec 2006
Location: syria
Posts: 158
Reputation: w_3rabi is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 8
w_3rabi's Avatar
w_3rabi w_3rabi is offline Offline
Junior Poster

Re: Hard drive partitioning problem

  #13  
Aug 23rd, 2007
if u want to install ubuntu
after booting from the cd normally
you shold find some icon on the desktop says "install" it is gonna launch a wizard wich includes a partitioning tool
it is not that hard to use
u could delete the partitions and create the ones u need
programming is an art ,only for those who can understand it.
- th3 php wr3nch -
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

  #14  
Aug 27th, 2007
I was able to get into the recovery mode by adding single to the boot paramaters, and when I did I used both the dd if=/dev/zero of=/dev/hda and fdisk -l /dev/hda commands. I then got a string of numbers in brackets followed by text such as request timed out and unable to reach drive, or something along those lines. Then a critical error message appeared. What does this mean?
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

  #15  
Aug 28th, 2007
>What does this mean?
It means you need to get a new hard drive. ;-)
tuxation.com - Linux articles, tutorials, and discussions
Reply With Quote  
Join Date: Jul 2008
Posts: 2
Reputation: dfmalh is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
dfmalh dfmalh is offline Offline
Newbie Poster

Re: Hard drive partitioning problem

  #16  
Jul 7th, 2008
Hi I an external HD problem.

Here is my situation:

I bought a Seagate Barracuda 500GB SATA 32Mb Cash HD on Friday to use as an external backup HD (thesis, movies, music, etc). The HD is in an Eagle Consus case (support usb2.0 and up to 750GB HDs).

On a XP system, I could partition the Drive but I was unable to format it. Apparently there is some "time-out" error between the USB2 and the SATA connection, I am not exactly sure what it means exactly... but the bottom line is that it can't format the external that way.

I am not familiar with how to partition and format in linux (Ubuntu) so that is why I opted to go for XP... bad choice!

I installed Gparted, and after a long struggle got all the partitions removed, and created new ones. I created 3 partitions, and formated to the FAT32 file system (as a start), checked the 3 drives and they worked, mounted correctly, in Ubuntu and on the XP system.

So I decided to to change the first partition to ext3 file system, and one of the others to NTFS (I downloaded and installed ntfsprogs to do that). Everything fine, and everything is working.

The drives names are however the respective sizes of each partition... that won't do, so I tried to rename them...

I used this for the FAT32 partition: sudo mlabel -i /dev/sdb2 ::usbfat32
and this for the NTFS partition: sudo mlabel -i /dev/sdb3 -s ::usbntfs
and this for the EXT3 partition: sudo e2label /dev/sdb1 usbext3

...bad idea! now none of the drives work.

See the attached picture of the pop up window.

The ext3 and fat32 partitions are mounted, but when you try and access them, it does not work.

When I unmount the drives, I get a message that data is being written to the drive, and I can not unplug the drive. After a while the message disappear, and a new message says that it is now safe to remove drive.

In Gparted I can see the different partitions. See picture.

I included the information windows for the NTFS drive that does not want to mount and also the information window for the ext3 (first partition) which gives me a "superblock" error message.

I can't run a check on any of the drives, it won't work. I can't remove any of the partition, because then the external drive "unmount"...

So, all I want to do is to delete all 3 partitions and start from scratch to create new partition.

Can anybody help with this? Please...

ps. After I changed the FAT32 partition to EXT3 the partition seemed "larger", and the same for the NTFS partition, maybe it is something to do with that...
Attached Images
File Type: png Screenshot-gnome-mount.png (28.5 KB, 2 views)
File Type: png Screenshot--dev-sdb - GParted.png (37.5 KB, 0 views)
File Type: png Screenshot-Information about -dev-sdb3.png (58.7 KB, 0 views)
File Type: png Screenshot-Information about -dev-sdb1.png (33.5 KB, 0 views)
Reply With Quote  
Join Date: Jan 2008
Posts: 3
Reputation: Malksimon is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Malksimon Malksimon is offline Offline
Newbie Poster

Re: Hard drive partitioning problem

  #17  
Sep 5th, 2008
have you tried letting the live install create the partitions for you? if so do you still get the error?
Reply With Quote  
Join Date: Jan 2008
Posts: 3
Reputation: Malksimon is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Malksimon Malksimon is offline Offline
Newbie Poster

Re: Hard drive partitioning problem

  #18  
Sep 5th, 2008
have you tried mounting teh volume again and with Gparted you can re create the disk or are you getting an erro?
Reply With Quote  
Join Date: Jul 2008
Posts: 2
Reputation: dfmalh is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
dfmalh dfmalh is offline Offline
Newbie Poster

Re: Hard drive partitioning problem

  #19  
Sep 5th, 2008
Hi Malksimon,

Thanks for your reply. I haven't had the time to come back to this post, but I solved the problem. It wasn't really in my hands, the HD was brand new and the first 200+ sectors were bad. Got a new HD (swoped as it was only a day old) and had no problems partitioning and formating with Gparted.
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:24 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC