Re: Boot Menu Damaged



Jerry McAllister wrote:
On Mon, Dec 31, 2007 at 10:46:04AM -0500, E. J. Cerejo wrote:

----- Original Message ----- From: "Jerry McAllister" <jerrymc@xxxxxxx>
To: "E. J. Cerejo" <ecerejo@xxxxxxxxxxxxx>
Cc: <FreeBSD-questions@xxxxxxxxxxx>
Sent: Monday, December 31, 2007 9:50 AM
Subject: Re: Boot Menu Damaged


On Mon, Dec 31, 2007 at 01:17:51AM -0500, E. J. Cerejo wrote:

I'm running FreeBSD 6 stable and I lost my boot menu after reinstalling xp
and tried to fix it by booting with instalation cd and run "fdisk -B -b
/boot/boot0 /dev/ad0" it restored it but when I boot I get the mountroot>
prompt, it fails to mount ad0s2a, b, c, d. Is it possible to fix this or
do I have to reinstall freebsd?
It may be that you got the slices no longer marked as bootable.
Try using fdisk(8) or boot0cfg(8) to re-enable booting on those slices.

////jerry
Do you run it from the instalation CD using fixit or run from the mountroot prompt on the computer. It seems to me I can't can any commands from this prompt.

I would do it from the fixit.


Well that didn't work but I finally fixed it.

from the moutroot I was able to go into single user mode by running these commands:

ufs:/dev/ad0s2a
fsck -p /
mount /

after this I was able to check and fix my /etc/fstab file, for some reason the mount points got all changed to slice 4, e.g. ad0s4a, changed them back to ad0s2a and so on, after that I was able to boot just fine. How it happened I have no idea.
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Boot Menu Damaged
    ... and tried to fix it by booting with instalation cd and run "fdisk -B -b ... Try using fdiskor boot0cfgto re-enable booting on those slices. ... Do you run it from the instalation CD using fixit or run from the mountroot prompt on the computer. ...
    (freebsd-questions)
  • Re: side by side error
    ... Choose safe mode with command prompt, this should eliminate interference from whatever virus or malware and allow the file verification process to run. ... For some reason internet explorer 64, ... I then downloaded vcredlist to fix the issue, ... and I cant do a repair install because I dont have access ...
    (microsoft.public.windows.vista.performance_maintenance)
  • Re: Winternals 5.0
    ... A 4.3gb hard drive is very old and probably died of old age. ... > things including making a cd boot disk "ERD Commander 2005" which was ... After booting with the cd and arriving at the page ... > where you select the drive you want to fix and setting the time zone ...
    (microsoft.public.windowsxp.general)
  • Re: On start prompted to insert set-up disk in drive A
    ... Try booting up using the XP CD-ROM and choose to repair. ... After that you'll see a command prompt...enter the following command: ... > I have done complete Virus scan and check Hard drive for errors. ... > Does anyone have any suggestions as to how to by pass the set up disk prompt ...
    (microsoft.public.windowsxp.help_and_support)
  • "Configure update, step 3 of 3" and 0%" - Help Please
    ... When I read this fix from Anguas I wonder if booting from the Vista install ... the Safe Mode and received this message "Limited Diagnostic State". ...
    (microsoft.public.windowsupdate)