From owner-freebsd-questions@FreeBSD.ORG Sun Dec 28 17:11:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90DFF106564A for ; Sun, 28 Dec 2008 17:11:39 +0000 (UTC) (envelope-from dscialom@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.190]) by mx1.freebsd.org (Postfix) with ESMTP id 0ACD58FC18 for ; Sun, 28 Dec 2008 17:11:38 +0000 (UTC) (envelope-from dscialom@gmail.com) Received: by ti-out-0910.google.com with SMTP id a1so2954543tib.3 for ; Sun, 28 Dec 2008 09:11:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=HMFMwanHPTRCERBqLczz8jeA+izOutxRKCt3+cXcptE=; b=S/wirRYdNwMlrnG6RDbYAmtSICRe9hiG1LKiX4Y/o/UY/N4onP4Ku/zxSmehrVcEPv B65H2Xdd29DMyFcyh8hPv67PqevedzH8bR59QuZzgdZJXsUJ8gtfn5oZBCTLbg003wN+ r0gbvbfJP5ydo0Uh16m8vNZDdT7Ruw8ykeVn0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=L1+/MmjbhvRkon/Rx/Vk2lCMLD/mjP705HKBz1S6lsacxNi49lj4pDrYb0eV3bi6a+ dgVC0hVhRgxRhLLV2Cpz2DThHC0uNVwxfoCn9PKapskj3EGGuI+lqBn6O0cEB0XEB7/q JVacQpOhWWJ+VlX1wQfa7rWS4yoaig7jw3WlY= Received: by 10.110.41.17 with SMTP id o17mr7883854tio.59.1230482752227; Sun, 28 Dec 2008 08:45:52 -0800 (PST) Received: by 10.110.17.13 with HTTP; Sun, 28 Dec 2008 08:45:52 -0800 (PST) Message-ID: Date: Sun, 28 Dec 2008 17:45:52 +0100 From: "David Scialom" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Unable to modify sysid with Fdisk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Dec 2008 17:11:39 -0000 Hello, It seems that it is impossible to modify the sysid with fdisk since FreeBSD 6.2. I am actually using FreeBSD7.0. When I want to modify my the sysid from 165(ufs) to 12(Fat32) i get the message "Geom not found: da0" and no change is made: da0 is stock with sysid = 165. The detail are provided below. I tried also to do the same from the install FreeBSD CD without success. As someone a solution ? Zurich# fdisk -u da0 ******* Working on device /dev/da0 ******* parameters extracted from in-core disklabel are: cylinders=1009 heads=64 sectors/track=32 (2048 blks/cyl) parameters to be used for BIOS calculations are: cylinders=1009 heads=64 sectors/track=32 (2048 blks/cyl) Do you want to change our idea of what BIOS thinks ? [n] *fdisk: invalid fdisk partition table found* 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 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 32, size 2066400 (1008 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1008/ head 63/ sector 32 Do you want to change it? [n] y Supply a decimal value for "sysid (165=FreeBSD)" [165] 12 Supply a decimal value for "start" [32] Susysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA)) start 32, size 2066400 (1008 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1008/ head 63/ sector 32 Are we happy with this entry? [n] y The data for partition 2 is: Do you want to change it? [n] The data for partition 3 is: Supply a decimal value for "size" [2066400] Explicitly specify beg/end address ? [n] sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA)) start 32, size 2066400 (1008 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1008/ head 63/ sector 32 Are we happy with this entry? [n] y The data for partition 2 is: Do you want to change it? [n] The data for partition 3 is: Do you want to change it? [n] The data for partition 4 is: Do you want to change it? [n] Partition 1 is marked active Do you want to change the active partition? [n] y Supply a decimal value for "active partition" [1] Are you happy with this choice [n] y We haven't changed the partition table yet. This is your last chance. parameters extracted from in-core disklabel are: cylinders=1009 heads=64 sectors/track=32 (2048 blks/cyl) parameters to be used for BIOS calculations are: cylinders=1009 heads=64 sectors/track=32 (2048 blks/cyl) Information from DOS bootblock is: 1: sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA)) start 32, size 2066400 (1008 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1008/ head 63/ sector 32 2: 3: 4: Should we write new partition table? [n] y fdisk: Geom not found: "da0" Zurich# fdisk da0 ******* Working on device /dev/da0 ******* parameters extracted from in-core disklabel are: cylinders=1009 heads=64 sectors/track=32 (2048 blks/cyl) parameters to be used for BIOS calculations are: cylinders=1009 heads=64 sectors/track=32 (2048 blks/cyl) fdisk: invalid fdisk partition table found 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 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 32, size 2066400 (1008 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1008/ head 63/ sector 32 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: