This kind of thing isn't actually that hard to fix, what you need is a knowledge
of what the parition table should look like, and you can just write it to the
MBR using dd.
On Tue, Aug 21, 2001 at 06:34:51PM -0400, Koleman Strumpf wrote:
> Here is the output:
> # rescuept /dev/hda
>
> # total size 16481808 sectors
> unit: sectors
> # 2047 MB fat partition (type 6): sectors 63- 4193279
> # sector 4209351 looks like an ext2 superblock copy #1;
> # in a partition covering sectors 4192965-4514264
> # found all preceding superblocks OK
> # Warning: overlapping partitions?
> # 157 MB ext2 partition (type 83): sectors 4192965- 4514264
> # 1945 MB ext2 partition (type 83): sectors 4514265- 8498384
> # 0 MB candidate ext pt (type 5): sectors 8498385- 8488385
> # 133 MB found in ept (type 82): sectors 8498448- 8771489
> # 204 MB found in ept (type 83): sectors 8771489- 9189179
> # 3004 MB found in ept (type 83): sectors 9189243- 15342074
> # 518 MB found in ept (type 83): sectors 15342138- 16402364
> # 3859 MB extended part ok (type 5): sectors 8498385- 16402364
> /dev/hda0 : start= 63, size= 4193217, Id= 6
> /dev/hda0 : start= 4192965, size= 321300, Id=83
> /dev/hda0 : start= 4514265, size= 3984120, Id=83
> /dev/hda0 : start= 8498385, size= 7903980, Id= 5
> /dev/hda0 : start= 8498448, size= 273042, Id=82
> /dev/hda0 : start= 8771489, size= 417627, Id=83
> /dev/hda0 : start= 9189243, size= 6152832, Id=83
> /dev/hda0 : start=15342138, size= 1060227, Id=83
>
>
> While a good chunk of this is beyond me, it does look like the partition
> table has gotten messed up. I have a feeling this may be a lost cause
> given my lack of expertise. Still any further suggestions would be most
> appreciated.
>
> Koleman
>
>
>
>
>
> On Tue, 21 Aug 2001, Tom Oehser wrote:
>
> >
> > It may be that you geometry settings have been busted or some such?
> >
> > What is the output of:
> >
> > rescuept
> >
> > -Tom
> >
> > On Mon, 20 Aug 2001, Koleman Strumpf wrote:
> >
> > > Date: Mon, 20 Aug 2001 16:34:05 -0400 (EDT)
> > > From: Koleman Strumpf <[EMAIL PROTECTED]>
> > > To: Tom Oehser <[EMAIL PROTECTED]>
> > > Cc: [EMAIL PROTECTED]
> > > Subject: Re: [tomsrtbt] Unable to mount ext2
> > >
> > > Here is my output:
> > >
> > > # fdisk -l
> > >
> > > Warning: invalid flag 0x0000 of partition table 5 will be corrected by
> > > w(rite)
> > >
> > > Disk /dev/hda: 255 heads, 63 sectors, 1025 cylinders
> > > Units = cylinders of 16065 * 512 bytes
> > >
> > > Device Boot Start End Blocks Id System
> > > /dev/hda1 * 1 262 2096608+6 6 DOS 16-bit >=32M
> > > Partition 1 does not end on cylinder boundary:
> > > phys=(519, 127, 63) should be (519, 254, 63)
> > > /dev/hda2 262 514 2028096 5 Extended
> > > Partition 2 does not end on cylinder boundary:
> > > phys=(1022, 127, 63) should be (1022, 254, 63)
> > >
> > > hdc: media changed
> > > hdc: tray open or drive not ready
> > > hdc: tray open or drive not readt
> > > hdc: tray open
> > > end_request: I/O error, dev 16:00, sector 0
> > >
> > >
> > >
> > > Koleman
> > >
> > > PS I forgot to mention it, but I have an IDE hard drive.
> > >
> > >
> > >
> > > On Mon, 20 Aug 2001, Tom Oehser wrote:
> > >
> > > >
> > > > If you do:
> > > >
> > > > fdisk -l
> > > >
> > > > to list partitions, what do you see?
> > > >
> > > > -Tom
> > > >
> > > > On Mon, 20 Aug 2001, Tom Oehser wrote:
> > > >
> > > > > Date: Mon, 20 Aug 2001 12:11:22 -0400 (EDT)
> > > > > From: Tom Oehser <[EMAIL PROTECTED]>
> > > > > To: Koleman Strumpf <[EMAIL PROTECTED]>
> > > > > Cc: [EMAIL PROTECTED]
> > > > > Subject: Re: [tomsrtbt] Unable to mount ext2
> > > > >
> > > > >
> > > > > Probably hda2 is an extended partition and really you need hda5?
> > >
> >
> >
--
Christopher Maujean
IT Director
Premierelink Communications
www.premierelink.com
[EMAIL PROTECTED]
PLEASE encrypt all sensitive information using the following:
GnuPG: 0x5DE74D38
Fingerprint: 91D4 09FE 18D0 27C1 A857 0E45 F8A4 7858 5DE7 4D38
http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0x5DE74D38