On Sat, Nov 29, 2008 at 11:37 AM, admin <[EMAIL PROTECTED]> wrote:
>
> Hello, everyone. This is the problem: our SCSI disk with FreeBSD 4.8 on it
> has been failing recently, so I copied its root partition to a fresh IDE
> disk with cp -pR and tried to boot from that. Unfortunately, loader gives me
> this:
> can't load 'kernel'
> can't load 'kernel.old'
> and offers prompt.
> I tried almost any combination of the loader command (like
> 0:ad0(0,a)/boot/loader) but still the same. The kernels are right there:
> /kernel and /kernel.old. Can't the root partition be copied this way? Should
> their location on disk be hardcoded somewhere? Please help me with
> bootblocks etc. as I'm desperately running out of time.


Short of using dump/restore, you should append the -p flag to `cp',
because it preserves permissions.  Follow the advice posted by RW,
however.


-- 
Glen Barber


"If you have any trouble sounding condescending, find a Unix user to
show you how it's done."
 --Scott Adams
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to