Thursday, November 27, 2008

Mount OpenBSD slice in Linux

To mount an OpenBSD root slice in GNU/Linux, first create a folder.


sudo mkdir /mnt/openbsd


Then, run the following command:


sudo mount -r -t ufs -o ufstype=44bsd /dev/hdb5 /mnt/openbsd


The key is to locate the OpenBSD root slice in Linux. To do so, type dmesg | grep bsd in a terminal emulator. This will list the devices that are associated with BSD.


Works for my desktop. I dual boot Xubuntu 6.10 and OpenBSD 4.4.

No comments: