Really messed up my partition table
I think I really screwed the pooch this time. I wanted to get rid of Windows on my Slackware box, so I erased the partition :tisk: Now, I can't do anything with the 30GB that was there. Maybe I should just show what is happening:
Code:
[root@slackdell /home/scuzzy]$ fdisk -l Code:
FATAL ERROR: Bad primary partition 2: Partition ends in the final partial cylinder What's odd, is through all this partitioning, lilo still works (I wanted to reinstall it after removing the Windows option) so I know the MBR (somehow) survived... Also, just in case it should help, here's this: Code:
[root@slackdell /home/scuzzy]$ cat /etc/fstab Any ideas? |
It may be a silly question but when you created the partition did you then create a file system on it eg
mke2fs /dev/hda1 or mkreiserfs /dev/hda1 must be done before the partition is used. NB any data in there will be distroyed! |
I think a lot of your errors are due to hda2 and hda3 overlapping. You may want to look into that as well. If you have filesystems on all partitions, you could be in for a bit of a headache.
|
I think the problem is the overlap between hda2 and hda3. They should not used the same cylinder as start and stop. How did that happen? If you deleted hda1, that means it has like this before? Maybe you could resize one of these partitions.
|
The install overlapped the 2 partitions... They've been like that the entire time... I'll look into resizing them properly though...
|
Quote:
But, when I tried reinstalling LILO to it, this happened: Code:
[root@slackdell /home/scuzzy]$ lilo Code:
[root@slackdell /]$ fsck /dev/hda1 Now: I think the cfdisk problem may be with the partitions overlapping - I'll shrink my swap down a little (my version of parted can't handle ext3 for some reason) OK - Done: Code:
[root@slackdell /]$ fdisk -l But what's up with LILO it still won't install... |
Why are you trying to write lilo on hda1? Your root filesystem (/) is on hda2 and lilo is still located in the MBR of hda (you said it's working, didn't you?). So what is the problem?
|
Never mind.. I had to use this:
Code:
lilo -A /dev/hda Then, I could install LILO on /dev/hda1 with the lilo command Just for the googler's - I did this through an Ubuntu live CD by mounting then chrooting to access my slackware partition(s). I am now proud to say: I'm Windows FREE! Thanks for all your guys' help :) |
All times are GMT -5. The time now is 10:11 PM. |