bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fat


From: Andrew Clausen
Subject: Re: fat
Date: Thu, 27 Sep 2001 07:39:16 +1000
User-agent: Mutt/1.2.5i

On Wed, Sep 26, 2001 at 05:04:50PM +0000, Christian Mendl wrote:
> That's what parted prints out now:
> 
> table on /dev/hda inconsistent, using lba recommended

Right.

> Minor   Start       End     Type   Filesystem     Flag
> 1       0.031     7.844   primary       ext2
> 2       7.844 10997.622   primary        FAT     boot, lba
> 3   14064.719 19571.374  extended                  lba
> 5   14072.563 19061.479   logical       ext2
> 6   19061.528 19571.374   logical linux-swap
> 
> 
> When I used parted the first time on hda2 (my windows partition), I got
> an error message: "Can't grow a partition onto used space", although
> there was obviously free space.

What, exactly, did you type?

> I figured out that hda1, which is my boot
> partition and was 8032 blooks large at that time, didn't end on a
> cylinder boundary, so I used fdisk to shrink that partition table entry
> accordingly, without changing the file system. After that, parted worked
> fine (no error messages), but I think that it moved hda2 a little bit
> backward.

If the geometry was wrong, then that isn't surpising... it would have
attempted to align the partition to a cylinder boundary.

> Here comes the problem: Windows doesn't boot any more, although
> I re-installed lilo. A fdisk /MBR in dos-mode didn't help neither (the
> only thing it did was that it messed up my partition table and I had to
> re-create it), so do you know what could help?

What version of Windows are you running?  It is very strange that it
isn't booting, because you seem to be using lba mode...

Anyway, try booting of a windows boot disk, and doing:

        A:\>sys c:

Please let me know what happens.  Thanks!
Actually, to be more helpful, could you save the first few sectors of
the hda2 before and after your experiment with "sys c:":

        # dd if=/dev/hda2 bs=512 count=64 | gzip > before.gz

        ...

        # dd if=/dev/hda2 bs=512 count=64 | gzip > after.gz

And send them too me?

Thanks!
Andrew




reply via email to

[Prev in Thread] Current Thread [Next in Thread]