Re: Boot Loader Broken?

2008-01-22 Thread Schiz0
On Jan 21, 2008 10:08 PM, Bob Johnson <[EMAIL PROTECTED]> wrote:
> On 1/21/08, Schiz0 <[EMAIL PROTECTED]> wrote:
> > On Jan 9, 2008 1:38 PM, Schiz0 <[EMAIL PROTECTED]> wrote:
> [...]
> >
> > Now, I'm even in a bigger hole. My power died this weekend, and I
> > guess the / partition has some errors on it, so it is being mounted
> > read-only. But I'm unable to get into single user mode. I tried
> > "shutdown now" and "init 1" and they both brought me back to the
> > multi-user login prompt. And there's no menu to reboot and select
> > single user mode from.
>
> What do you mean by "multi-user login prompt"?
>
> >
> > Can someone help me either solve the bootloader problem, or just how
> > to get into single user mode?
>
> When you reboot the system (e.g. press ctrl-alt-delete or issued the
> "shutdown -r now" command), it should present a boot menu with
> numbered choices. What happens if you select the one corresponding to
> "boot in single user mode". Or do you never get to the menu? If you
> never got that menu, you are almost certainly in single-user mode.
>
> Is there anything in /boot/loader.conf ?
>
> - Bob
>

Sorry for the double post, I hit Send before I realized I didn't
answer half your questions :-X

I tried doing ctrl+alt+del, and it just reboots into the normal login
prompt for multiuser. I do not get any boot menu (And I'm definitely
not in single user mode already, all demons are running and such),
just an error saying:
-
FreeBSD/i386 bootstrap loader, Revision 1.1
([EMAIL PROTECTED], Tue Jan 21 14:22:21 EST 2008)
> \
\: unknown command
-
/boot/kernel/kernel text=0x29e868 data=0x2db8c+0x23814
syms=[0x4+0x34c10+0x4+0x43ef1]
Hit [Enter] to boot immediately, or any other key for a command prompt.
Booting [/boot/kernel/kernel] in 4 seconds ...
-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Boot Loader Broken?

2008-01-22 Thread Schiz0
On Jan 21, 2008 10:08 PM, Bob Johnson <[EMAIL PROTECTED]> wrote:
> On 1/21/08, Schiz0 <[EMAIL PROTECTED]> wrote:
> > On Jan 9, 2008 1:38 PM, Schiz0 <[EMAIL PROTECTED]> wrote:
> [...]
> >
> > Now, I'm even in a bigger hole. My power died this weekend, and I
> > guess the / partition has some errors on it, so it is being mounted
> > read-only. But I'm unable to get into single user mode. I tried
> > "shutdown now" and "init 1" and they both brought me back to the
> > multi-user login prompt. And there's no menu to reboot and select
> > single user mode from.
>
> What do you mean by "multi-user login prompt"?

I mean it just asks me to login with a username. Like the normal...

FreeBSD/i386 (Hostname) (ttyv0)
login:

...thing.

> >
> > Can someone help me either solve the bootloader problem, or just how
> > to get into single user mode?
>
> When you reboot the system (e.g. press ctrl-alt-delete or issued the
> "shutdown -r now" command), it should present a boot menu with
> numbered choices. What happens if you select the one corresponding to
> "boot in single user mode". Or do you never get to the menu? If you
> never got that menu, you are almost certainly in single-user mode.
>
> Is there anything in /boot/loader.conf ?
>

loader.conf has:
"# --- Generated by sysinstall ---
hint.acpi.0.disabled=1"


I actually ran a diff on the files from the 7.0-RC1 installer iso and
on my /boot. I ran the diff on loader.conf, loader.rc, and all the
.4th files. No diff output came up (meaning they were obviously the
same). I was told to also check my fstab, and nothing odd was in there
either.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Boot Loader Broken?

2008-01-22 Thread CyberLeo Kitsana

Schiz0 wrote:

Can someone help me either solve the bootloader problem, or just how
to get into single user mode?


If, instead of the pretty, numbered boot loader menu, you get the old 
4.x style 'Hit [Enter] to boot immediately' autoboot prompt, hit any key 
other than enter, then type 'boot -s' at the loader prompt and hit 
enter. That should boot the kernel, then drop you into single user mode.


--
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
<[EMAIL PROTECTED]>

Furry Peace! - http://.fur.com/peace/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Boot Loader Broken?

2008-01-21 Thread Bob Johnson
On 1/21/08, Schiz0 <[EMAIL PROTECTED]> wrote:
> On Jan 9, 2008 1:38 PM, Schiz0 <[EMAIL PROTECTED]> wrote:
[...]
>
> Now, I'm even in a bigger hole. My power died this weekend, and I
> guess the / partition has some errors on it, so it is being mounted
> read-only. But I'm unable to get into single user mode. I tried
> "shutdown now" and "init 1" and they both brought me back to the
> multi-user login prompt. And there's no menu to reboot and select
> single user mode from.

