Chrooting to FreeBSD 8.1 from BT4

Hi,

I want to get in and install WMs, but i can't...
Code:
root@bt:~# fdisk -l /dev/hda

Disk /dev/hda: 40.0 GB, 40007761920 bytes
16 heads, 63 sectors/track, 77520 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Disk identifier: 0xa8a8a8a8

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1        6241     3145432+   6  FAT16
/dev/hda2   *        6242       77520    35924616   a5  FreeBSD
So i mount this hda2 and try to chroot.
Code:
root@bt:~# mount -t ufs -o ro,ufstype=ufs2 /dev/hda2 /mnt
root@bt:~# chroot /mnt /bin/sh
Segmentation fault
What i did wrong...?
 
You can't chroot into a FreeBSD filesystem from within Linux. Both operating systems work in a completely different way.
 
SirDice said:
You can't chroot into a FreeBSD filesystem from within Linux.
Good to know... :r
Second try, from
Code:
desktopbsd# uname -a
FreeBSD desktopbsd 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #67: Thu Sep  3 01:58:08 UTC 2009     root@tinderbox.3c-consulting.lokal:/usr/obj/usr/src/sys/DESKTOPBSDLIVE  i386
the only live BSD-like DVD i have now.
Code:
desktopbsd# mount /dev/ad0s2a /mnt
desktopbsd# chroot /mnt /bin/sh
#
But i'm unable to do anything from shell.
 
What problems? What links? I still have no clue what you're trying to accomplish.
 
SirDice said:
What problems?
LXDE: XScreensaver, while I'm not logged as root, some troubles with DISPLAY variable. GNOME: Probably wiht GDM(?), or /proc, don't remember - no user account to log in.
SirDice said:
What links?
The text/web browser.
Code:
pkg_add -r links
links forums.freebsd.org
SirDice said:
I still have no clue what you're trying to accomplish.
Just chroot to FreeBSD from live CD/DVD with a normal browser to find out what do do, and fix it from shell.
 
Back
Top