LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-02-2006, 09:37 AM   #1
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Rep: Reputation: 30
mount problem.


i want to extract some data of my /dev/sda3 partition.

root@g01 ~]#mkdir /root/1

root@g01 ~]# dd if=/dev/sda3 of=/root/img
692992+0 records in
692992+0 records out
[root@g01 ~]#

[root@g01 ~]# mount /root/img /root/1 -o loop
mount: wrong fs type, bad option, bad superblock on /dev/loop2,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
[root@g01 ~]#


why i can not mount it.where i'm doing wrong.I have searched in google but no info is suitable for my solution.

Thanks.
 
Old 03-02-2006, 09:44 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Why are you doing it this way? Why not just mount the partition to a mount point??

Is it **possible** to mount a file to a mount point?? I dont know
 
Old 03-02-2006, 01:01 PM   #3
sambyte
Member
 
Registered: Feb 2006
Distribution: Redhat 9
Posts: 38

Rep: Reputation: 15
Hi,
if u want to mount simply mount /dev/sda3 then type the command as
# mount /dev/sda3 /mnt(any mount point )

Hope this would help
 
Old 03-03-2006, 02:24 AM   #4
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
hello all,
AFAIK,we can mount a file to an moutn point.because i have mounted an linux iso image.So it is obvious that,we can mount it.

also look some of the result.

Actually /dev/sda3 is linux partition.If i workout the same for /dev/sda2 which is windows(vfat) partition,it works good.

so some where the filesystem problem..

[root@g01 ]#mkfs /root/img -t ext3
mke2fs 1.37 (21-Mar-2005)
Could not stat /root/img --- Permission denied
[root@g01 ]#



[root@g01 ]# dmesg
attempt to access beyond end of device
loop2: rw=0, want=8240, limit=6889
EXT3-fs error (device loop2): ext3_get_inode_loc: unable to read inode block - inode=8, block=1029
EXT3-fs: invalid journal inode.
[root@g01 ]#
 
  


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
Mount problem - device already mounted or mount point busy zahoo Linux - General 7 08-28-2009 06:02 PM
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 12:34 PM
mount:not a directory. Suse dvd mount problem tzanis Linux - General 8 11-06-2005 12:30 PM
Mount Problem SystemDownfall Linux - General 1 09-24-2005 03:38 PM
weird kernel problem and fs mount problem intense Slackware 5 03-16-2004 01:36 PM


All times are GMT -5. The time now is 06:25 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration