LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Rep: Reputation: 137Reputation: 137
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
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,282

Rep: Reputation: 66
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
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,282

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

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 02:28 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration