Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-20-2007, 07:08 AM   #1
LQ Newbie
Registered: Dec 2007
Posts: 1

Rep: Reputation: 0
Smile Error while mounting a ramdisk file


I am trying to add an application to ramdisk.

As a first step i removed the 64 bit header.

bash$ dd if=uRamdisk bs=64 skip=1 of=ramdisk.gz
21876+1 records in
21876+1 records out

Next i uncompressed the ramdisk image.

bash$ gunzip -v ramdisk.gz
ramdisk.gz: 66.6% -- replaced with ramdisk

Next when i try to mount the ramdisk, i get following error:

bash# mount -o loop ramdisk /mnt/tmp
ramdisk: Permission denied

Can someone suggest the cause for this?

Old 12-20-2007, 01:16 PM   #2
Senior Member
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Make sure your loop devices are rw:

brw-rw---- 1 root disk 7, 0 2007-12-19 21:57 0
brw-rw---- 1 root disk 7, 1 2007-12-19 21:57 1
brw-rw---- 1 root disk 7, 2 2007-12-19 21:57 2
brw-rw---- 1 root disk 7, 3 2007-12-19 21:57 3
brw-rw---- 1 root disk 7, 4 2007-12-19 21:57 4
brw-rw---- 1 root disk 7, 5 2007-12-19 21:57 5

Also look at dmesg after you try to mount the ramdisk.


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
Error with gzip command while mounting the RAMdisk Nishant Desai Linux - Software 2 09-13-2006 04:09 AM
Mounting /var into a ramdisk Myrdos Debian 5 03-22-2005 12:49 PM
kernel 2.6.10 - error mounting local file systems sirrus_linux Linux - Software 6 02-12-2005 01:07 PM
How to edit a ramdisk file? lordbelial Linux - General 4 05-27-2004 03:39 AM
Mounting /var on a RAMdisk gamu829 Linux - General 2 09-04-2002 06:54 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:56 AM.

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