Subject: can't auto boot with /var on external partion
To: port-mac68k <port-mac68k@netbsd.org>
From: Guy Santiglia <fredfl2@soback.kornet21.net>
List: port-mac68k
Date: 02/08/1999 20:57:47
This is my same old problem of the /var partion that won't
let me auto boot into multi-user.
This is how I bring the system up now.
1. boot single user
2. fsck / partition
3. exit single user
Then it comes up in multi user mode.
Then I unmount /var partition and fsck it.
I do this because if I try to do anything ( fsck, mount ) with that
partition
in single user mode, the system hangs.
If I try to boot single user automatically. The system hangs
after it checks my root and user partion.
The last message that I see when I try to auto boot is:
/dev/rsd1a Marking file system clean.
Some one recommended putting " set -x " at the top of my /etc/rc
file. I tried that; It didn't seem to help.. The system hung
at the same point.
Here is some info below about my file system.
disklabels and related error messages, /etc/fstab, etc.
I hope some one can find some obvious problem that I am missing here.
Thanks for any advice in advance.
Guy
This is the disklabel for my internal drive which has the /var
partition on it:
# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: fictitious
flags:
bytes/sector: 512
sectors/track: 96
tracks/cylinder: 2
sectors/cylinder: 192
cylinders: 2740
total sectors: 528808
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
7 partitions:
# size offset fstype [fsize bsize cpg]
a: 32 144 unknown # (Cyl. 0*- 0*)
b: 268630 260176 HFS # (Cyl. 1355*- 2754*)
c: 528808 0 unused 0 0 # (Cyl. 0 - 2754*)
d: 2 528806 unknown # (Cyl. 2754*- 2754*)
g: 260000 176 4.2BSD 0 0 0 # (Cyl. 0*- 1355*)
disklabel: boot block size 0
disklabel: super block size 0
This is the disklabe for my esternal drive which has the root/user partion
and swap space on it.
# /dev/rsd1c:
type: SCSI
disk: SCSI disk
label: fictitious
flags:
bytes/sector: 512
sectors/track: 177
tracks/cylinder: 4
sectors/cylinder: 708
cylinders: 5909
total sectors: 4194288
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
6 partitions:
# size offset fstype [fsize bsize cpg]
a: 2048000 176 4.2BSD 0 0 0 # (Cyl. 0*- 2892*)
b: 122880 2048176 swap # (Cyl. 2892*- 3066*)
c: 4194288 0 unused 0 0 # (Cyl. 0 - 5924*)
d: 32 144 unknown # (Cyl. 0*- 0*)
e: 1111522 3082766 HFS # (Cyl. 4354*- 5924*)
f: 911710 2171056 HFS # (Cyl. 3066*- 4354*)
disklabel: boot block size 0
disklabel: super block size 0
This is the result of the df command when the system is up and running.
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/sd1a 991501 615600 276750 69% /
kernfs 1 1 0 100% /kern
procfs 4 4 0 100% /proc
/dev/sd0g 124542 643 117671 1% /var
/dev/sd1a / ffs rw 1 1
/dev/sd1b none swap sw 0 0
/dev/sd0g /var ffs rw 1 2
kern /kern kernfs rw 0 0
proc /proc procfs rw 0 0
____________________________________________________________
Guy Santiglia Quadra 610, NetBSD 1.3.2
South Korea
____________________________________________________________