Re: init panic in freebsd 7.1

2009-03-30 Thread Mel Flynn
On Monday 30 March 2009 14:46:08 Polytropon wrote:

> Note that this change of the device name usually requires changes
> in /etc/fstab, e. g. ad4 -> ad10 to make the system start on this
> hardware.

fstab problem can be solved by using glabel sensibly. Also, isn't 
ATA_STATIC_ID supposed to solve this problem and default in GENERIC kernel?
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: init panic in freebsd 7.1

2009-03-30 Thread Polytropon
On Mon, 30 Mar 2009 08:20:46 -0400, Tsu-Fan Cheng  wrote:
> But while I was testing an
> exact same mborad I got from ebay, I noticed that the replacing board
> name my SATA differently from the old board, its designated as ad10
> and ad12 instead of ad4 and ad6. What is the mechanism that underlie
> this?? thank you!!

The numbering sceme depends on the controller and the amount of
possible disks it allows to be attached, to be describable as
"free controller slots", no matter if a disk is attached or not.
Maybe your first mboard had ad0 - ad4 ATA, ad6 - ad8 SATA, and
the new board has (a) more ATA connectors or (b) uses a different
numbering for the internal and external SATA ports. If the hardware
seems to look exactly the same, there can even be a difference in
the BIOS configuration that causes different numbering.

Note that this change of the device name usually requires changes
in /etc/fstab, e. g. ad4 -> ad10 to make the system start on this
hardware.




-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: init panic in freebsd 7.1

2009-03-30 Thread Tsu-Fan Cheng
Hi,
Thank you, now the problem is solved. But while I was testing an
exact same mborad I got from ebay, I noticed that the replacing board
name my SATA differently from the old board, its designated as ad10
and ad12 instead of ad4 and ad6. What is the mechanism that underlie
this?? thank you!!


TFC


On Sun, Mar 29, 2009 at 2:49 PM, Polytropon  wrote:
> On Sun, 29 Mar 2009 14:23:13 -0400, Tsu-Fan Cheng  wrote:
>> init: not found in path /sbin/ (a lot of paths)
>> panic: no init
>>
>> what is that??
>
> The init process is the "root" of the FreeBSD startup, and the last
> part of the OS loader cannot find it, so the OS cannot start.
>
> http://www.freebsd.org/cgi/man.cgi?query=init&apropos=0&sektion=8&manpath=FreeBSD+7.1-RELEASE&format=ascii
>
> You can use a live system CD of FreeBSD (6, 7) or FreeSBIE to boot
> the system with this CD, it should work. Then you can mount your
> / partition and check the existance of init which usually is
> /sbin/init. Don't forget to fsck the hard disk, maybe due to the
> failing power supply you had some damages on the hard disk (file-wise),
> or even worse...
>
>
>
>
> --
> Polytropon
> From Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: init panic in freebsd 7.1

2009-03-29 Thread Polytropon
On Sun, 29 Mar 2009 14:23:13 -0400, Tsu-Fan Cheng  wrote:
> init: not found in path /sbin/ (a lot of paths)
> panic: no init
> 
> what is that??

The init process is the "root" of the FreeBSD startup, and the last
part of the OS loader cannot find it, so the OS cannot start.

http://www.freebsd.org/cgi/man.cgi?query=init&apropos=0&sektion=8&manpath=FreeBSD+7.1-RELEASE&format=ascii

You can use a live system CD of FreeBSD (6, 7) or FreeSBIE to boot
the system with this CD, it should work. Then you can mount your
/ partition and check the existance of init which usually is
/sbin/init. Don't forget to fsck the hard disk, maybe due to the
failing power supply you had some damages on the hard disk (file-wise),
or even worse...




-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


init panic in freebsd 7.1

2009-03-29 Thread Tsu-Fan Cheng
Hi,
I was having a little trouble with my computer, first thought was
that the mboard was fried, but later found out it was the power supply
and replaced it. The computer started but failed to boot, here is what
it's been complaining,

exec /sbin/init error 8
exec /sbin/init.bak error 8
exec /rescue/init error8

init: not found in path /sbin/ (a lot of paths)

panic: no init


what is that??

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"