13c78 FreeBSD 8.0 has broken boot up. - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Installing & Upgrading

Installing & Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1  
Old April 15th, 2010, 14:59
gvernold gvernold is offline
Junior Member
 
Join Date: Apr 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default FreeBSD 8.0 has broken boot up.

Hi,

I'm relatively new to FreeBSD and have just tried to install the 32bit version on my machine. There was already a Windows XP installation on it.

The installation procedure went fine and I selected to install the FreeBSD boot manager to the MBR. When I rebooted I got a single line flashing cursor and no boot manager after the bios check. I decided to reinstall the original Windows MBR so at least I could start checking what went wrong on the forums. Problem is, I still have just the flashing cursor. I can boot up to the Windows CD and use the repair faciltiy. I have tried fixmbr and fixboot but still just the flashing cursor.

I have now tried to get a quick Ubuntu installation on to use Grub. Still, the flashing cursor. This machine was running perfectly until I installed FreeBSD. Now it appears I have no way of booting anything on this machine. A Linux system repair CD confirms the drive is okay, as did chkdsk under Windows.

Does anybody have any idea what has gone wrong? This is the first time a distro seems to have broken a hard drive for me.
Reply With Quote
  #2  
Old April 15th, 2010, 15:45
scottmaccal scottmaccal is offline
Junior Member
 
Join Date: Feb 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Given the circumstances it seems unlikely that your hard drive is broken. Have you investigated further to determine just what is on the hard drive now? Partitions etc. Can it be mounted by other operating systems?
Reply With Quote
  #3  
Old April 15th, 2010, 16:06
gvernold gvernold is offline
Junior Member
 
Join Date: Apr 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I can see the FreeBSD slice with an Ubuntu 9.10 livecd and the Windows partition is still there too. When I use the Windows recovery mode it can see the Windows partition too. Gparted reports the FreeBSD slice as unknown, and I have tried installing a minimal Ubuntu and Debian install at the end of the drive, just to see if Grub would recover whatever was needed at the beginning of the drive. So far, just the flashing cursor which I never got before installing FreeBSD.

I have noticed though that the cursor now appears briefly before the Ubuntu LiveCD starts up. It feels like FreeBSD changed something in the bios (though I know that isn't possible) and now it takes an age to boot from CD too. It's way too much of a coincidence that the PC should just break exactly at the same time as installing FreeBSD. I don't have another machine here to check the drive.
Reply With Quote
  #4  
Old April 15th, 2010, 16:20
SirDice's Avatar
SirDice SirDice is online now
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,697
Thanks: 47
Thanked 2,021 Times in 1,860 Posts
Default

Check if the correct slice (or windows partition) is marked Active.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #5  
Old April 15th, 2010, 16:34
gvernold gvernold is offline
Junior Member
 
Join Date: Apr 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Okay I've tried shifting the active partitions, boot flags and whatever I can with Gparted live and still no luck I'm afraid.
Reply With Quote
  #6  
Old April 15th, 2010, 16:34
phoenix's Avatar
phoenix phoenix is offline
Moderator
 
Join Date: Nov 2008
Location: Kamloops, BC, Canada
Posts: 3,141
Thanks: 43
Thanked 701 Times in 579 Posts
Default

If you can boot from an old Windows 9x or DOS boot disk, a simple fdisk /mbr will return things to "normal".

If you can boot to a Windows NT/XP recovery console, you can run fixmbr to recover the default MBR.

After that, you should be able to boot to Windows as per normal.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #7  
Old April 15th, 2010, 17:00
gvernold gvernold is offline
Junior Member
 
Join Date: Apr 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is the problem. I ran fixmbr first and I still cannot boot my PC. The machine was running fine immediately before I installed FreeBSD. The installation went without errors, I installed the FreeBSD boot manager and then nothing would boot up. Just this flashing cursor. I can run Linux installation disks I can install Windows XP but when I try to boot anything.... just the flashing cursor.
Reply With Quote
  #8  
Old April 15th, 2010, 18:12
gvernold gvernold is offline
Junior Member
 
Join Date: Apr 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well I've had to wipe off the entire drive. Grub didn't correct anything, fixmbr didn't work. I had to format the drive in Gparted and create a brand new ms-dos partition table. Just for checking I reinstalled FreeBSD (minimal this time) and again installed the boot manager to the MBR. FreeBSD's boot manager obviously is a little more severe with what it is installing than linux or Windows because again, the distro didn't boot up and the only way to make the drive usable again is to create a new ms-dos partition table. Trying to install GRUB or re-install the Windows bootloader through fixboot or fixmbr didn't work.
Reply With Quote
  #9  
Old April 15th, 2010, 18:25
Beastie Beastie is offline
Senior Member
 
Join Date: Mar 2009
Location: /dev/earth0
Posts: 1,701
Thanks: 0
Thanked 301 Times in 245 Posts
Default

Does this help (especially post #7)?
__________________
May the source be with you!
Reply With Quote
  #10  
Old April 16th, 2010, 14:26
gvernold gvernold is offline
Junior Member
 
Join Date: Apr 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Actually Beastie that did help, thank you. It wasn't exactly the same problem that had occured in your link but I repeated the installation and played around with the cylinder 'settings'. I did manage to get the machine booting again. This seems to me like a bug in the FreeBSD boot manager as, if I don't install it and set up Grub manually instead, Grub just works and can also be replaced via fixmbr - something that didn't work with the FreeBSD BM. Should I file this as a bug report, and if so where?
Reply With Quote
  #11  
Old April 16th, 2010, 15:10
SirDice's Avatar
SirDice SirDice is online now
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,697
Thanks: 47
Thanked 2,021 Times in 1,860 Posts
Default

Quote:
Originally Posted by gvernold View Post
Should I file this as a bug report, and if so where?
The link is on the top of this page, under Support.

http://www.freebsd.org/send-pr.html
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #12  
Old April 17th, 2010, 14:15
klnW klnW is offline
Junior Member
 
Join Date: Apr 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I observed analogous wrong work of Boot Manager from FreeBSD i386 8.0 RELEASE and from new FreeBSD i386 7.3 RELEASE. Too installer could not install 2 packages "linux_base-f10-10_2.tbz" and "xscreensaver-gnome-hacks-5.10.tbz" from "8.0-RELEASE-i386-dvd1.iso" - md5sum of this image is all right. And it seems, these 2 packages can not be installed from "8.0-RELEASE-amd64-dvd1.iso"-dvd. Sadly. Boot Manager from "PCBSD8.0-x86-DVD.iso"-dvd is working well.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is watch in FreeBSD 8 Stable broken? val General 17 February 19th, 2010 17:53
USB broken? Binary updates broken? donallen Peripheral Hardware 20 January 23rd, 2010 14:06
edquota -t broken in FreeBSD 7.1? anesupport General 0 October 2nd, 2009 21:43
How do i fix the broken FTP structure for freebsd 7.0 halplus Installing & Upgrading 9 April 26th, 2009 18:33
Is NDIS broken on FreeBSD 7.1 Beta 2 Weinter Installation and Maintenance of FreeBSD Ports or Packages 5 November 20th, 2008 11:34


All times are GMT +1. The time now is 12:29.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0