Re: disklabel stangeness

From: MArtin at unixera in dk (google_at_unixera.dk)
Date: 01/14/05

  • Next message: Birger Blixt: "Re: More newbie stuff"
    Date: 13 Jan 2005 23:48:58 -0800
    
    

    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


  • Next message: Birger Blixt: "Re: More newbie stuff"