Linux - NewbieThis 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
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.
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.
Location: Student of University of Mumbai, Maharastra State, India
Distribution: Redhat Linux 9.0, Knoppix LIVE CD, Ubuntu Live CD, Kubuntu Live CD
Posts: 483
Rep:
Well, You might have to have root permission for this.
You have to edit a file for that (so that it automatically mounts the next time you boot)
If you have C: , D: and so...on....
and you would like to name the like that...make folders in /mnt folder as C, D etc....
Secondly, under root login, edit /etc/fstab file
append the following
Code:
/dev/hdax /mnt/<drivename> vfat
Append depending on the number of partitons
x represents the device number. It wud depend on you partition and hard disk (or disks)
hda1 represents C: drive on first hard disk
hda 5 represents D: (if there's only one primary partition) drive on first hard disk
hdb1 wud represent somethin...(I dont know...) I have only one hard disk
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
/dev/devpts /dev/pts devpts gid=5,mode=620 0 0
/dev/shm /dev/shm tmpfs defaults 0 0
/dev/proc /proc proc defaults 0 0
/dev/sys /sys sysfs defaults 0 0
LABEL=SWAP-sda3 swap swap defaults 0 0
/dev/fd0 /media/floppy auto pamconsole,exec,noauto,managed 0 0
/dev/hdb /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0
/dev/hda /media/cdrom auto pamconsole,exec,noauto,managed 0 0
And my set up is:
SATA HD
Partition 1 FAT32 volume label windows
Partition 2 NTFS volume label swap
Partition 3 FAT32 volume label programs
Partition 4 ext3 (where FC4 is residing)
Partition 5 FAT32 volume label storage
Partition 6 is Linux swap partition.
Primary paralel ATA master and secondary occupied by 2 optical drives.
Originally posted by michaelk SATA drives have SCSI device IDs. Try using /dev/sda1 instead of /dev/hda1.
I think you are right, my optical drive claimed sda and thus I felt something fishy and decided to post my set up earlier on. And GRUB says FC4 is on sda7.
But I tried replacing the hda to sda in the fstab and the mount command but FC4 said the same thing.
fstab says my swap partition is /dev/sda3, any chance that it has anything to do with it?
I have already uninstalled the SUSE 9.3 (which showed those FAT32 partitions by default). And I installed Ubuntu 5.04 and those partitions doesn't show up as well.
- Do not mount the drive with write permissions, because it is still experimental.
- You have to have the ntfs module loaded. Try "modprobe ntfs" before trying to mount it. If it doesn't work you have to get a fedora core kernel that supports it (I'm not a FC user, but I think they provide them as RPM. Do you know what RPM are, don't you? )
HTH
---
Question for the others: Do SATA drives allow to have more than 4 primary partitions? Because Navyblue got 6 of them, so at least one of them has to be extended, then it cannot (shouldn't) be mounted and the numbers change... Isn't it?
Originally posted by enemorales Well ntfs should work, but:
- Do not mount the drive with write permissions, because it is still experimental.
- You have to have the ntfs module loaded. Try "modprobe ntfs" before trying to mount it. If it doesn't work you have to get a fedora core kernel that supports it (I'm not a FC user, but I think they provide them as RPM. Do you know what RPM are, don't you? )
HTH
Yeah I happen to know it, but I don't know how do I uninstall it if I have to do that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.