[Debian] How to enter single user mode?
#1
Hi,
I am trying to enter single use mode.
The purpose is to move /var /usr and /home to a newly installed ssd.

I tried typing "init 1" and I got a black screen with a blinking cursor, no text input.
The same thing happens when I tried "systemctl isolate rescue.target".

Are there boot options to allow me to enter single user mode?
I could always boot from an sd card and do it from there, only I don't have one handy at the moment. Besides single user mode should work.
#2
Yes, I would like to know how too
>I tried typing "init 1" and I got a black screen
Just asking, were you in a vt or xterm?
I would not expect it to work in a xterm
You can use rsync, I made a copy of stock with rsync,,
dd the 1st 16M, fdisk to fix part table, make fs, mount
cd to part1 ,, rsync -a /boot .
cd part2 mkdir proc, dev, sys, run (empty directories, don't rsync)
rsync -a (all the rest, 1 at a time) . (rsync -a /bin . ,,, and so on)
To have X not active, reboot, don't login, change to vt, login there (as root)
You likely will have to manually do mount of nvme, and make a fstab
#3
Single user mode is extremely crippled but try a search like https://duckduckgo.com/?q=linux+%22singl...fnt&ia=web

It's better I think to load up a spare bootable SD and boot from that, even using a USB reader, so you're up and running without your main devices mounted. Do what you need to do to them, shut down and pull out the SD, then boot up your normal way. In the old days you'd use a live cd for this.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to install Debian Bullseye because of missing wifi firmware Pino64 1 188 05-13-2022, 06:52 PM
Last Post: wdt
  PBP won’t boot from eMMC after Debian update / Tow-Boot installer won’t boot from SD Pino64 21 743 05-12-2022, 05:00 AM
Last Post: Pino64
  Dual boot Manjaro and Debian? dieselnutjob 3 385 03-26-2022, 07:17 AM
Last Post: dieselnutjob
  Unsuccessful using danielt's unofficial Debian installer on the PBP joeDoe 1 454 03-25-2022, 08:15 AM
Last Post: danielt
  Installing debian on pinebook pro (deb installer/emmc) ljones 14 2,756 02-08-2022, 02:47 AM
Last Post: Humid Stylus
  Debian GPU Support Atton 5 2,886 12-02-2021, 05:37 PM
Last Post: cobratbq
  Official Debian support moonwalkers 62 22,646 11-19-2021, 09:49 AM
Last Post: alpopa
  How to mainline kernel on daniel thompson's debian installer? hellojack 6 1,786 11-16-2021, 02:41 PM
Last Post: TRS-80
  Debian/unstable SD card rescue image vajak 4 1,597 10-28-2021, 02:53 PM
Last Post: vajak
  Please help...Pinebook Pro Night Color / mode not working :( sushilsharma71@gmail.com 13 5,068 08-16-2021, 05:16 PM
Last Post: sushilsharma71@gmail.com

Forum Jump:


Users browsing this thread: 1 Guest(s)