Thanks.

I have mounted my new hard drive to /mnt.

Then I ran :

/usr/mdec/installboot -v /mnt/boot /usr/mdec/biosboot sd2

Telling me that /boot will be written at sector 64.

But I'm still booting with my old hdd :(

Tried to enter boot hd1k:/bsd at boot prompt but it's telling me that no
such file or directory. Seems my drive is good as during the early
bootstage I have hd0+ (my old hdd) and hd1+ (new hdd).

Can this be due to the fact my filesystem is currently read-only, as I have
no more space left on my root partition ?



2013/5/14 Otto Moerbeek <o...@drijf.net>

> On Tue, May 14, 2013 at 11:08:49AM +0200, Adrien wrote:
>
> > Hi,
> >
> > I have added a second hard drive in my virtual machine, as my root
> > partition is full. My idea was to add a new disk to the system, then
> > migrate the root partition to the new disk.
> >
> > What I did so far :
> >
> > - In recovery, add the second hard drive, fdisk to initialize it, then
> > disklabel to add a new slice. --> OK
> >
> > - Mounted the new partition, copied everything from root to the new
> > partition, then changed /etc/fstab to the new disk, as well as
> > /mnt/etc/fstab.
> >
> > But after restart, my system can't boot :(
> >
> > Any hint about that ?
> >
> > I have been able to migrate other partition without any problems, but I
> > guess I'm missing something for the root partition.
>
> man installboot
>
>         -Otto

Reply via email to