[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: emergency disk/mounting files



On Tue, 19 Jan 1999, KTB wrote:

> I need to change an X config file I screwed up so I can get into Linux.
> I'm using my boot disk to get to root, so I can bypass X, so I can edit
> the file.  This is the message and prompt I get when booting from the
> floppy:
> 
> VFS: Mounted root (ext2 filesystem) read only.
> sh: /usr/bin/check -sendfile: No such file or directory
> /#
> 
> I then use the command umount like so:
> /# umount /
> 
> I then tried mounting like so:
> /# mount /dev/hdb2 / -rw
> 
>  and got this:
> mount: you must specify the filesystem type
> 
> So I tried:
> /# mount  ext2 /dev/hdb2 / -rw
> 
> and got:
> Usage: mount [-hv]
>             mount -a ...........and so on.
> 
> I also tried:
> /# mount -rw /dev/hdb2 /
> and got the same readout as the example before:
> Usage......
> 

>From 'man mount':
The standard form of the mount command, is
              mount -t type device dir

So you would use:

mount -t ext2 /dev/hdb2 /

This should give you read/write permissions, but you could also do:

mount -t -o rw ext2 /dev/hdb2 /

Bob

----
Bob Nielsen                 Internet: nielsen@primenet.com
Tucson, AZ                  AMPRnet:  w6swe@w6swe.ampr.org
DM42nh                      http://www.primenet.com/~nielsen


Reply to: