From owner-freebsd-stable@FreeBSD.ORG Sun Feb 19 22:59:13 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 154D916A420 for ; Sun, 19 Feb 2006 22:59:13 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id E358343D70 for ; Sun, 19 Feb 2006 22:59:09 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IUY007HAIIK2VC0@osl1smout1.broadpark.no> for freebsd-stable@freebsd.org; Sun, 19 Feb 2006 23:59:08 +0100 (CET) Received: from kg-work.kg4.no ([80.202.174.136]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with SMTP id <0IUY00FOWIIJQC10@osl1sminn1.broadpark.no> for freebsd-stable@freebsd.org; Sun, 19 Feb 2006 23:59:08 +0100 (CET) Date: Sun, 19 Feb 2006 23:59:11 +0100 From: Torfinn Ingolfsen X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH To: freebsd-stable@freebsd.org Message-id: <20060219235911.012b24b7.torfinn.ingolfsen@broadpark.no> MIME-version: 1.0 X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; i386-portbld-freebsd5.4) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Difference in slice numbering FreeBSD 4.x vs. 6.x? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Feb 2006 22:59:13 -0000 Hi, Yes, this is a strange question; is the slice numbering in FreeBSD 4.x different from that in FreeBSD 6.x? I'm talking about for fdisk(8), boot(8) and loader(8). Background: I have this old laptop (a HP OmniBook 5500CT). I replaced the tiny (1.2GB) hard drive in it with a 20GB hard drive. I installed FreeBSD 4.11-RELEASE on it, using fdisk to partition the disk in two. 4.11-R installed on slice1, ie. root on /dev/ad0s1a. All was well. Now, the story: Then I decided to install FreeBSD 6.0-RELEASE on the second half of the disk, but it didn't work out of the box. To make a long story short, it turned out that the PCCard controller / slots wasn't detected properly, and as this laptop doesn't have a cd-rom drive, I just took out the hard drive, mounted a 2.5-to-3.5 inchadapter on it and put it into another machine. This machine had a cd-rom, and it installed FreeBSD 6.0-R on the second slice without a problem. I even testedt that it would boot both slices (4.11-R or 6.0-R) on that machine, it did. On this machine, 4.11-R was on slice 1, and 6.0-R on slice 2. Now, I took the hard drive out and put it into the laptop again. Mahor problem - it wouldn't boot at all. A not-so-quick boot with the floppies (3 floppies for boot, plus the fixit floppy) later, I ran fdisk on ad0. Much to my surprise, the twor FreeBSD installations had now moved to slice 3 and slice 4. 4.11-RELEASE on slice 3 and 6.0-RELEASE on slice 4. I am utterly amazed by this. What has happened? -- Yours, Torfinn Ingolfsen, Norway