Solved Disabled console need help

ampshock

Member

Reaction score: 5
Messages: 21

So I am using a Lenovo think pad t480 and in my notes when I had X11 installed I had to disable the console to boot and startx but now that I removed the ports for reinstall and updated from source I forgot to remove the line in the boot loader.conf file
I believe my /boot/loader.conf line that disables the console is hw.syscons.disbale=1

But how do I boot to single user or I can’t see the console to change this line. Sorry I’m on my smart phone at the moment

I might be able to log in and blindly type a syscontrol command to get it back but what do I blindly type
 
OP
ampshock

ampshock

Member

Reaction score: 5
Messages: 21

Maybe I could just load my installation l media and mount the hard drive with USB FreeBSD

Since my internal hard drive was ZFS I used the live CD of FreeBSD to:
zpool import -f -R /temp/mnt/root zroot

Then I had to
mount -t zfs zroot/ROOT/default /mnt

And edit the /mnt/boot/loader.conf
 
Top