LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mount problem. (https://www.linuxquestions.org/questions/linux-newbie-8/mount-problem-420934/)

bruse 03-02-2006 08:37 AM

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.

pixellany 03-02-2006 08:44 AM

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

sambyte 03-02-2006 12:01 PM

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

bruse 03-03-2006 01:24 AM

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 ]#


All times are GMT -5. The time now is 08:33 AM.