LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Booting into single user mode (https://www.linuxquestions.org/questions/slackware-14/booting-into-single-user-mode-574908/)

JosephS 08-05-2007 03:58 PM

Booting into single user mode
 
I booted into single-user mode to run a file system check. All my partitions for Slackware were mounted rw. Aren't file systems supposed to be unmounted in single-user mode?

Here is the menu.list for grub:
Quote:

title Debian GNU/Linux, kernel 2.6.18-4-686
root (hd0,5)
kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/hda6 ro
initrd /boot/initrd.img-2.6.18-4-686
savedefault

title Debian GNU/Linux, kernel 2.6.18-4-686 (single-user mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/hda6 ro single
initrd /boot/initrd.img-2.6.18-4-686
savedefault

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda1.
title Slackware Linux (on /dev/hda1)
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hda1 ro
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda1.
title Slackware Linux (on /dev/hda1) (single-user mode)
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hda1 ro single
savedefault
boot

When I booted into single-user mode for Debian the filesystems were unmounted.

Thanks.

erklaerbaer 08-05-2007 04:11 PM

in slackware the root filesytem is mounted read-only in the beginning to check its consistency; after that it is remounted readwrite.
these are just design decisions by the distributions..


All times are GMT -5. The time now is 01:05 AM.