single mode die when upgrade freebsd14.1 to 14.2 .

Dear all :
in last two weaks ago, i have upgrade freebsd14.1 to 14.2. today , i want to enter single mode to update my boot code with gpart . but when i want to enter single mode from reboot. what ever i input , the single mode die , no any response . how to fix this issue ? or that is freebsd14.2. bug ? thanks.
 
Just a remark: you don't need the single user mode to update the bootcodes. You just need to be root.
DEAr Emrion:
thanks. but now , my workstation freebsd14.2 single mode is ok. but my laptop freebsd14.2 singe mode is dead. i don't know why. it's not only soul to update bootcode in single mode. thanks.

the workstatios and laptop upgrade 14.1 to 14.2 in the same day.
 
In the beastie menu you need to press "2". What happens next? At what stage does it stop? You need to press ENTER when the dialog appears when choosing a shell (sh). Where are you stuck?
 
In the beastie menu you need to press "2". What happens next? At what stage does it stop? You need to press ENTER when the dialog appears when choosing a shell (sh). Where are you stuck?
Dear UserID:
thanks for your reply. when i press enter going to shell. after 10sec--2min .. whatever i input, the system don't response , but when i press power button. the system looks like will poweroff normally. what happen to us ?
this is a laptop . dell latitude 3520. thanks.
 
whatever i input, the system don't response , but when i press power button. the system looks like will poweroff normally. what happen to us ?
Quite rough prediction.
Are you loading display drivers affecting not only X11/Wayland but also console (graphics/drm-*-kmod, x11/nvidia-driver, graphics/nvidia-drm-*-drm) in /boot/loader.conf?

If so, unless you upgraded (locally build from ports or on-test pkg repo for 14.2) them BEFORE rebooting after upgrading base to 14.2, the situation you've encountered easily (almost surely) happen.

In this case, the only choices are:
  • Boot from installation media (memstick, CD-ROM, DVD,...), drop to live CD mode, mount the root partition on /mnt or somewhere else, remove the display driver(s) from (if you mounted at /mnt) /mnt/boot/loader.conf, then add the display driver(s) to kld_list variable in /mnt/etc/rc.conf[.local].
  • Detach the drive from laptop and attach it to another computer and fix like above.
But I basically don't recomment the latter, as it could affect the order of drives to be recognized and possibly causing boot error. Especially, if both of your installations are Root-on-ZFS and the names of pools are the same, don't attempt to go into the latter. It surely causes problems/confusions.

If your installation is Root-on-ZFS, you can import the pool from the installation media with
zpool import -R /mnt -f your-pool-name
if you want it to be imported under /mnt.
 
Quite rough prediction.
Are you loading display drivers affecting not only X11/Wayland but also console (graphics/drm-*-kmod, x11/nvidia-driver, graphics/nvidia-drm-*-drm) in /boot/loader.conf?

If so, unless you upgraded (locally build from ports or on-test pkg repo for 14.2) them BEFORE rebooting after upgrading base to 14.2, the situation you've encountered easily (almost surely) happen.

In this case, the only choices are:
  • Boot from installation media (memstick, CD-ROM, DVD,...), drop to live CD mode, mount the root partition on /mnt or somewhere else, remove the display driver(s) from (if you mounted at /mnt) /mnt/boot/loader.conf, then add the display driver(s) to kld_list variable in /mnt/etc/rc.conf[.local].
  • Detach the drive from laptop and attach it to another computer and fix like above.
But I basically don't recomment the latter, as it could affect the order of drives to be recognized and possibly causing boot error. Especially, if both of your installations are Root-on-ZFS and the names of pools are the same, don't attempt to go into the latter. It surely causes problems/confusions.

If your installation is Root-on-ZFS, you can import the pool from the installation media with
zpool import -R /mnt -f your-pool-name
if you want it to be imported under /mnt.
Dear t-aoki:
thanks for your reply , i just my laptop just only intel integrate display adapter, so i have added
kld_list="i915kms"
in my /etc/rc.conf . this laptop work from freebsd13.1 to now 14.2 . never get this issue. when i upgrade it from 14.1 to 14.2 . the single mode just work died in a random time. no any error appeared. that let me crazy . thanks.
 
Back
Top