The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Red Hat
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 12-06-2008
apra143 apra143 is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 37
Quote:
Originally Posted by otheus View Post
You copied too many bytes and overwrote the partition table (or part of it). You should copy only 384 bytes in your dd command. Until then, all bets are off. Hopefully you made a backup copy of the boot sector?
Just to clarify, there is no problem with either OS, I can boot into them fine, but I need to tell my BIOS which HDD to boot from.

The problem is the bootsect.lnx file which the NTLDR boots from, which when selected, doesn't boot into CentOS as expected. I will try:
Code:
dd if=/dev/hdb of=bootsect.lnx bs=384 count=1
and see if that helps.