Well, my story is long (if interested look here
http://www.broadbandreports.com/forum/remark,9947636 ) but in short:
1. Had 4 partitions C:WinXP(NTFS) D:Data(FAT32) , Linux swap and
reiserfs.
2.Used "dd if=/dev/zero of=/dev/hda bs=512 count=1"
3.Destroyed partition table and MBR
4.Used gpart, have partitions back, D(FAT32) alright, C: almost(Winxp
tries to boot but ernd with an error, safe mode stop on
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS\System32\DRIVERS\agp440.sys
So now I don't know if the partition is corrupt or just windoze files.
So my question is:
Can somebody tell me if this partition table is correct enough? When
booting from WinPE, C: disk is not recognized, get error.
fdisk /dev/hda
The number of cylinders for this disk is set to 77520.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help):p
Disk /dev/hda: 40.0 GB, 40007761920 bytes
16 heads, 63 sectors/track, 77520 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 21962 11068752 7 HPFS/NTFS
/dev/hda2 21962 56722 17518851 b W95 FAT32
/dev/hda3 56722 58778 1036192 82 Linux swap
/dev/hda4 58778 77520 9446220 83 Linux
Command (m for help):v
129 unallocated sectors
gpart /dev/hda
.....
Guessed primary partition table:
Primary partition(1)
type: 007(0x07)(OS/2 HPFS, NTFS, QNX or Advanced UNIX)
size: 10809mb #s(22137504) s(63-22137566)
chs: (0/1/1)-(1023/15/63)d (0/1/1)-(21961/13/60)r
Primary partition(2)
type: 011(0x0B)(DOS or Windows 95 with 32 bit FAT)
size: 17108mb #s(35037702) s(22137633-57175334)
chs: (1023/15/63)-(1023/15/63)d (21961/15/1)-(56721/13/63)r
Primary partition(3)
type: 130(0x82)(Linux swap or Solaris/x86)
size: 1011mb #s(2072384) s(57175335-59247718)
chs: (1023/15/63)-(1023/15/63)d (56721/9/1)-(58777/7/62)r
Primary partition(4)
type: 131(0x83)(Linux native)
size: 9224mb #s(18892440) s(59247720-78140159)
chs: (1023/15/63)-(1023/15/63)d (58777/8/1)-(77519/15/63)r
That's it =]
Can anybody advise me anything?
Thanks in advance.