[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
  Official Debian support moonwalkers 64 64,263 07-08-2024, 01:40 PM
Last Post: Humid Stylus
  Debian on Pinebook Pro u974615 7 2,891 03-31-2024, 10:11 AM
Last Post: u974615
  install debian on pbp jsch 7 5,395 11-22-2023, 04:22 PM
Last Post: TRS-80
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 9,826 09-07-2023, 09:38 PM
Last Post: Der Geist der Maschine
  Unable to install Debian Bullseye because of missing wifi firmware Pino64 7 5,367 07-15-2023, 02:58 PM
Last Post: u974615
  Emergency Mode Boot Hotkey? jiacovelli 20 7,492 06-02-2023, 01:32 PM
Last Post: wdt
  Enter disk description passphrase Galaxy9 1 1,129 01-14-2023, 02:49 PM
Last Post: fxc
Question Debian (Vanilla) no output on display after Kernel update (6.0.8-1) as365n4 1 1,651 12-09-2022, 12:43 PM
Last Post: as365n4
  Unsuccessful using danielt's unofficial Debian installer on the PBP joeDoe 2 2,937 12-09-2022, 05:04 AM
Last Post: ndp
  How can I install Debian? ImmyChan 1 2,746 10-19-2022, 03:09 AM
Last Post: alpopa

Forum Jump:


Users browsing this thread: 1 Guest(s)