Results 1 to 7 of 7

Thread: DD for boot slice?

  1. #1
    Join Date
    Jan 2003
    Posts
    4

    DD for boot slice?

    Uh ... what parameters will I need to re-image my boot slice

    Obviously dd if=newboot.img of=/dev/hdx6 isn't working quite right.

    PS: This is for a Series 2 SA ... yes I know about the boot PROM issue.

    Thanks in advance

  2. #2
    Join Date
    Jun 2001
    Posts
    3,108
    did you make sure that your active system is on hdx7? if its on hdx4, then your kernel partition would be hdx3

  3. #3
    Join Date
    Jan 2003
    Posts
    4
    Yes ... is it just straight dd if=newboot.img of=/dev/hdx6 ??

    I tried taking the image off and putting it straight back on unmodified and it doesn't like that. Seems to me straight DD is wrong

  4. #4
    Join Date
    Jun 2001
    Posts
    3,108
    well, it works. i assume for the backup you did a dd if=/dev/hdx6 of=/path/to/myimage.img

  5. #5
    Join Date
    Jan 2003
    Posts
    4

    29

    Yep ... thats what I did for a backup ... but the restore doesnt work. I have a good backup I made with MFSTools and this is my scratch drive so I'm cool .... just not certain why I can't get a restore to work.

    ==

    Got the original to work ... my PROM has been modified with the ideas noted here but the new kernel simply makes the machine reboot. Not sure where I messed up. Hmm ...
    Last edited by Pent; 02-09-2003 at 01:34 PM.

  6. #6
    Join Date
    Nov 2002
    Location
    Santa Clara (SF Bay area)
    Posts
    65

    DD for boot slice?

    You could hexdump the before (good) & after (bad) /dev/hdx6 partitions and visually compare them to verify that the dd worked as expected. I don't remember the bigfoot command offhand. od? bigfoot --help. ;-)

  7. #7
    Join Date
    Jun 2001
    Posts
    3,108
    not sure what the problem was for pent, but i have successfully used dd to backup and restore the original kernel image, as well as using it to restore a modified copy.

Posting Permissions

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