Boot block problem
From: James Schmidt (james_at_JamesSchmidt.Com)
Date: 05/15/03
- Previous message: Shantanu Mahajan: "Re: umodem question"
- Next in thread: James Schmidt: "RE: Boot block problem"
- Maybe reply: James Schmidt: "RE: Boot block problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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"
- Previous message: Shantanu Mahajan: "Re: umodem question"
- Next in thread: James Schmidt: "RE: Boot block problem"
- Maybe reply: James Schmidt: "RE: Boot block problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|