f90a
![]() |
|
|
|
|
|||||||
| Installing & Upgrading Installing and upgrading FreeBSD. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I am a newbie to this forum so please be gentle...
7.1-Release was running wonderfully. I followed the instructions for the FreeBSD Update. All was going well until the first "shutdown -r now" and the box didn't come back. This is not a critical system so I have the luxury to play. I went to the console and it was at a: Code:
root mount error try to mount from ufs:/dev/aacd0s1a after hacking...I can get it to a # prompt by entering /dev/aacd0 but the system is munged (technical term). ? reveals Code:
ufsid/4d2f41f404404dc0 ufsid/4d2f41f46156b62b ufsid/4d2f42059bf43035 ufsid/4d2f41f4e3c83449 aacd0f aacd0e aacd0d aacd0b aacd0a aacd0 acd0 fd0 fstab /dev/aacd0slb none swap sw /dev/aacd0s1a / ufs rw /dev/aacd0s1e /tmp ufs rw /dev/aacd0s1f /usr ufs rw /dev/aacd0s1d /var ufs rw Last edited by DutchDaemon; January 25th, 2011 at 01:59. Reason: proper formatting: http://forums.freebsd.org/showthread.php?t=8816 |
|
#2
|
||||
|
||||
|
It's most likely due to a stale copy of the disklabel. I've had the same issue but with a 'regular' harddrive. This seemed to solve it (make a backup though!):
# dd if=/dev/zero of=/dev/aacd0 count=1 oseek=1
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#3
|
|||
|
|||
|
implemented the command as stated; rebooted; after the post and bios messages, I get nothing... not even a boot device not found.
Am I reinstalling? or is there a recovery method? |
|
#4
|
||||
|
||||
|
Hmmm... It's not supposed to do nothing. It's supposed to boot properly. Did you make a back up of that sector?
Try booting a livefs and see if the partitions and slices are still there.
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#5
|
|||
|
|||
|
Booted with install cd. Partition was there but no slices. No backup of the sector was made... it's ok though, this is not a production system, I am doing this on a test box before I upgrade the production systems. I need the practice.
I am installing 7.1-RELEASE again and going to try the update to 8.1-RELEASE. Should this be in the testing forum? ![]() Thanks for your help. Last edited by DutchDaemon; January 25th, 2011 at 19:37. |
|
#6
|
||||
|
||||
|
I counted 1 slice and 5 partitions, not the other way around
![]() Quote:
I think mine was a little different too. It's been a while but I remember that disk being a "dangerously dedicated" one. I do remember having to jump through a lot of hoops. Like reverting to a 7.2 kernel while still having the 8.0 base. That was fun...
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#7
|
|||
|
|||
|
Ok...I got to the bottom of this.
Reinstalled 7.1-RELEASE, followed the instructions for the upgrade to 8.1-RELEASE and the same thing happened. Here is what I did that gave me a stable system that worked through the upgrade. at the "root mount error" enter ufs:/dev/aacd0 which the slice? this provided me with a # prompt. I then mounted each of the partitions manually rw Code:
mount -w /dev/aacd0a / mount -w /dev/aacd0e /tmp mount -w /dev/aacd0f /usr mount -w /dev/aacd0d /var And wallah! Apparently the partition device names in /dev are renamed by the upgrade and there was a mismatch with the old fstab file. Even though the hint said how to repair this...as a newbie I had no idea how to edit the fstab in the state the system was in. nor did I know where to look. Hopefully this will help another novice person in the same situation. Last edited by DutchDaemon; January 26th, 2011 at 02:09. Reason: proper formatting: http://forums.freebsd.org/showthread.php?t=8816 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Solved] Should I wait for 8.2-RELEASE or install a 8.1-RELEASE? | Martillo1 | Installing & Upgrading | 10 | February 2nd, 2011 02:50 |
| [Solved] Upgrading from 8.0-RELEASE-p4 to 8.0-RELEASE-p5 | rbelk | Installing & Upgrading | 7 | September 27th, 2010 21:49 |
| [Solved] Upgrading from 8.0-Release to 8.1-Release didn't upgrade ZFS | olav | Installing & Upgrading | 6 | July 21st, 2010 08:02 |
| [Solved] Best advice for upgrade FreeBSD 7.2-RELEASE-p4 to last FreeBSD 8.0 Release | mfaridi | Installing & Upgrading | 4 | January 12th, 2010 15:36 |
| 8.0-release | gpatrick | General | 5 | October 31st, 2009 00:28 |