Lost a partition, cant format hdd!! Help
Lost one partition and then crash, now all I see on fdisk of 16ogb is 15gb... How do I get my hdd back so I can clean it?
|
Have you tried cdfisk ?
Quote:
Code:
cfdisk 2.12p usually, your primary hard disk is the default and known as /dev/hda, however in your case it might be: cfdisk /dev/hdd from your description there's nothing on your hard disk worth saving so just delete the partitions you have and create a whole new scheme. for slackware you'll need at least two partitions (one for root another for swap). check out my thread on how to do a good partition break down (see my signature) - perry |
Can't repartition only have 15gb /dev/hdg1
Everything else is gone... don't care about losing anything
just alot of time and effort and my hdd. Need some sleep. |
try test disk if you have lost your partition tables.
What you have posted seems so vague that I can't really help you out. |
Quote:
Your sig shows the disk as a ATA 160 seagate. Get the diagnostic disk from their web site, that is if you don't have it already. Run it. You could use the ranish Partition Manager to assist you. If you had copied the fdisk output then you would have the blocks for each partition to assist in the restore if possible. If the drive is not trashed then you should be able to recover if you want to spend some time with it. Otherwise just use the utilities to repartition and format the drive. |
Thanks onebuck
The hdd is new and I just want to recover the space. If I boot with Slackware install disks Setup sees all the partitions but when I reboot nothing works and if I try fdisk it doesn't see anything but root directory.
If I can get into the 15g root directory how can I I format from there? I don't know what utilities u are referring to am looking at partition manager and segate disk now. |
Cfdisk only sees 15g root as does fdisk, given that this is a dualboot how to I get Dban to run on the slackware hdd? I can use install disk to boot onto linux hdd. Can't seem to mount fd01. FYI seagate diagnostic sees Slackware hdd from Dos partition and all 6partitions but provides no tools to reformat linux.
|
Please post the actual commands you are running and the actual output of those commands, as your descriptions are somewhat ambiguous (for example, when you say hdd do you mean /dev/hdd or "hard disk drive", what do you mean fdisk only "sees" the root partition, etc).
Brian |
Quote:
If you boot the install cd1 and you see the partitions using fdisk then just write the partition table from fdisk with the 'w' command. Then reboot to update the partition table. Reboot with the cd1. You can then format the partition(s); Code:
~#mke2fs -c -j -L MyPart1 /dev/hda1 #change to your /dev I will format all my partitions before a install. The reason is to check the hd space and label the partition(s). You can use the ranish manager to do restore if a IPL(Initial Program Loader) or SPL (Secondary Program Loader) has a problem. It could be worth a try if you had something you must recover. |
My hard drive is:
15gb /dev/hdg1 / 40gb /dev/hdg2 /home E /dev/hdg3 5gb 1gb /dev/hdg5 /swap 2gb /dev/hdg6 /tmp 2gb /dev/hdg7 /var 40gb /dev/hdg4 /home I boot slackware with install Cd1 I can login as root. At command# fdisk /dev/hdg1 In fdisk program display: It says that I have a 15.2gb hard drive and when I enter P Fdisk displays no partitions. I tried cfdisk /dev/hdg1 with the same results. Now since the Slackware12 install cd1 boots right up and Slackware12 Setup has no problem reading the partitions posted here I just kept doing slow formats till I thought it safe to reinstall. I have reinstalled. My question now is: can someone please show me howto look up my partition table so I can see what is there, without entering the fdisk program? onebuck, can you tell me how I can printout my partition table? Thank you all for your patience with this old lady. |
Quote:
the reason i recommend this approach, is that if there is anything wrong with your hard disk, gparted will be the first to find out for sure. you'll find it on it's desktop via right-mouse click! worth a shot! - perry |
check out your command, you should have typed "fdisk /dev/hdg" and not "fdisk /dev/hdg1".... or is it a typo?
|
Quote:
Quote:
Quote:
The following; Quote:
Boot the install cd1 and do a 'fdisk -l >myfdisk'. Post the output 'myfdisk' so we can get a true picture. The command from cli 'fdisk -l' will print the partition information to the screen for you. By redirecting the output to the file 'myfdisk' you will have a means to show us the correct partition information. If you want to print the information then direct the output to your printer, that is if it is setup. If your machine supports usb then mount a flash and direct it by; 'fdisk -l >/mnt/flash/myfdisk' from the cli. Then you should be able to move the flash to a working system to post the file. |
Quote:
And it was pointed out to you that the Slackware 12 install cd has the parted available to the user. |
Quote:
Brian |
All times are GMT -5. The time now is 09:43 AM. |