Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Apr 2012 10:53:55 +0200
From:      =?UTF-8?B?QWlyb3NvzrJpY3ogZmIu?= <airosovicz@gmail.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Upgrade to 9.0 - Mount to root failed..
Message-ID:  <CAEUQAzPLUDLvPQe8W8Rb2n2cQ5Jg0T9yhrFDAPLADnO8qTgkig@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Greetings all,

It's my 1st time on any of the FreeBSD lists & I'm fairly new to FreeBSD to
please bear with me..

So I've upgraded from 8.1 to 9.0 & now the system can't mount in single
user mode to go through the final step of installing the world..

# cvsup.. Done..
# make buildworld..  Done..
# make buildkernel.. Done..
# make installkernel.. Done..
# reboot in single user mode to install world.. Failed to mount to
/dev/ad2s1a.. {Yes, that *is* my HD}

I rebooted from the loader prompt with my old (GENERIC) kernel & came up
with the following..

peggy# ls -l /dev/ad*
> crw-r-----  1 root  operator    0,  79 Apr  8 08:47 /dev/ad2
> crw-r-----  1 root  operator    0,  82 Apr  8 08:47 /dev/ad2s1
> crw-r-----  1 root  operator    0,  84 Apr  8 08:47 /dev/ad2s1a
>
> peggy# cat /etc/fstab
> # Device        Mountpoint    FStype    Options        Dump    Pass#
> /dev/ad2s1a        /        ufs    rw        1    1
> /dev/acd0        /cdrom        cd9660    ro,noauto    0    0
>
> peggy# disklabel /dev/ad2s1a
> # /dev/ad2s1a:
> 8 partitions:
> #        size   offset    fstype   [fsize bsize bps/cpg]
>   a: 20044017        0    4.2BSD     2048 16384 28552
>   c: 20044017        0    unused        0     0         # "raw" part,
> don't edit
>
> peggy# fsck
> ** /dev/ad2s1a (NO WRITE)
> ** Last Mounted on /
> ** Root file system
> ** Phase 1 - Check Blocks and Sizes
> ** Phase 2 - Check Pathnames
> ** Phase 3 - Check Connectivity
> ** Phase 4 - Check Reference Counts
> ** Phase 5 - Check Cyl groups
> 415735 files, 3148200 used, 1702923 free (40563 frags, 207795 blocks, 0.8%
> fragmentation)
>
> peggy# kldstat
> Id Refs Address    Size     Name
>  1    7 0xc0400000 bb5504   kernel
>  2    1 0xc2e1a000 26000    linux.ko
>

I know there's many 'mount' problem discussions out there but I can't seem
to find out how to overcome this problem..

Many thanx in advance for any assistance..

Regards,
E.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEUQAzPLUDLvPQe8W8Rb2n2cQ5Jg0T9yhrFDAPLADnO8qTgkig>