DragonFly bugs List (threaded) for 2004-09
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: Corrupted partition table
At 8:01 PM -0700 9/24/04, Chris Pressey wrote:
[...] the following would be *very* helpful:
- the output of 'fdisk -s' from the DragonFly Live CD *before*
you start the install,
- the file /tmp/install.log after the install is done (of course,
if the install doesn't work, getting that file will prove
difficult...
The install works, in the sense that I can boot up into Dragonfly.
(I have to go through some odd steps to get there, but it works)
- the output of 'fdisk -s' after the install.
Before I go thru the whole install, let me see if the following
info will provide enough info to take a guess at things:
On the FreeBSD 5.3-beta5 system that I had installed first, I did:
# fdisk -s
/dev/ad4: 232581 cyl 16 hd 63 sec
Part Start Size Type Flags
1: 63 43005942 0xa6 0x00
2: 43006005 24563385 0xa6 0x00
3: 67569390 73722285 0xa5 0x80
4: 141291675 93144870 0x83 0x00
I then wanted to change the sysid on the first DOS slice:
# fdisk -u1
******* Working on device /dev/ad4 *******
parameters extracted from in-core disklabel are:
cylinders=232581 heads=16 sectors/track=63 (1008 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=232581 heads=16 sectors/track=63 (1008 blks/cyl)
Do you want to change our idea of what BIOS thinks ? [n]
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
[...etc...]
After committing the change, I did:
# fdisk -s
/dev/ad4: 232581 cyl 16 hd 63 sec
Part Start Size Type Flags
1: 63 43005942 0xa5 0x00
2: 43006005 24563385 0xa6 0x00
3: 67569390 73722285 0xa5 0x80
4: 141291675 93144870 0x83 0x00
I booted up on the Dragonfly CD. The first minor hurdle is that
my hard disk is apparently installed as "ad4", so what I did was:
# cd /dev
# ./MAKEDEV ad4
# fdisk -s /dev/ad4
ad4: raw partition size != slice size
ad4: start 63, end 43006004, size 43005942
ad4c: start 63, end 234436544, size 234436482
ad4: truncating raw partition
ad4: rejecting partition in BSD label: it isn't entirely within the slice
ad4: start 63, end 43006004, size 43005942
ad4h: start 14563391, end 234436544, size 219873154
/dev/ad4: 14593 cyl 255 hd 63 sec
Part Start Size Type Flags
1: 63 43005942 0xa5 0x00
2: 43006005 24563385 0xa6 0x00
3: 67569390 73722285 0xa5 0x80
4: 141291675 93144870 0x83 0x00
I don't know if all those warning messages about "ad4:" are
significant, and I don't know if the fact that this is ad4 (and
not ad0) would be significant to the installation steps. But I
suspect that it is significant that FreeBSD says:
/dev/ad4: 232581 cyl 16 hd 63 sec
vs /dev/ad4: 14593 cyl 255 hd 63 sec on Dragonfly.
--
Garance Alistair Drosehn = gad@xxxxxxxxxxxxxxxxxxxx
Senior Systems Programmer or gad@xxxxxxxxxxx
Rensselaer Polytechnic Institute or drosih@xxxxxxx
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]