What do you mean by "multi-user login prompt"?

>
> Can someone help me either solve the bootloader problem, or just how
> to get into single user mode?

When you reboot the system (e.g. press ctrl-alt-delete or issued the
"shutdown -r now" command), it should present a boot menu with
numbered choices. What happens if you select the one corresponding to
"boot in single user mode". Or do you never get to the menu? If you
never got that menu, you are almost certainly in single-user mode.

Is there anything in /boot/loader.conf ?

- Bob
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Boot Loader Broken?

2008-01-21 Thread Schiz0
On Jan 9, 2008 1:38 PM, Schiz0 <[EMAIL PROTECTED]> wrote:
> Hey,
>
> I recently upgraded from 6.3-PRERELEASE to 7.0-PRERELEASE. I had some
> problem with the ports, but I got that taken care of.
>
> Now I'm having another very odd problem.
>
> I originally noticed something odd when I tried to shutdown from
> multiuser mode into single user mode. I ran "shutdown now" as root in
> multiuser. It said it was shutting down, etc. But then, it gave me the
> normal multiuser login prompt. So then I tried rebooting completely,
> and that's where the big error came up:
>
> -
> FreeBSD/i386 bootstrap loader, Revision 1.1
> ([EMAIL PROTECTED], Tue Jan 8 14:22:21 EST 2008)
> > \
> \: unknown command
> -
> /boot/kernel/kernel text=0x29e868 data=0x2db8c+0x23814
> syms=[0x4+0x34c10+0x4+0x43ef1]
> Hit [Enter] to boot immediately, or any other key for a command prompt.
> Booting [/boot/kernel/kernel] in 4 seconds ...
> -
>
> Why it trying to run the command "\" ? Right before I did this, I
> rebuilt world, including the kernel. I installed the new kernel, and
> was moving down to single user to install world.
>
> Is my bootloader corrupt somehow?
>
> Thanks.
>

I'm still having this problem. I installed from the 7.0-RC1 Boot Only
iso. It worked fine. I csuped RELENG_7 and built world, and now it's
giving me the same error.

There's nothign weird in /etc/fstab. I didn't change any files in
/boot. I put the 7.0-RC1 CD in the drive, and diff'ed the /boot from
MY system and the /boot from the CD. Nothing was different. I ran diff
on the loader.conf, loader.rc, and all the .4th files.

Note, I can still boot up fine. I just hit enter at that error prompt
and it boots ok.

Now, I'm even in a bigger hole. My power died this weekend, and I
guess the / partition has some errors on it, so it is being mounted
read-only. But I'm unable to get into single user mode. I tried
"shutdown now" and "init 1" and they both brought me back to the
multi-user login prompt. And there's no menu to reboot and select
single user mode from.

Can someone help me either solve the bootloader problem, or just how
to get into single user mode?

Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Boot Loader Broken?

2008-01-11 Thread Schiz0
On 1/10/08, Lowell Gilbert <[EMAIL PROTECTED]> wrote:
> Schiz0 <[EMAIL PROTECTED]> writes:
>
> > I recently upgraded from 6.3-PRERELEASE to 7.0-PRERELEASE. I had some
> > problem with the ports, but I got that taken care of.
> >
> > Now I'm having another very odd problem.
> >
> > I originally noticed something odd when I tried to shutdown from
> > multiuser mode into single user mode. I ran "shutdown now" as root in
> > multiuser. It said it was shutting down, etc. But then, it gave me the
> > normal multiuser login prompt. So then I tried rebooting completely,
> > and that's where the big error came up:
>
> Note that rebooting completely *is* the normal procedure, so that you
> know your kernel boots before you overwrite anything that depends on it.
>
> >
> > -
> > FreeBSD/i386 bootstrap loader, Revision 1.1
> > ([EMAIL PROTECTED], Tue Jan 8 14:22:21 EST 2008)
> >> \
> > \: unknown command
> > -
> > /boot/kernel/kernel text=0x29e868 data=0x2db8c+0x23814
> > syms=[0x4+0x34c10+0x4+0x43ef1]
> > Hit [Enter] to boot immediately, or any other key for a command prompt.
> > Booting [/boot/kernel/kernel] in 4 seconds ...
> > -
> >
> > Why it trying to run the command "\" ? Right before I did this, I
> > rebuilt world, including the kernel. I installed the new kernel, and
> > was moving down to single user to install world.
> >
> > Is my bootloader corrupt somehow?
>
> I would suspect something more like some extra text in loader.conf.
>

I just did a fresh install from the iso for 7.0-RC1. It worked fine. I
csup'ed the RELENG_7 src, and compiled and installed world and a
kernel. All of this with no error. I rebooted into the new kernel, and
it was fine. Then I rebooted after "make installworld" and I'm getting
that same error. I did not modify any file at all. Looks like there's
a typo in the bootloader config for 7.0-RC1?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Boot Loader Broken?

