LinuxQuestions.org
Help answer threads with 0 replies.
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-01-2006, 10:40 AM   #1
digger
Member
 
Registered: Apr 2003
Location: Ridgely Tenn.
Distribution: Win Vista / Slackware 12.1 / Kubuntu 11.04
Posts: 93

Rep: Reputation: 15
Missing Data


Hello,
I have installed Slackware 10.2. I have some issues. One is when I mnt hda1 (fat-c)which is win-98 it can be read But when I mnt hda5 (fat-d)which is win-d nothing shows up, the partition has 44 files, 3Gig of material on it.

What mistake have I made?

Thanks,
digger
 
Old 08-01-2006, 10:46 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941

Rep: Reputation: 129Reputation: 129
Please post the output of:
fdisk -l (as root)
df -h
mount
ls -alh /mnt/fat-d (put the correct mount point for /dev/hda5)
dmesg | grep -i hda5
 
Old 08-01-2006, 10:54 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,464

Rep: Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218
Need more information.

How are you mounting the partition?
Are there any errors?
Do you have an entry in the fstab file for this partition? If so post it.
 
Old 08-01-2006, 11:42 AM   #4
digger
Member
 
Registered: Apr 2003
Location: Ridgely Tenn.
Distribution: Win Vista / Slackware 12.1 / Kubuntu 11.04
Posts: 93

Original Poster
Rep: Reputation: 15
output

Here is what I found

root@darkstar:~# fdisk -l

Disk /dev/sda: 256 MB, 256900608 bytes
16 heads, 32 sectors/track, 979 cylinders
Units = cylinders of 512 * 512 = 262144 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 979 250574+ 6 FAT16

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 2433 19543041 c W95 FAT32 (LBA)
/dev/hda2 2434 4865 19535040 5 Extended
/dev/hda5 2434 4865 19535008+ b W95 FAT32

Disk /dev/hdb: 10.2 GB, 10262568960 bytes
255 heads, 63 sectors/track, 1247 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 130 1044193+ 83 Linux
/dev/hdb2 131 1247 8972302+ 5 Extended
/dev/hdb5 131 195 522081 82 Linux swap
/dev/hdb6 196 724 4249161 83 Linux
/dev/hdb7 725 1247 4200966 83 Linux
root@darkstar:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hdb1 988M 695M 243M 75% /
/dev/hdb6 4.0G 2.2G 1.6G 58% /usr
/dev/hdb7 3.9G 35M 3.7G 1% /home
/dev/hda1 19G 9.4G 9.3G 51% /fat-c

root@darkstar:~# ls -alh /mnt/fat-d /dev/hda5 /dmesg l grep -i hda5
/usr/bin/ls: /mnt/fat-d: No such file or directory
/usr/bin/ls: /dmesg: No such file or directory
/usr/bin/ls: l: No such file or directory
/usr/bin/ls: grep: No such file or directory
/usr/bin/ls: hda5: No such file or directory
100451 brw-rw---- 1 root disk 3, 5 2002-06-09 14:27 /dev/hda5
root@darkstar:~#

Thanks digger
 
Old 08-01-2006, 12:05 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,464

Rep: Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218
Your mounting the c: drive to /fat-c. Do you also have a directory /fat-d?
You did not specify how you are mounting this partition nor posted the /etc/fstab entry if one exists. How are you trying to mount this partition?

To mount manaully try:
mount -t vfat /dev/hda5 /fat-d (Make sure the directory /fat-d exists)
 
Old 08-01-2006, 12:23 PM   #6
digger
Member
 
Registered: Apr 2003
Location: Ridgely Tenn.
Distribution: Win Vista / Slackware 12.1 / Kubuntu 11.04
Posts: 93

Original Poster
Rep: Reputation: 15
yes there is a /fat-d directory.

I was trying to mount /fat-d in the same way that /fat-c did. both in command line (/mnt/dev/hda5/<filename>) and through mnt in KDE.

In kde hda1 shows up all the files are there and can be opened up. hda5 opens up and shows no files.

thank You
 
Old 08-01-2006, 12:27 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,464

Rep: Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218
What happens when you try to mount the partition using the following command (as root)
mount -t vfat /dev/hda5 /fat-d

Post any errors. You can not be accessing the /fat-d directory when trying to mount.
 
Old 08-01-2006, 01:10 PM   #8
digger
Member
 
Registered: Apr 2003
Location: Ridgely Tenn.
Distribution: Win Vista / Slackware 12.1 / Kubuntu 11.04
Posts: 93

Original Poster
Rep: Reputation: 15
/etc/fstab table

Here is the /etc/fstab

/etc/fstab
dev/hdb5 swap swap defaults 0 0
/dev/hdb1 / ext3 defaults 1 1
/dev/hdb6 /usr ext3 defaults 1 2
/dev/hdb7 /home ext3 defaults 1 2
/dev/hda1 /fat-c vfat auto,rw,umask=000 1 0
/dev/hda5 /fat-d vfat auto,rw,umask=000 1 0
/dev/cdrom /dev/mnt/cdrom iso966 noauto,user,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0


I'm going to try to configure my DSL so I don't have to keep rebooting.

thanks
digger
 
Old 08-01-2006, 01:21 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,464

Rep: Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218
Nothing obviously wrong in your fstab. Have you tried to mount the partition manually yet?
 
Old 08-01-2006, 06:52 PM   #10
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941

Rep: Reputation: 129Reputation: 129
Digger,

