Logging into root


Forum: Other Help Topics
Topic: Logging into root
started by: kenboyles72

Posted by kenboyles72 on Feb. 15 2006,03:19
i've been thinking about running linux, so i downloaded an .iso of dsl to boot from cd. i've used linux before, about 6 years ago, and lost everything i knew. well most of it. at this very moment, im running dsl. i've been going through it and getting familiar with linux again. the only thing i'm kinda having trouble with is, mounting my hard drive. i open up terminal and type this " mount -t vfat /dev/hda1 /mnt". which i think is the right command to mount the hdd that has a fat32 file system. anyways, i get an error saying" only root can do this". if the above mount command is right, how do i log into root?
Posted by mikshaw on Feb. 15 2006,04:24
DSL will typically detect any mountable devices and add them to /etc/fstab with permission for regular users to mount them.  If this is the case, then you should be able to use the command "mount /dev/hda1" to mount it.  Adding the options is generally reserved for partitions that are not already set up in fstab, and will result in the message you received.

If this doesn't work, you can log in as root with the command "sudo su".

You also shouldn't use "/mnt" as a mountpoint, since it will prevent access to any other devices mounted in /mnt/something

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.