2008-01-10 Thread Schiz0
On Jan 10, 2008 10:23 AM, Lowell Gilbert
<[EMAIL PROTECTED]> wrote:
> Schiz0 <[EMAIL PROTECTED]> writes:
>
> > I recently upgraded from 6.3-PRERELEASE to 7.0-PRERELEASE. I had some
> > problem with the ports, but I got that taken care of.
> >
> > Now I'm having another very odd problem.
> >
> > I originally noticed something odd when I tried to shutdown from
> > multiuser mode into single user mode. I ran "shutdown now" as root in
> > multiuser. It said it was shutting down, etc. But then, it gave me the
> > normal multiuser login prompt. So then I tried rebooting completely,
> > and that's where the big error came up:
>
> Note that rebooting completely *is* the normal procedure, so that you
> know your kernel boots before you overwrite anything that depends on it.
>
> >
> > -
> > FreeBSD/i386 bootstrap loader, Revision 1.1
> > ([EMAIL PROTECTED], Tue Jan 8 14:22:21 EST 2008)
> >> \
> > \: unknown command
> > -
> > /boot/kernel/kernel text=0x29e868 data=0x2db8c+0x23814
> > syms=[0x4+0x34c10+0x4+0x43ef1]
> > Hit [Enter] to boot immediately, or any other key for a command prompt.
> > Booting [/boot/kernel/kernel] in 4 seconds ...
> > -
> >
> > Why it trying to run the command "\" ? Right before I did this, I
> > rebuilt world, including the kernel. I installed the new kernel, and
> > was moving down to single user to install world.
> >
> > Is my bootloader corrupt somehow?
>
> I would suspect something more like some extra text in loader.conf.
>

My /etc/loader.rc:
---
\ Loader.rc
\ $FreeBSD: src/sys/boot/i386/loader/loader.rc,v 1.4.2.1 2005/10/30
14:37:02 scottl Exp $
\
\ Includes additional commands
include /boot/loader.4th

\ Reads and processes loader.conf variables
start

\ Tests for password -- executes autoboot first if a password was defined
check-password

\ Load in the boot menu
include /boot/beastie.4th

\ Start the boot menu
beastie-start
---

My /etc/loader.conf:
---
# --- Generated by sysinstall ---
hint.acpi.0.disabled=1
---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Boot Loader Broken?

2008-01-10 Thread Lowell Gilbert
Schiz0 <[EMAIL PROTECTED]> writes:

> I recently upgraded from 6.3-PRERELEASE to 7.0-PRERELEASE. I had some
> problem with the ports, but I got that taken care of.
>
> Now I'm having another very odd problem.
>
> I originally noticed something odd when I tried to shutdown from
> multiuser mode into single user mode. I ran "shutdown now" as root in
> multiuser. It said it was shutting down, etc. But then, it gave me the
> normal multiuser login prompt. So then I tried rebooting completely,
> and that's where the big error came up:

Note that rebooting completely *is* the normal procedure, so that you
know your kernel boots before you overwrite anything that depends on it.

>
> -
> FreeBSD/i386 bootstrap loader, Revision 1.1
> ([EMAIL PROTECTED], Tue Jan 8 14:22:21 EST 2008)
>> \
> \: unknown command
> -
> /boot/kernel/kernel text=0x29e868 data=0x2db8c+0x23814
> syms=[0x4+0x34c10+0x4+0x43ef1]
> Hit [Enter] to boot immediately, or any other key for a command prompt.
> Booting [/boot/kernel/kernel] in 4 seconds ...
> -
>
> Why it trying to run the command "\" ? Right before I did this, I
> rebuilt world, including the kernel. I installed the new kernel, and
> was moving down to single user to install world.
>
> Is my bootloader corrupt somehow?

I would suspect something more like some extra text in loader.conf.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Boot Loader Broken?

2008-01-09 Thread Schiz0
Hey,

I recently upgraded from 6.3-PRERELEASE to 7.0-PRERELEASE. I had some
problem with the ports, but I got that taken care of.

Now I'm having another very odd problem.

I originally noticed something odd when I tried to shutdown from
multiuser mode into single user mode. I ran "shutdown now" as root in
multiuser. It said it was shutting down, etc. But then, it gave me the
normal multiuser login prompt. So then I tried rebooting completely,
and that's where the big error came up:

-
FreeBSD/i386 bootstrap loader, Revision 1.1
([EMAIL PROTECTED], Tue Jan 8 14:22:21 EST 2008)
> \
\: unknown command
-
/boot/kernel/kernel text=0x29e868 data=0x2db8c+0x23814
syms=[0x4+0x34c10+0x4+0x43ef1]
Hit [Enter] to boot immediately, or any other key for a command prompt.
Booting [/boot/kernel/kernel] in 4 seconds ...
-

Why it trying to run the command "\" ? Right before I did this, I
rebuilt world, including the kernel. I installed the new kernel, and
was moving down to single user to install world.

Is my bootloader corrupt somehow?

Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"