You're going to want to read and write to that partition as a
normal user, so you should change two lines in /etc/fstab to:
Code:
/dev/hda1        /fat-c          vfat        users,umask=1000,rw,auto  1   0
/dev/hda5        /fat-d          vfat        users,umask=1000,rw,auto  1   0
Then your partitions will be mounted when you start Slackware,
and you can read/write to them as a normal user, not root.

You issued a couple of commands incorrectly. They should be:
dmesg | grep -i hda5
ls -alh /fat-d

Try using code tags so your output is easy to read:
Code:
mingdao@silas:~$ cat /etc/fstab
/dev/sda5        swap             swap        defaults         0   0
/dev/sda6        /                reiserfs    defaults         1   1
/dev/sda7        /usr             reiserfs    defaults         1   2
/dev/sda8        /home            reiserfs    defaults         1   2
/dev/sda1        /WinXP           ntfs        ro               1   0
/dev/sda2        /Shared          vfat        user,umask=1000,rw,auto  1   0
/dev/cdrom       /mnt/cdrom       auto        noauto,users,ro  0   0
/dev/hda         /dvd1            auto        noauto,users,ro  0   0
/dev/hdc         /dvd2            auto        noauto,users,ro  0   0
/dev/sdb1        /usb1            vfat        noauto,users,rw,umask=1000  0  0
/dev/sdc1        /usb2            vfat        noauto,users,rw,umask=1000  0  0
/dev/fd0         /mnt/floppy      auto        noauto,users     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
# Mount point for NFS #
192.168.1.11:/home /serverhome nfs auto,rsize=8192,wsize=8192,hard,intr 0 0
192.168.1.11:/backup /server1 nfs auto,rsize=8192,wsize=8192,hard,intr 0 0
192.168.1.11:/backup2 /server2 nfs auto,rsize=8192,wsize=8192,hard,intr 0 0
# Next line added for kqemu - it will not harm your system
none                    /dev/shm                tmpfs   size=1040M        0 0
# For viewing NTFS drives in USB enclosure #
/dev/sdb1        /mnt/hd          ntfs        noauto,users,ro  0   0
See how much easier that is to read? You simply put [_code_] without
the underscores before your output, and [_/code_] without underscores
after your output.

Notice that your /fat-d partition is NOT mounted:
Code:
root@darkstar:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hdb1 988M 695M 243M 75% /
/dev/hdb6 4.0G 2.2G 1.6G 58% /usr
/dev/hdb7 3.9G 35M 3.7G 1% /home
/dev/hda1 19G 9.4G 9.3G 51% /fat-c
and until it is, Slackware won't see your files. All you're doing when you say
"In kde hda5 opens up and shows no files" is opening a mount point that had
no filesystem mounted, so there is nothing to read.

For michaelk: Did you notice:
Code:
/dev/hda5 2434 4865 19535008+ b W95 FAT32
which would be "b Win95 FAT32 " with no LBA. I must admit that I am
ignorant about LBA (Logical Block Addressing), but think you're not.
 
Old 08-01-2006, 07:13 PM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,464

Rep: Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218
Chinaman,
Should not be a problem with hda5 having a b partition ID
 
Old 08-01-2006, 07:14 PM   #12
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941

Rep: Reputation: 129Reputation: 129
Michael,

Do you suspect PEBKAC?

 
Old 08-01-2006, 07:22 PM   #13
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,464

Rep: Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218
Chinaman,
It has been a struggle trying to pry information from the OP but let us not be hasty in judging character yet...
 
Old 08-22-2006, 04:04 PM   #14
digger
Member
 
Registered: Apr 2003
Location: Ridgely Tenn.
Distribution: Win Vista / Slackware 12.1 / Kubuntu 11.04
Posts: 93

Original Poster
Rep: Reputation: 15
Some progress

I formatted D and installed slack there, made the old linux partition D.
Now we can access all drives as root, and
It is just a matter of user permitions.

digger
 
Old 08-23-2006, 01:11 AM   #15
digger
Member
 
Registered: Apr 2003
Location: Ridgely Tenn.
Distribution: Win Vista / Slackware 12.1 / Kubuntu 11.04
Posts: 93

Original Poster
Rep: Reputation: 15
Problem solved

hello,

I'm able to mount all files as user here is my fstab;
dev/hda5 swap swap defaults 0 0
/dev/hda3 / ext3 defaults 1 1
/dev/hda6 /usr ext3 defaults 1 2
/dev/hda7 /home ext3 defaults 1 2
/dev/hda1 /Win_C vfat defaults 1 0
/dev/hdb1 /Win_D vfat defaults 1 0
/dev/sda1 /SanDisk auto noauto,user,rw 1 0
/dev/scd0 /mnt/cdrom auto noauto,user,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,user,rw 0 0
devpts /dev/pts devpts gid=5,mode=777 0 0
proc /proc proc defaults 0 0

Thanks to all,
 
  


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
Corrupt/missing data fat32 need recovered cormack Linux - General 3 04-12-2006 06:18 PM
data missing in variables Dave Kelly Programming 5 11-20-2005 01:51 PM
gprof: gmon.out file is missing call-graph data hemk76 Programming 0 01-08-2005 12:54 AM
Volume group data missing Smthian AIX 1 07-28-2004 03:01 PM
data missing in usb pen drive when plugout/plugin Jacksytoh Linux - Hardware 10 11-17-2003 02:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:29 PM.

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
Open Source Consulting | Domain Registration