How do I mount the Drive

Karl Auer kauer at biplane.com.au
Tue Jan 24 03:05:46 UTC 2017


On Mon, 2017-01-23 at 21:56 -0500, Kim Briggs wrote:
> On Mon, Jan 23, 2017 at 4:00 PM, Dr. Mikeal Hughes <macmikeal at me.com>
> wrote:
> > 
> > Or boot off your Live CD and fix the login problem. Boot off the
> > live
> > CD, then:
> > 
> > - add a user "fred"
> > - set fred's password and remember it
> > - mount the hard drive eg on /mnt
> > - edit /mnt/etc/passwd
> > - copy fred's line from /etc/passwd to /mnt/etc/passwd
> > - copy fred's line from /etc/shadow to /mnt/etc/shadow
> > - copy fred's line from /etc/group to /mnt/etc/group
> > - append "fred" to the sudo line in /mnt/etc/group
> > 
> > 
> > I understand ever thing but mount the hard drive e.g. on /mnt -
> > huh?

The LiveCD usually mounts all the drives and partitions it can see
anyway. That step may have been done automagically.

When using the LiveCD, /etc is "on" the LiveCD (actually it's in a RAM
drive, at any rate it's NOT the one on the hard disk). To access your
"real" /etc (or any other area of your hard disk), you first need to
make the hard disk available as a filesystem, i.e., mount it.

If the LiveCD has already mounted your hard drive(s), they might not be
under /mnt. Go exploring in the file manager to find them. You may be
able to see them in the Ubuntu Launcher too; they may be just a click
away :-)

If you can't see the system's hard disks when you are logged in with
the LiveCD, please let us know.

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389

GPG fingerprint: A52E F6B9 708B 51C4 85E6 1634 0571 ADF9 3C1C 6A3A
Old fingerprint: E00D 64ED 9C6A 8605 21E0 0ED0 EE64 2BEE CBCB C38B






More information about the ubuntu-users mailing list