Re: backup drive bootabel

From: Noah (admin2_at_enabled.com)
Date: 12/20/03

  • Next message: Steve Bertrand: "Re: IDE to CF issue"
    To: Matthew Seaman <m.seaman@infracaninophile.co.uk>, Noah <admin2@enabled.com>
    Date: Sat, 20 Dec 2003 12:11:24 -0800
    
    

    >
    > To deal with a standard MBR, you have to use fdisk(8). Try:
    >
    > # fdisk -B -b /boot/mbr -i da1
    >
    > This will walk you through the current settings interactively,
    > letting you generate a slice table, change the active slice and
    > rewrite the boot code.
    >
    > Of course, just to confuse you, fdisk(8) will talk all about
    > "partitions", but be assured it actually means "slices" in *BSD speak.
    > (partitions are generated within each slice using disklabel(8) which
    > is a BSD specific thing. slices are generic for practically all
    > OSes that can run on the IA32 architecture from DOS onwards.)

    Matthew,

    okay I think I see what fdisk is wanting. I wanted to run it by you before i
    did anything:

    here is the prompts I filles out. some prompts do have anything appear there
    i just hit return for the default value. Do I need to change the active
    partition back to anything after running the fdisk Program? I still want to
    boot from /dev/da0 for the time being. I just want /dev/da1 drive ready for
    booting if /dev/da0 fails. Am I on the proper course here?

    --- snip ---

    # fdisk -B -b /boot/mbr -i da1
    ******* Working on device /dev/da1 *******
    parameters extracted from in-core disklabel are:
    cylinders=8924 heads=255 sectors/track=63 (16065 blks/cyl)

    Figures below won't work with BIOS for partitions not in cyl 1
    parameters to be used for BIOS calculations are:
    cylinders=8924 heads=255 sectors/track=63 (16065 blks/cyl)

    Do you want to change our idea of what BIOS thinks ? [n]
    Media sector size is 512
    Warning: BIOS sector numbering starts with sector 1
    Information from DOS bootblock is:
    The data for partition 1 is:
    sysid 165,(FreeBSD/NetBSD/386BSD)
        start 63, size 143363997 (70001 Meg), flag 80 (active)
            beg: cyl 0/ head 1/ sector 1;
            end: cyl 1023/ head 254/ sector 63
    Do you want to change it? [n]
    The data for partition 2 is:
    <UNUSED>
    Do you want to change it? [n]
    The data for partition 3 is:
    <UNUSED>
    Do you want to change it? [n]
    The data for partition 4 is:
    <UNUSED>
    Do you want to change it? [n]
    Partition 1 is marked active
    Do you want to change the active partition? [n] y
    Supply a decimal value for "active partition" [1]
    Are you happy with this choice [n] y
    Do you want to change the boot code? [n] y

    We haven't changed the partition table yet. This is your last chance.
    parameters extracted from in-core disklabel are:
    cylinders=8924 heads=255 sectors/track=63 (16065 blks/cyl)

    Figures below won't work with BIOS for partitions not in cyl 1
    parameters to be used for BIOS calculations are:
    cylinders=8924 heads=255 sectors/track=63 (16065 blks/cyl)

    Information from DOS bootblock is:
    1: sysid 165,(FreeBSD/NetBSD/386BSD)
        start 63, size 143363997 (70001 Meg), flag 80 (active)
            beg: cyl 0/ head 1/ sector 1;
            end: cyl 1023/ head 254/ sector 63
    2: <UNUSED>
    3: <UNUSED>
    4: <UNUSED>
    Should we write new partition table? [n] y

    --- snip ---

    Happy Holidays,
    - noah

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


  • Next message: Steve Bertrand: "Re: IDE to CF issue"

    Relevant Pages

    • FreeBSD 4.4-REL to FreeBSD 4.8-STABLE upgrade problem.
      ... parameters extracted from in-core disklabel are: ... Figures below won't work with BIOS for partitions not in cyl 1 ... BIOS sector numbering starts with sector 1 ... The data for partition 1 is: ...
      (freebsd-questions)
    • FreeBSD 4.4-REL to FreeBSD 4.8-STABLE upgrade problem.
      ... parameters extracted from in-core disklabel are: ... Figures below won't work with BIOS for partitions not in cyl 1 ... BIOS sector numbering starts with sector 1 ... The data for partition 1 is: ...
      (freebsd-stable)
    • Re: cannot see Windows after installing FreeBSD
      ... BIOS sector numbering starts with sector 1 ... The data for partition 1 is ... cyl 786/ head 127/ sector 63 ...
      (freebsd-questions)
    • Re: int13 func05 >8G
      ... no need to format the sector. ... I were the "format" the partition to a FAT partition: ... Create and write the boot sector to the 1st sector ... My guess is you have software that actually called the BIOS format ...
      (comp.lang.asm.x86)
    • Re: fdisk question (long)
      ... > I have a 120G HDD, in the BIOS is set as LBA. ... The controllers are able to map the "absolute" sector number to ... the correct place on the disk - which, bny the way, might even be ... > The data for partition 1 is: ...
      (freebsd-questions)