Hi all,
Using a USB Flash device installation, I mark the my HDD.
For example, I have identified one large slice.
Now, I format and I connect the root partition.
Now I install the OS.
Create /mnt/f9/etc/fstab.
Now, if I will restart my computer, my OS will work!
But I do not want to restart the computer. I want to continue to settings my Os.
In Linux Gentoo I've done this:
Now I'm trying to do with FreeBSD.
I check the result.
- yes opened my fstab that I wrote earlier how /mnt/f9/etc/fstab. The root directory changed successfully!
In Gentoo, we update the environment variables, and began to work with the new root directory.
I'm trying to do this:
This means that I have not started the new OS. How to fix it?
How to continue to work without restarting my computer? Is it possible?
Using a USB Flash device installation, I mark the my HDD.
For example, I have identified one large slice.
Code:
/dev/gpt/f9boot freebsd-boot
/dev/gpt/f9swap freebsd-swap
/dev/gpt/f9root freebsd-ufs
Now, I format and I connect the root partition.
Code:
# newfs -j /dev/gpt/f9root
# mkdir -p /mnt/f9
# mount /dev/gpt/f9root /mnt/f9
Now I install the OS.
Code:
# cd /usr/freebsd-dist/
# cat base.txz | tar --unlink -xpJf - -C /mnt/f9/
# cat kernel.txz | tar --unlink -xpJf - -C /mnt/f9/
Create /mnt/f9/etc/fstab.
Now, if I will restart my computer, my OS will work!
But I do not want to restart the computer. I want to continue to settings my Os.
In Linux Gentoo I've done this:
Code:
# chroot /mnt/gentoo /bin/bash
# env-update
>> Regenerating /etc/ld.so.cache...
# source /etc/profile
Now I'm trying to do with FreeBSD.
Code:
# chroot /mnt/f9 /bin/sh
I check the result.
Code:
# vi /etc/fstab
In Gentoo, we update the environment variables, and began to work with the new root directory.
Code:
# env-update
I'm trying to do this:
Code:
# rehash
rehash: not found
This means that I have not started the new OS. How to fix it?
How to continue to work without restarting my computer? Is it possible?