disklabel question

Josh Paetzel friar_josh at tcbug.org
Sat Dec 27 08:07:26 PST 2003


On Sat, Dec 27, 2003 at 09:02:37AM -0500, Jason wrote:
> hey folks, I just migrated my freebsd server from a couple of 
> older/smaller scsi disks to a new ide controller with a bigger ATA133 
> disk. I have all the partitions moved over to the new drive..
> the /etc/fstab on the new drive is updated. The bootmanager is installed 
> on the new drive.. but when I boot, I get
> 
> Invalid partition
> No /boot/loader
> 
> >>FreeBSD/i386 BOOT
> Default: 0:ad(0,a)/kernel
> boot:
> 
> At the "boot:" prompt if I enter "0:ad(4,e)/kernel", it boots fine.
> 
> here is the old vs the new
> Filesystem    Size   Used  Avail Capacity  Mounted on
> /dev/da0s1a   126M    53M    63M    45%    /
> /dev/da0s1f   252M    21M   211M     9%    /tmp
> /dev/da0s1e   252M   124M   108M    53%    /var
> /dev/da1s1e   3.9G   2.7G   946M    74%    /usr
> procfs        4.0K   4.0K     0B   100%    /proc
> 
> new:
> Filesystem    Size   Used  Avail Capacity  Mounted on
> /dev/ad4s1e   984M   534M   372M    59%    /
> /dev/ad4s1f    36G   2.2G    31G     6%    /usr
> procfs        4.0K   4.0K     0B   100%    /proc
> 
> 
> so Im thinking I need to do something with disklabel but I want to make 
> sure that I dont destroy my "so far working" efforts.
> 
> regards,
> Jason

I believe a look through /boot/defaults/loader.conf should set you on the path 
to booting goodness. :)

Josh Paetzel



More information about the freebsd-questions mailing list