Find the answer to your Linux question:
Results 1 to 9 of 9
My MBR became corrupted. I put in the install CD and ran the linux rescue to restore it grub-install etc... Now I get this error when I boot up: Code: ...
  1. #1
    Just Joined!
    Join Date
    Jan 2011
    Posts
    87

    Error 15 at bootup

    My MBR became corrupted. I put in the install CD and ran the linux rescue to restore it grub-install etc... Now I get this error when I boot up:

    Code:
    Booting 'CentOS (2.6.18-194.el5xen)'
    
    root (hd0,0)
    Filesystem type is ext2fs, partition type 0x83
    kernel /boot/xen.gz-2.6. 18-194.el5
    I was told that this could be because files were moved, or renamed? How do I solve this without doing a complete reinstall?

  2. #2
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    1,943
    Is CentOS the only operating system?
    Can you boot to rescue mode and get partition information with the fdisk command to post?
    Do you have a separate boot partition?
    Have you mounted your boot partition or directory to check to see if the appropriate files are there?

  3. #3
    Just Joined!
    Join Date
    Jan 2011
    Posts
    87
    Yes CentOS is the only OS.
    I did not try to get partition information. Can you explain this? I do know that /boot lives on hda1.
    I think I just answered that, /boot is on hda1
    From what I can tell, I think everything is there.

    I made a backup CD of my /boot directory and put it on a CD as a .iso How do I get the /boot.iso on my system to replace the one that's messed up?

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    I made a backup CD of my /boot directory and put it on a CD as a .iso How do I get the /boot.iso on my system to replace the one that's messed up?
    Which tool did you use to create .iso image? You can just extract .iso image and replace contents of /boot of Hard disk with extracted contents. You can use LiveCD or bootable USB to boot up system and replace contents.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined!
    Join Date
    Jan 2011
    Posts
    87
    I just used mkisofs and burned it to a CD.

  6. #6
    Just Joined!
    Join Date
    Jan 2011
    Posts
    87
    Quote Originally Posted by devils casper View Post
    Which tool did you use to create .iso image? You can just extract .iso image and replace contents of /boot of Hard disk with extracted contents. You can use LiveCD or bootable USB to boot up system and replace contents.
    How would I use the LiveCD to replace /boot?

  7. #7
    Just Joined!
    Join Date
    Jan 2011
    Posts
    87
    bump for good measure?

  8. #8
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    I think he was just saying to boot into the LiveCD and from there you can extract the iso to replace /boot. I think at this point unless you know what are doing, you should post the output of the fdisk command for all to see. You may not need to replace /boot yet. Just because your system is messed up does not mean that a backup of the /boot partition/directory is going to fix anything. Post the output of
    Code:
    fdisk -l
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  9. #9
    Linux Guru
    Join Date
    May 2011
    Posts
    1,843
    to mount your boot.iso file, do (as root):
    Code:
    mkdir -p /mnt/iso
    mount -o loop /path/to/boot.iso /mnt/iso
    all files in the ISO file are now available (read-only) in the /mnt/iso directory.

Posting Permissions

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