List Info

Thread: Boot Menu Damaged




Boot Menu Damaged
country flaguser name
United States
2007-12-31 00:17:51
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? 

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: Boot Menu Damaged
country flaguser name
Yugoslavia
2007-12-31 04:16:44
On Mon, 31 Dec 2007 01:17:51 -0500
"E. J. Cerejo" <ecerejooptonline.net> 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? 

What does 'bsdlabel /dev/ad0s2' say?

-- 
Nikola Lečić :: Никола Лечић
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: Boot Menu Damaged
country flaguser name
United States
2007-12-31 08:50:06
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

> 
> _______________________________________________
> freebsd-questionsfreebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: Boot Menu Damaged
country flaguser name
United States
2007-12-31 09:46:04
----- Original Message ----- 
From: "Jerry McAllister" <jerrymcmsu.edu>
To: "E. J. Cerejo" <ecerejooptonline.net>
Cc: <FreeBSD-questionsfreebsd.org>
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. 

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: Boot Menu Damaged
country flaguser name
United States
2007-12-31 13:11:34
Jerry McAllister wrote:
> On Mon, Dec 31, 2007 at 10:46:04AM -0500, E. J. Cerejo
wrote:
>
>   
>> ----- Original Message ----- 
>> From: "Jerry McAllister" <jerrymcmsu.edu>
>> To: "E. J. Cerejo" <ecerejooptonline.net>
>> Cc: <FreeBSD-questionsfreebsd.org>
>> 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-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )