Boot block problem

From: James Schmidt (james_at_JamesSchmidt.Com)
Date: 05/15/03

  • Next message: Aaron: "mail access to second disk slow"
    Date: Thu, 15 May 2003 08:35:52 -0500 (CDT)
    To: freebsd-questions@freebsd.org
    
    

    Yesterday I started to notice a failing hard drive on my freebsd server.

    In my haste to back up the existing hard drive to a new hard drive, I
    forgot to make sure that the partitions match on the new hard drive (ie, /
    on the original hard drive was /dev/ad0s1a, the new root partition is on
    /ad0s1e).

    Once I realized my mistake, I was about to mount the new hard drive
    manually using the emergency fix shell from the FreeBSD cd. So, I mounted
    the new partition and edited the new /etc/fstab file, and recreated the
    devices (just to be sure) in /dev.

    However, now whenever I boot, I get the following:

    Invalid partition
    No /boot/loader

    >>FreeBSD/i386 BOOT
    Default: 0:ad(0,a)/kernel
    boot:

    At the "boot:" prompt if I enter "0:ad(0,e)/kernel", it boots fine.

    Apparently I just need to rewrite the new boot block information. I've
    gone through the /stand/sysinstall "fdisk" and "Label" menu options and
    rewritten the new layouts to the drive, but no dice.

    Does anyone know of a way to fix this ? It's not a big deal, I'd just
    like the machine to boot automatically without having to have someone
    enter the new boot path every time.

    Thanks in advance,

    James Schmidt

    _______________________________________________
    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: Aaron: "mail access to second disk slow"

    Relevant Pages

    • Re: Boot from new XP disk
      ... partition (there is only one disk and one partition), ... >> ok, everything seems normal, but it won't boot off the ... >> very hesitant to rewrite the MBR since XP tells you ...
      (microsoft.public.windowsxp.setup_deployment)
    • Re: BootIt NG high level steps - best approach??
      ... backup boot strategy. ... As far as BING, I should tell you I've been using this software ... make managing your bootable options and partition management so much easier. ... drives) and the DATA partition on a mirrored array. ...
      (comp.sys.ibm.pc.hardware.storage)
    • Re: Dual booting
      ... of Microsoft's dual boot scenario. ... The extended partition is not assigned a drive letter, ... BIOS reserves letters A and B for floppy drives, ... If WinXP Setup ...
      (microsoft.public.windowsxp.general)
    • Re: Dual Boot Instructions
      ... I ended up reinstalling Vista, ... The boot SECTOR is not the bootLOADER. ... finds the partition table for that HDD and sees that the first partition is ... violated, we no longer can simply install WinXP, install Vista and ...
      (microsoft.public.windows.vista.hardware_devices)
    • Re: how to change out system disk?
      ... Inaccessible_Boot_Device, when trying to boot from the new HD, but sometimes ... WinXP booted, you can still run Word, Quicken or whatever without having to ... following the primary partition and the first logical drive ). ... > logical drives in a single extended partition. ...
      (microsoft.public.windowsxp.hardware)