I have installed a large disk (Maxtor Diamond plus 40GB) and i have troubles
with my partition table. I wanted to write the sector 72694125 down, because
that is the start of my last partition, but apperently this doesn't work.
my original (like i made it) part. table
Partition Table for /dev/hdb
First Last
# Type Sector Sector Offset Length Filesystem Type (ID) Flags
-- ------- -------- --------- ------ --------- ---------------------- ---------
1 Primary 0 208844 63 208845 Linux (83) Boot (80)
2 Primary 208845 722924 0 514080 Linux (83) None (00)
3 Primary 722925 4931954 0 4209030 Linux (83) None (00)
4 Primary 4931955 80035829 0 75103875 Extended (05) None (00)
5 Logical 4931955 7036469 63 2104515 Linux (83) None (00)
6 Logical 7036470 11245499 63 4209030 Linux (83) None (00)
7 Logical 11245500 17542979 63 6297480 Linux (83) None (00)
8 Logical 17542980 21752009 63 4209030 Linux (83) None (00)
9 Logical 21752010 22282154 63 530145 Linux swap (82) None (00)
10 Logical 22282155 26491184 63 4209030 Linux (83) None (00)
11 Logical 26491185 32788664 63 6297480 Linux (83) None (00)
12 Logical 32788665 39086144 63 6297480 Linux (83) None (00)
13 Logical 39086145 47488139 63 8401995 Linux (83) None (00)
14 Logical 47488140 55890134 63 8401995 Linux (83) None (00)
15 Logical 55890135 64292129 63 8401995 Linux (83) None (00)
16 Logical 64292130 72694124 63 8401995 Linux (83) None (00)
17 Logical 72694125 80035829 63 7341705 Linux (83) None (00)
I had to do a reset because of bad memory and the partition table was broken.
gpart info:
** Error: invalid extended ptbl found at sector(72694125).
....
Primary partition(4)
type: 005(0x05)(Extended DOS)
size: 36671mb #s(75103875) s(4931955-80035829)
chs: (307/0/1)-(1023/254/63)d (307/0/1)-(4981/254/63)r
i want to write down sector(72694125) to edit it and write back, but :
root@Viking:/root$ dd if=/dev/hdb of=/etc/_hdb17 skip=72694125 bs=512 count=1
0+0 records in
0+0 records out
Could this be a bug in dd?
Or in the kernel?
Linux Viking 2.2.14 #1 SMP Thu Mar 2 08:14:39 CET 2000 i686 unknown
PS yesterday everything worked well
--
Bernhard
---- On the requirements it said: Windows 98 or better - so I installed Linux