Unix True 64 - disklabel stangeness

This is Interesting: Free IT Magazines  
Home > Archive > Unix True 64 > January 2005 > disklabel stangeness





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author disklabel stangeness
Jonathan Spooner

2005-01-05, 7:51 am

Hi there,

In a previous thread I had mentioned doing the following in order to try
and make a restored drive bootable.

disklabel -r /dev/re0 > /tmp/disklab
disklabel -r -R -t AdvFS /dev/re0 /tmp/disklab

I'm not sure if that command has ever worked, hence why my drive is
still not bootable as now when I enter the command "disklabel -r -R -t
AdvFS /dev/re0 /tmp/disklab" I get the following error which makes no sense.

"Must specify either disktype or bootfiles with -r flag or RESTORE option"
#

Any ideas?

What does it mean by bootfiles? does it mean /osf_boot ?

Thanks

Jon
MArtin at unixera in dk

2005-01-14, 2:48 am


Jonathan Spooner wrote:
> Hi there,
>
> In a previous thread I had mentioned doing the following in order to

try
> and make a restored drive bootable.
>
> disklabel -r /dev/re0 > /tmp/disklab
> disklabel -r -R -t AdvFS /dev/re0 /tmp/disklab
>
> I'm not sure if that command has ever worked, hence why my drive is
> still not bootable as now when I enter the command "disklabel -r -R

-t
> AdvFS /dev/re0 /tmp/disklab" I get the following error which makes no

sense.
>
> "Must specify either disktype or bootfiles with -r flag or RESTORE

option"
> #
>
> Any ideas?
>
> What does it mean by bootfiles? does it mean /osf_boot ?
>
> Thanks
>
> Jon


I use to split up funktionality :

# disklabel /dev/re0 > /tmp/disklab
# disklabel -z
# disklabel -rw -t advfs /dev/re0
# disklabel -R /dev/re0 /tmp/disklab


For the record .:
bootfiles are the advfs_boot and boot_advfs in (as opposed to ufs_boot
and cdfs_boot)

regards Martin R. Andersen

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com