Jump to content

Problem Mounting Driive in Knoppix


ShineDesign
 Share

Recommended Posts

Ok, so I had a problem with OpenGL (as stated in my post: http://mandrakeusers.org/index.php?showtopic=18805 ) and the readme told me to delete the line in /etc/security/console.perms relating to <dri>. So I did...and now my MDK 10 won't run. It says it can't mount the superblock, errors in the console.perm file. etc etc etc.

 

Beforehand, I made a backup of console.perms, of which I can't revert back to because even as root, it won't let me overwrite (saying it's read only).

 

So, I put Knoppix on a CD to mount the drive from there and overwrite, but knoppix won't mount the drive.

 

root@ttyp0[knoppix]# mount /mnt/hdg1
mount: wrong fs type, bad option, bad superblock on /dev/hdg1,
      or too many mounted file systems

Whats up with this?

 

Anybody know how I can reload my console.perms.backup file back to the console.perms file, or at least just edit the console.perms and add the deleted line back in without giving me a "read-only" error? I even CHMOD the file from root...no luck.

 

[moved from Software by spinynorman]

Link to comment
Share on other sites

Beforehand, I made a backup of console.perms, of which I can't revert back to because even as root, it won't let me overwrite (saying it's read only). [moved from Software by spinynorman]

my opinion, others may think different ;)

 

i only have lilo, so i can't tell you how to do it whit another boot loader

at the boot loader screen press ESC

the at the ":" write single linux, being linux your name for linux, in my case it would be linux or 267-ck5

then press Return

it should start your linux on maintenance mode, there you can modify your console perms, if you can't do this, use the mounting command line given by devries.. if you have another error message from missing type, write this..

mount -t auto /dev/hdX /mnt/hdX, or

mount -t filesystem /dev/hdX /mnt/hdX, where filesystem could be ext2, ext3, xfs, reiserfs, etc..

 

i hope this could be of help ;)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...