[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 43 3,964 Yesterday, 08:19 AM
Last Post: sepp
  Kernel panic on boot with danielt's Debian installer hjalfi 11 1,012 07-09-2021, 08:52 AM
Last Post: moonwalkers
  Debian GPU Support Atton 1 455 06-05-2021, 09:43 AM
Last Post: moonwalkers
  An unofficial Debian Installer for Pinebook Pro danielt 445 222,614 06-02-2021, 03:26 PM
Last Post: Aberts10
Question Help: Pinebook Pro will not enter sleep [Manjaro 20.04] EverythingIsInput 49 26,708 05-07-2021, 06:21 AM
Last Post: line72
  Keyboard issue: Debian PineSupporter 8 1,465 02-01-2021, 09:57 PM
Last Post: PineSupporter
  Debian Bullseye installation Baconomics 3 1,328 01-07-2021, 01:46 PM
Last Post: kuleszdl
  My Debian journey on the Pinebook Pro schwarzwieweiss 32 8,283 01-07-2021, 09:35 AM
Last Post: schwarzwieweiss
  Graphic problems when booting Debian crecker 1 1,139 12-15-2020, 06:39 PM
Last Post: marszal
  trying to install packages to debian onlyjediontheweekend 1 815 12-09-2020, 03:25 PM
Last Post: nas

Forum Jump:


Users browsing this thread: 1 Guest(s)