LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 01-10-2010, 05:16 PM   #1
h725
Member
 
Registered: Apr 2008
Posts: 114

Rep: Reputation: 15
Problem after upgrade


Hi,

I was upgrading from 7.2 to 8.0 Release.
After reboot, I got this:

Quote:
Trying to mount root from ufs:/dev/da0s1a
WARNING: / was not properly dismounted
Jan 11 00:52:21 init: getting pseudoterminals resource limit: Invalid argument
Jan 11 00:52:21 init: getting swapuse resource limit: Invalid argument
Setting hostuuid: 564d9e1e-b604-c25c-e256-3dc7a25a7779.
Setting hostid: 0x5fb37761.
Entropy harvesting: interrupts ethernet point_to_point kickstart.
swapon: not found
Starting file system checks:
Trying to mount root from ufs:/dev/da0s1a
WARNING: / was not properly dismounted
Jan 11 00:52:21 init: getting pseudoterminals resource limit: Invalid argument
Jan 11 00:52:21 init: getting swapuse resource limit: Invalid argument
Setting hostuuid: 564d9e1e-b604-c25c-e256-3dc7a25a7779.
Setting hostid: 0x5fb37761.
Entropy harvesting: interrupts ethernet point_to_point kickstart.
swapon: not found
Starting file system checks:
fsck: exec fsck_ufs for /dev/da0s1a in /sbin:/usr/sbin: No such file or directory
fsck: exec fsck_ufs for /dev/da0s1a in /sbin:/usr/sbin: No such file or directory
Unknown error: help!
ERROR: ABORTING BOOT (sending SIGTERM to parent)!
Jan 00:52:25 init: /bin/sh on /etc/rc terminated abnormally, going to single user mode
Enter full pathname of shell or RETURN for /bin/sh:
It seems only / is mounted, but not /var, /tmp, /usr.
I can manually mount other partitions, but I don't know how to solve.
Any suggestion?
Thank you in advance

Last edited by h725; 01-11-2010 at 07:48 AM.
 
Old 01-10-2010, 10:01 PM   #2
flatdog
LQ Newbie
 
Registered: Jan 2010
Distribution: FreeBSD 9.1-PRERELEASE
Posts: 15

Rep: Reputation: 1
Quote:
Trying to mount root from ufs:/dev/da0s1a
WARNING: / was not properly dismounted
Jan 11 00:52:21 init: getting pseudoterminals resource limit: Invalid argument
Jan 11 00:52:21 init: getting swapuse resource limit: Invalid argument
Setting hostuuid: 564d9e1e-b604-c25c-e256-3dc7a25a7779.
Setting hostid: 0x5fb37761.
Entropy harvesting: interrupts ethernet point_to_point kickstart.
swapon: not found
Starting file system checks:

Trying to mount root from ufs:/dev/da0s1a
WARNING: / was not properly dismounted

Jan 11 00:52:21 init: getting pseudoterminals resource limit: Invalid argument
Jan 11 00:52:21 init: getting swapuse resource limit: Invalid argument
Setting hostuuid: 564d9e1e-b604-c25c-e256-3dc7a25a7779.
Setting hostid: 0x5fb37761.
Entropy harvesting: interrupts ethernet point_to_point kickstart.
swapon: not found
Starting file system checks:
fsck: exec fsck_ufs for /dev/da0s1a in /sbin:/usr/sbin: No such file or directory
fsck: exec fsck_ufs for /dev/da0s1a in /sbin:/usr/sbin: No such file or directory
Unknown error: help!
ERROR: ABORTING BOOT (sending SIGTERM to parent)!
Jan 00:52:25 init: /bin/sh on /etc/rc terminated abnormally, going to single user mode
Enter full pathname of shell or RETURN for /bin/sh:
Wow, / not mounted and you are logged in?
 
Old 01-17-2010, 03:46 PM   #3
vigol
Member
 
Registered: Feb 2008
Location: Uns Cigano from Vigol
Distribution: FreeBSD 8.0
Posts: 59

Rep: Reputation: 19
Reboot system -> choose Iterm number 6 in Boot manager ->
type boot -s to reach to that Page again, OR if your're there now,
Code:
Enter full pathname of shell or RETURN for /bin/sh
1- Press Enter
Type following command
Code:
fsck -f
Press Y or y for any questions that need confirm for fixing(Aproximately all 100% questions!)
After that type:
Code:
reboot
please post consequnce problems
 
Old 01-19-2010, 03:38 PM   #4
h725
Member
 
Registered: Apr 2008
Posts: 114

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by vigol View Post
Reboot system -> choose Iterm number 6 in Boot manager ->
type boot -s to reach to that Page again, OR if your're there now,
Code:
Enter full pathname of shell or RETURN for /bin/sh
1- Press Enter
Type following command
Code:
fsck -f
Press Y or y for any questions that need confirm for fixing(Aproximately all 100% questions!)
After that type:
Code:
reboot
please post consequnce problems
Hi, I could not perform fsck, the error was "fsck_ufs: no such file or directory".
I solved using livecd and chroot'ing in my real filesystem.
Thankyou
 
Old 03-22-2012, 04:27 PM   #5
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,608

Rep: Reputation: 45
I have exact the same problem, have you found a solution or anyone knows?
 
Old 04-05-2012, 01:53 PM   #6
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,608

Rep: Reputation: 45
/sbin files were missing, just copy them from other freeBSD machine solved this problem.
 
  


Reply

Tags
freebsd, fsck


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
upgrade problem slackgeek Slackware 1 05-01-2009 04:42 AM
Upgrade problem satimis Ubuntu 2 08-17-2006 07:11 PM
Upgrade 10.0 ---> 10.1 problem cragwolf Slackware 4 05-28-2005 06:31 PM
upgrade 2.4.29 to 2.6.11 problem GaMeS Slackware 3 03-07-2005 08:30 AM
RH 7.1->7.2 Upgrade problem concoran Linux - General 5 12-10-2001 06:44 PM


All times are GMT -5. The time now is 12:37 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration