dd disk image won't boot

Ask a Question related to Sun Solaris, Design and Development.

  1. #1

    Default dd disk image won't boot

    Hello,

    I have the following problem :

    I took a dd image from a boot disk on a E4500 to another disk on a
    second diskboard.
    disk0 (source) = /dev/dsk/c0t10d0s2
    disk3 (target) = /dev/dsk/c1t14d0s2

    The goal was to have a copy of the boot disk. (I know there are better
    and faster ways of copying disk, but this is the way it is). As dd takes
    a bitwise copy, I expect the resulting disk to be bootable. So, I issued
    the following command (in single user mode) :

    dd if=/dev/rdsk/c0t10d0s2 of=/dev/rdsk/c1t14d0s2 bs=1048576

    When I swap the diskboards, the kernel spits out the following error
    message :
    Device not bootable

    I booted from cdrom, mounted the disk, and verified the contents of it.
    Looked Ok. Then I made sure the disk to be bootable by a "installboot"
    command. When I rebooted with "boot disk" on the Ok prompt, I got the
    same error (Device not bootable).

    I'm really puzzled here. Could it be that I have to dd the last slice
    too ? Maybe the blocksize is too big, and a part of the last slice
    didn't get copied ?

    The disk I dd'ed was mirrorred too. Could this be a problem ? But I
    expect that the copied disk only will complain about it mirror not up to
    date (metastat will issue a Needs maintenance), so that after a
    "metareplace -e c1t15d0s2" (second disk on the new diskboard), the
    mirror resyncs itself.

    DN.

    /dev/null Guest

  2. Similar Questions and Discussions

    1. Creating a boot diskette that does nothing but boot from hard disk
      Is it possible to create a boot diskette that does nothing more than boot from a specific hard disk? How would I go about doing so? If I can't...
    2. boot disk on sgi
      Does anyone have info on how to get boot image for SGI indigo2 ? I am trying to make a boot CD Thank you very much kyle
    3. boot disk
      How do I make a boot disk for windows xp? I t keep's asking for it.
    4. cd boot disk
      My new laptop dosen't have a floppy drive. How do I create a cd boot disk? Thanks in advance, Mike.
    5. SCO 5 boot disk
      Hello, I got the boot image for SCO 5 installation. How can I mount this disk and see the files in it? Thanks, ts.
  3. #2

    Default Re: dd disk image won't boot

    /dev/null <foo@unix.org> wrote:
    > Hello,
    > I have the following problem :
    > I took a dd image from a boot disk on a E4500 to another disk on a
    > second diskboard.
    > disk0 (source) = /dev/dsk/c0t10d0s2
    > disk3 (target) = /dev/dsk/c1t14d0s2
    > The goal was to have a copy of the boot disk. (I know there are better
    > and faster ways of copying disk, but this is the way it is). As dd takes
    > a bitwise copy, I expect the resulting disk to be bootable.
    Correct.
    > When I swap the diskboards, the kernel spits out the following error
    > message :
    > Device not bootable
    The "kernel" does? Huh?

    I've never seen "Device not bootable" from the kernel or from an OBP
    message. Instead I'd expect "No such device", "can't open device", or
    "contents don't appear to be bootable".

    Can you cut & paste the entire contents from "boot disk" to the error
    message?

    I can only assume that you're not booting from the disk you think you
    are.

    --
    Darren Dunham [email]ddunham@taos.com[/email]
    Unix System Administrator Taos - The SysAdmin Company
    Got some Dr Pepper? San Francisco, CA bay area
    < This line left intentionally blank to confuse you. >
    Darren Dunham Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139