LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   cannot mount anything; I'm denied permission help! (https://www.linuxquestions.org/questions/slackware-14/cannot-mount-anything%3B-im-denied-permission-help-350821/)

DemoniX 08-07-2005 08:41 AM

cannot mount anything; I'm denied permission help!
 
right so here it goes
not only do I have a http://www.linuxquestions.org/questi...hreadid=350776
that as a problem I also cannot boot into slackware I need to replace lilo Quick runing out of time!

samac 08-07-2005 09:33 AM

As I read it you can get to a root terminal when booting from the first slackware cd.

Quote:

cd root@slackware then I try to mnt/dev/hda but it can't find it argh....!!! its on hda I know that
I think that you have either input the info from gbonhevi wrongly or your fstab is needing tweaked.

the command should be
Code:

mount -t filesystem-type /dev/hdaX /mnt
where filesystem-type is either ext2 ext3 or reiserfs depending on your chosen fstype, and X is the partition number of your / partition.

In my case this is "mount -t reiserfs /dev/hda6 /mnt"

Please note the directory /mnt must exist and you must be root.

Then as gbonvehi has said already

chroot /mnt
liloconfig

DemoniX 08-07-2005 10:21 AM

Alright so I used

"mount -t ext3 /dev/hda1/mnt"

then I used "chroot /mnt liloconfig

it then said no file or directory??

keefaz 08-07-2005 11:00 AM

Try to put a space in the mount command between /dev/hda1 and /mnt

DemoniX 08-07-2005 11:01 AM

no i can mount the file system thats fine its when I do chroot /mnt liloconfig that directory or file doesn't exsist

keefaz 08-07-2005 11:04 AM

Try chroot /mnt "/sbin/liloconfig" then

(make sure to put a space between /dev/hda1 and /mnt in the previous mount command)


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