Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 1999 13:56:11 -0200
From:      Gustavo V G C Rios <grios@ddsecurity.com.br>
To:        freebsd-questions@freebsd.org
Subject:   strange behavior
Message-ID:  <385FA31B.4EE3DB9E@ddsecurity.com.br>

next in thread | raw e-mail | index | archive | help
Hi!
I am trying to set a third slice in my system, but i cannot update what
the system see from the disk.

I have two slices: wd0s1(ms) and wd0s2 (freebsd), so i decide to add a
wd0s3 entry!
I am using fdisk utility to perform such a action, but when i try to use
disklabel, i does not work!


Here is my fdisk.conf file:

g c1027 h255 s63
p 1 11 63 4112577
p 2 165 4112640 8225280
p 3 165 12337920 1606500
#p 3 0 0 0
p 4 0 0 0
a 2


I use the following command line: fdisk -f fdisk.conf wd0

What is strange is that the /stand/sysinstall utility (in the fdisk
section) does show a new slice there, but when i issue a fdisk i get:

******* Working on device /dev/rwd0 *******
parameters extracted from in-core disklabel are:
cylinders=1027 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=1027 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 11,(DOS or Windows 95 with 32 bit FAT)
    start 63, size 4112577 (2008 Meg), flag 0
        beg: cyl 0/ sector 1/ head 1;
        end: cyl 255/ sector 63/ head 254
The data for partition 2 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 4112640, size 8225280 (4016 Meg), flag 80 (active)
        beg: cyl 256/ sector 1/ head 0;
        end: cyl 767/ sector 63/ head 254
The data for partition 3 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 12337920, size 1606500 (784 Meg), flag 0
        beg: cyl 768/ sector 1/ head 0;
        end: cyl 867/ sector 63/ head 254
The data for partition 4 is:
<UNUSED>


How can it be? fdisk shows it perfectly, but sysinstall fails to detect
it!


The rest is obvious: i cannot even use disklabel onto it!

Can any wizard help me?

My system is:
FreeBSD etosha 3.4-STABLE FreeBSD 3.4-STABLE #6: Tue Dec 21 11:58:59 EDT
1999     toor@etosha:/usr/src/sys/compile/ETOSHA  i386



-- 
The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself.  Therefore all
progress depends on the unreasonable man.
                -- George Bernard Shaw



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?385FA31B.4EE3DB9E>