Boot problem (hangs at/in loader)

Rudy Rucker crapsh at monkeybrains.net
Mon Jan 23 18:11:27 PST 2006


I installed FreeBSD on a disk and have this problem:
The boot manager comes up and shows:
F1: FreeBSD
F5: Disk 2

If I hit F1 (or wait a few seconds),  The 'puter drops down a line, 
shows a minus (-) sign in the bottom left hand corner and stays there 
until I hit any key on the keyboard.

I ran:
   boot0cfg -B /dev/ad0
and the problem did not go away.  What else could I try so that the 
computer will boot/reboot unattended?


Rudy




 > fdisk ad0
******* Working on device /dev/ad0 *******
parameters extracted from in-core disklabel are:
cylinders=387621 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=387621 heads=16 sectors/track=63 (1008 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 165 (0xa5),(FreeBSD/NetBSD/386BSD)
     start 63, size 390716802 (190779 Meg), flag 80 (active)
         beg: cyl 0/ head 1/ sector 1;
         end: cyl 768/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>



 > bsdlabel ad0s1
# /dev/ad0s1:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
   a:  1048576       16    4.2BSD     2048 16384     8
   b:  1048576  1048592      swap
   c: 390716802        0    unused       0     0   # "raw" part, don't edit
   d: 20971520  2097168    4.2BSD     2048 16384 28552
   e:  2097152 23068688    4.2BSD     2048 16384 28552
   f: 16777216 25165840    4.2BSD     2048 16384 28552
   g: 348773746 41943056    4.2BSD     2048 16384 28552

 > uname -a
FreeBSD 6.0-STABLE FreeBSD 6.0-STABLE #3: Tue Jan 17 09:22:44 PST ...


 > df -h   (don't you love that h)
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/ad0s1a    496M     51M    405M    11%    /
devfs          1.0K    1.0K      0B   100%    /dev
/dev/ad2s1d     15G    518M     14G     4%    /var
/dev/ad0s1e    989M    1.0M    909M     0%    /tmp
/dev/ad0s1f    7.7G    3.3G    3.9G    46%    /usr
/dev/ad0s1g    161G    4.0K    148G     0%    /data
procfs         4.0K    4.0K      0B   100%    /proc
devfs          1.0K    1.0K      0B   100%    /var/named/dev




More information about the freebsd-current mailing list