LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-07-2005, 08:41 AM   #1
DemoniX
Member
 
Registered: Aug 2004
Distribution: PCLinuxOS 2010
Posts: 30

Rep: Reputation: 15
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!
 
Old 08-07-2005, 09:33 AM   #2
samac
Senior Member
 
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Rep: Reputation: 139Reputation: 139
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
 
Old 08-07-2005, 10:21 AM   #3
DemoniX
Member
 
Registered: Aug 2004
Distribution: PCLinuxOS 2010
Posts: 30

Original Poster
Rep: Reputation: 15
Alright so I used

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

then I used "chroot /mnt liloconfig

it then said no file or directory??
 
Old 08-07-2005, 11:00 AM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Try to put a space in the mount command between /dev/hda1 and /mnt
 
Old 08-07-2005, 11:01 AM   #5
DemoniX
Member
 
Registered: Aug 2004
Distribution: PCLinuxOS 2010
Posts: 30

Original Poster
Rep: Reputation: 15
no i can mount the file system thats fine its when I do chroot /mnt liloconfig that directory or file doesn't exsist
 
Old 08-07-2005, 11:04 AM   #6
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Try chroot /mnt "/sbin/liloconfig" then

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
NFS mount permission denied! naesyllek Linux - Networking 25 06-06-2007 04:24 AM
nfs mount: permission denied kpachopoulos Linux - General 13 02-12-2007 12:07 PM
'permission denied' trying to mount a directory leupi Linux - Networking 19 12-04-2005 06:50 PM
mount: permission denied (in root) kyrian Mandriva 1 02-29-2004 01:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration