Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Oct 2000 12:03:58 -0400
From:      Dong Lin <dong@research.bell-labs.com>
To:        questions@freebsd.org
Subject:   4.1.1 can't find the root partition in ad0s2
Message-ID:  <200010161603.MAA17358@dong-pc.research.bell-labs.com>

next in thread | raw e-mail | index | archive | help

Hi, I am installing 4.1.1 on the second partition of a two partition
IDE disk, both of which are FreeBSD. After "Commit", the installation
program says "can't find the root partition /".

I am running 3.3 at the moment on the second partition. The first one
is just a regular FreeBSD FS created by newfs after installing
3.3. 

Here is the output of fdisk wd0:

******* Working on device /dev/rwd0 *******
The data for partition 1 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 63, size 4192902 (2047 Meg), flag 0
        beg: cyl 0/ sector 1/ head 1;
        end: cyl 260/ sector 63/ head 254
The data for partition 2 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 4192965, size 4225095 (2063 Meg), flag 80 (active)
        beg: cyl 261/ sector 1/ head 0;
        end: cyl 523/ sector 63/ head 254


Here are the disk labels:

/dev/rwd0s1c:
#        size   offset    fstype   [fsize bsize bps/cpg]
  c:  4192902        0    unused        0     0         # (Cyl.    0 - 260*)
  e:  4192902        0    4.2BSD     1024  8192    16   # (Cyl.    0 - 260*)


# /dev/rwd0s2c:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:   131072        0    4.2BSD        0     0     0   # (Cyl.    0 - 8*)
  b:  1048576   131072      swap                        # (Cyl.    8*- 73*)
  c:  4225095        0    unused        0     0         # (Cyl.    0 - 262)
  e:  3045447  1179648    4.2BSD        0     0     0   # (Cyl.   73*- 262*)

When installing 4.1.1, all of the following trials was unsuccessful:

1. specify mount points for / /usr on ad0s2a and ad0s2e and toggle
   newfs flags 
2. remove all partitions on ad0s2 and use default allocation for /
   /usr /var and swap.
3  manually recreate all partitions on ad0s2. 

The first two approaches got me the "cant find root partition /" error
at "commit". The third method caused an error "cant create / in this
partition" when specifying mount point /.

I am guessing the installtation program gets confused by the first
FreeBSD partition ad0s1. It's very likely that if I remove that or
make it into a DOS partition things will work. But I would like to
keep it as it's a FS mounted by other NFS clients.

Can someone tell me how to get around that? Thanks very much.

D. Lin



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?200010161603.MAA17358>