發表文章

目前顯示的是 11月, 2024的文章

Configuration of FreeBSD Post-Installation

Step 1: Correct the boot and root partition Suppose you install FreeBSD on a portable drive. Once you finish the installation on one device and boot the system on the other device, the system will have a chance to fail to boot due to different naming scheme on the hard drives on each device.  Specifically, the booting process fails at loading the system partition, with the prompt for you to enter the correct partition. At this session, type "list" to show all the partitions found by the bootloader. The bootloader shell then shows the list of partitions found. Find the partition that's readable and recognizable to you (i.e., for GPT paritioned hard drive, ignore the partitions labelled with GUID, as they are equivalent to the readable ones.)  Shutdown the running device and go to the device that has the FreeBSD installed. Boot into the system and edit this file: /etc/fstab and change the path to the partition to the one you found at the device you want the system to boot....