if you need to fix your partition table, i hear gpart is good. it ignores the partition table itself (which we believe toi be corrupt anyway) and guesses the partiton boundaries from parsing the disk itself.
I've never used it "in anger', but I have seen people praise it on forums/newsgroups. heres the sort of output it gives: # gpart /dev/hda Begin scan... Possible partition(DOS FAT), size(9538mb), offset(0mb) Possible partition(Linux swap), size(956mb), offset(9538mb) Possible partition(Linux ext2), size(27666mb), offset(10495mb) End scan. Checking partitions... Partition(DOS or Windows 95 with 32 bit FAT, LBA): primary Partition(Linux swap or Solaris/x86): primary Partition(Linux ext2 filesystem): primary Ok. Guessed primary partition table: Primary partition(1) type: 012(0x0C)(DOS or Windows 95 with 32 bit FAT, LBA) size: 9538mb #s(19534977) s(63-19535039) chs: (0/1/1)-(1023/254/63)d (0/1/1)-(1215/254/63)r Primary partition(2) type: 130(0x82)(Linux swap or Solaris/x86) size: 956mb #s(1959928) s(19535040-21494967) chs: (1023/254/63)-(1023/254/63)d (1216/0/1)-(1337/254/61)r Primary partition(3) type: 131(0x83)(Linux ext2 filesystem) size: 27666mb #s(56661248) s(21494970-78156217) chs: (1023/254/63)-(1023/254/63)d (1338/0/1)-(4864/254/56)r Primary partition(4) type: 000(0x00)(unused) size: 0mb #s(0) s(0-0) chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r On Thu, 09 Oct 2003 16:53:32 +1300 david merriman <[EMAIL PROTECTED]> wrote: > Heh, thanks Mike :-) > > Oh, btw, I've got this huge list of problems I'm having with Linux, and > I'm too lazy to fix them myself, so if you wouldn't mind... ;-) > <g, d & r> > > Dave > > Cunningly disguised as a responsible adult > > > > Mike Beattie wrote: > > >On Thu, Oct 09, 2003 at 04:23:16PM +1300, david merriman wrote: > > > > > >>Ah, I had tried using mount, but I had the syntax wrong. I'll give your > >>version a go. Thanks. Now to read up on 'sync'ing... > >> > >> > > > >Oh Dave, you're a joy to help. Nice little note about how people have helped > >you, and even a comment that you can RTFM! > > > >I'll take special effort to help you in future! > > > >Mike. > > > > > -- Nick Rout Barrister & Solicitor Christchurch, NZ Ph +64 3 3798966 Fax + 64 3 3798853 http://www.rout.co.nz [EMAIL PROTECTED]
