Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-01-2006, 10:40 AM
|
#1
|
Member
Registered: Apr 2003
Location: Ridgely Tenn.
Distribution: Win Vista / Slackware 12.1 / Kubuntu 11.04
Posts: 93
Rep:
|
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
|
|
|
08-01-2006, 10:46 AM
|
#2
|
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941
Rep:
|
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
|
|
|
08-01-2006, 10:54 AM
|
#3
|
Moderator
Registered: Aug 2002
Posts: 26,464
|
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.
|
|
|
08-01-2006, 11:42 AM
|
#4
|
Member
Registered: Apr 2003
Location: Ridgely Tenn.
Distribution: Win Vista / Slackware 12.1 / Kubuntu 11.04
Posts: 93
Original Poster
Rep:
|
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
|
|
|
08-01-2006, 12:05 PM
|
#5
|
Moderator
Registered: Aug 2002
Posts: 26,464
|
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)
|
|
|
08-01-2006, 12:23 PM
|
#6
|
Member
Registered: Apr 2003
Location: Ridgely Tenn.
Distribution: Win Vista / Slackware 12.1 / Kubuntu 11.04
Posts: 93
Original Poster
Rep:
|
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
|
|
|
08-01-2006, 12:27 PM
|
#7
|
Moderator
Registered: Aug 2002
Posts: 26,464
|
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.
|
|
|
08-01-2006, 01:10 PM
|
#8
|
Member
Registered: Apr 2003
Location: Ridgely Tenn.
Distribution: Win Vista / Slackware 12.1 / Kubuntu 11.04
Posts: 93
Original Poster
Rep:
|
/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
|
|
|
08-01-2006, 01:21 PM
|
#9
|
Moderator
Registered: Aug 2002
Posts: 26,464
|
Nothing obviously wrong in your fstab. Have you tried to mount the partition manually yet?
|
|
|
08-01-2006, 06:52 PM
|
#10
|
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941
Rep:
|
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.
|
|
|
08-01-2006, 07:13 PM
|
#11
|
Moderator
Registered: Aug 2002
Posts: 26,464
|
Chinaman,
Should not be a problem with hda5 having a b partition ID
|
|
|
08-01-2006, 07:14 PM
|
#12
|
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941
Rep:
|
Michael,
Do you suspect PEBKAC?
|
|
|
08-01-2006, 07:22 PM
|
#13
|
Moderator
Registered: Aug 2002
Posts: 26,464
|
Chinaman,
It has been a struggle trying to pry information from the OP but let us not be hasty in judging character yet...
|
|
|
08-22-2006, 04:04 PM
|
#14
|
Member
Registered: Apr 2003
Location: Ridgely Tenn.
Distribution: Win Vista / Slackware 12.1 / Kubuntu 11.04
Posts: 93
Original Poster
Rep:
|
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
|
|
|
08-23-2006, 01:11 AM
|
#15
|
Member
Registered: Apr 2003
Location: Ridgely Tenn.
Distribution: Win Vista / Slackware 12.1 / Kubuntu 11.04
Posts: 93
Original Poster
Rep:
|
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,
|
|
|
All times are GMT -5. The time now is 05:29 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|