Partition Magic for linux?- Help! I broke something
Dotan Cohen
dotancohen at gmail.com
Fri Mar 3 21:14:01 UTC 2006
On 3/3/06, John DeCarlo <johndecarlo at gmail.com> wrote:
> On 3/3/06, Dotan Cohen <dotancohen at gmail.com> wrote:
>
> > Because I could not delete partitions that I needed to delete (hda5
> > and hda6, but hda8 is /home and I could not unmount /home), I did it
> > with partition magic from a floppy. Now when I reboot the machine I
> > get:
> > fsck.ext3: No such file or directory while trying to open /dev/hda8
> > /dev/hda8:
> > The superblock could not be read or does not describe a correct ext2
> > filesystem.... [other stuff-should I post it all?]
> >
> >
> Dotan,
>
> Partitions are numbered based on how many of them there are. The first
> partition on /dev/hda is /dev/hda1.
>
> I believe you combined two or more partitions into one. Now, instead of 8
> partitions on /dev/hda, you have 7 or 6. Which means your /home is now on
> /dev/hda7 or /dev/hda6.
>
> In a terminal, if you type "sudo fdisk -l" it will list all your partitions
> and what types they are.
>
> To fix /etc/fstab, you will need to change the reference to /dev/hda8 and
> replace it with whatever your /home partition is now numbered.
>
Thanks, that is what I discovered when I did fdisk. Based on the size
of each partition I was able to figure out which new number was which
partition. I did fix fstab to reflect the new numbers and now the
machine boots.
Dotan Cohen
http://song-lirics.com
More information about the kubuntu-users
mailing list