Im trying to kill a fluffed partition, and im having no such luck.
Quotesoopahfly@soopahfly-laptop:~$ sudo e2fsck -p /dev/hda6
/dev/hda6 is mounted.
WARNING!!! Running e2fsck on a mounted filesystem may cause
SEVERE filesystem damage.
Do you really want to continue (y/n)? yes
e2fsck: Bad magic number in super-block while trying to open /dev/hda6
/dev/hda6:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193
(http://img130.imageshack.us/img130/733/screenshotvf8.th.png) (http://img130.imageshack.us/my.php?image=screenshotvf8.png)
Ive tried unmounting but it says its not mounted.
I cant kill the partition to make it useable again :(
used any other app? i use gparted.
can you format it first as ext3 then try delete it?
its only logical and i cant see any obvious probs
make sure it doesnt get mounted in /etc/fstab then restart the comp and try again
Used by Hoff lovers everywhere: http://gparted.sourceforge.net/livecd.php
That is GtParted.
its Q T Parted not Gparted
go with skidzillas post so they arent mounted
Tried, the live cd hangs before I get to the GUI.
Did ya run the diagnostic software for your HDD? Its always good ta rule that out. Only time I started cursing Ubuntu serioiusly was when it was actually Maxtor being a twat.
Na, its not the HDD, its something Ive done.
Tried hiren too! Ive got v8.3 here.
Quote from: soopahflyTried hiren too! Ive got v8.3 here.
k Ill remove link ;)
Wink Wink, Nudge Nudge - Say no more!
Did u try good ole delpart which is on the CD ?
No actually. I dont know where the original cd is now.
hmm.
I think I threw it at a collegue.
Firstly try cfdisk (terminal based partition proggy, real easy to use) and see if that lets you delete it.
As a last resort before just nuking everything you could try the following (and no im not responsible for you stuffing it up ;) )
Here goes:
* Boot off cd
* Create raw backup of existing parition table just incase:
dd if=/dev/hda of=backup.bin bs=512 count=1
* Copy backup.bin to somewhere safe.
* Now create a text dump of your partion table:
sfdisk -d /dev/hda > partitions.txt
* Edit paritions.txt and remove ONLY the line that contains /dev/hda6 (the screwed parition)
* Recreate the partition table:
cat partitions.txt | sfdisk /dev/hda
* Reboot
* Hopefully thatll fix it :)
* If its knackered then restore from your original raw backup by doing:
dd if=backup.bin of=/dev/hda bs=512 count=1
Cornet
I fixed it.
I backed up everything and started again.
And I had just got flash to work too :(
Quote from: soopahflyI fixed it.
I backed up everything and started again.
And I had just got flash to work too :(
flash??? err thats pretty easy to achieve matey.