FreeBSD 8.0 has broken boot up.

Installing and upgrading FreeBSD.

FreeBSD 8.0 has broken boot up.

Postby gvernold » 15 Apr 2010, 13:59

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.
gvernold
Junior Member
 
Posts: 6
Joined: 15 Apr 2010, 13:49

Postby scottmaccal » 15 Apr 2010, 14:45

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?
User avatar
scottmaccal
Junior Member
 
Posts: 3
Joined: 04 Feb 2009, 00:47

Postby gvernold » 15 Apr 2010, 15:06

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.
gvernold
Junior Member
 
Posts: 6
Joined: 15 Apr 2010, 13:49

Postby SirDice » 15 Apr 2010, 15:20

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.
User avatar
SirDice
Old Fart
 
Posts: 16166
Joined: 17 Nov 2008, 16:50
Location: Rotterdam, Netherlands

Postby gvernold » 15 Apr 2010, 15:34

Okay I've tried shifting the active partitions, boot flags and whatever I can with Gparted live and still no luck I'm afraid.
gvernold
Junior Member
 
Posts: 6
Joined: 15 Apr 2010, 13:49

Postby phoenix » 15 Apr 2010, 15:34

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.
User avatar
phoenix
MFC'd
 
Posts: 3349
Joined: 17 Nov 2008, 05:43
Location: Kamloops, BC, Canada

Postby gvernold » 15 Apr 2010, 16:00

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.
gvernold
Junior Member
 
Posts: 6
Joined: 15 Apr 2010, 13:49

Postby gvernold » 15 Apr 2010, 17:12

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.
gvernold
Junior Member
 
Posts: 6
Joined: 15 Apr 2010, 13:49

Postby Beastie » 15 Apr 2010, 17:25

Does this help (especially post #7)?
May the source be with you!
Beastie
Senior Member
 
Posts: 1859
Joined: 28 Mar 2009, 11:27
Location: /dev/earth0

Postby gvernold » 16 Apr 2010, 13:26

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?
gvernold
Junior Member
 
Posts: 6
Joined: 15 Apr 2010, 13:49

Postby SirDice » 16 Apr 2010, 14:10

gvernold wrote: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.
User avatar
SirDice
Old Fart
 
Posts: 16166
Joined: 17 Nov 2008, 16:50
Location: Rotterdam, Netherlands

Postby klnW » 17 Apr 2010, 13:15

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.
klnW
Junior Member
 
Posts: 1
Joined: 15 Apr 2010, 16:58


Return to Installing & Upgrading

Who is online

Users browsing this forum: No registered users and 1 guest