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.
Hello, I have 2 HDDs in my box, one with Debian, and one with Window. I was just wondering how I could access my windows hard drive through linux to view all the media I have saved on my windows HDD? I know you can do it cus I did it when I had Mandrake, anyways thanks in advance, byebye.
You first needs to find out what your hdd is named (you can use cfdisk to find that out: cfdisk hda or cfdisk hdb and so on). When you know your name (it should be something like hda1, hdb1, hda2, etc) you need to know what filesystem you are using. FAT is ok, but there is limited support for NTFS.
Now just do:
su
<password>
mount -t vfat /dev/hdxY /mnt/win
change vfat to ntfs if you have NTFS instead (you may want to check out captiva if you use NTFS). Now your content will be in /mnt/win.
Easy,
you have to mount it. Some distros (like knoppix) offer the option on the desktop, appearentlz yours does not.
Mounting a partition is easy. All devices in your computer, RAM, HDD, FD, CDROM, etc. are listed in /dev. If, for example, your hdd is the master on the first IDE bus, it would be called HDA, partitions are called HDA1, HDA2 etc.. The master on the second IDE controler would be HDC. Get it?
So you have to call up a console and try this: "mount -t vfat /dev/[your windows partition] /[the directory you want it mounted at] -rw"
If you dont know which partition your windows is on, I am willing to help you find it.
You just have to mount your Windows drives, and thats not a big deal at all.
first of all you type this command on console
Code:
fdisk -l
it will give you full info about your present HDD.
i am sending you the result of that cmd in my system
Quote:
[root@localhost hardware]# fdisk -l
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1275 10241406 c Win95 FAT32 (LBA)
/dev/hda2 1276 9728 67898722+ f Win95 Ext'd (LBA)
/dev/hda5 1276 2079 6458098+ b Win95 FAT32
/dev/hda6 2080 2844 6144831 b Win95 FAT32
/dev/hda7 2845 4119 10241406 b Win95 FAT32
/dev/hda8 4120 5394 10241406 b Win95 FAT32
/dev/hda9 5395 7178 14329948+ b Win95 FAT32
/dev/hda10 7179 9600 19454683+ 83 Linux
/dev/hda11 9601 9728 1028128+ 82 Linux swap
then u just have to make changes, accordingly, in you /etc/fstab file, i am sending you the copy of my file
Quote:
LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda11 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/hda1 /mnt/win_c auto
/dev/hda5 /mnt/win_d auto
/dev/hda6 /mnt/win_e auto
/dev/hda7 /mnt/win_f auto
/dev/hda8 /mnt/win_g auto
/dev/hda9 /mnt/win_h auto
i am having FAT 32 as my windows file system.
Comparing the chsnges in my fstab file you can make one as per your system config.
and ya you have to make the mount directories explicitly in the /mnt directoru (if you are also mounting in that path, although you can make it anywhere.
hi mani_iips....
what should be entries if i'm mounting one linux in second one...
i mean if i've 2 or more linux distributions on the same machine....then what should be the entries in the fstab of currently running linux so that i can access the other linux distributions...
regards
helo ruudra...
well i havent worked on other Linux distros as yet but may be if you tell me about those which you are using, filesystems that each supports and the result of "fdisk -l" in your distro, i can help you by providing the best solution accordingly.
cherrios.
Okay, that helped, I mounted it but now I can only access it through console as root. How can I make it so I can access it through KDE without being root?
[root@localhost root]# fdisk -l
Disk /dev/hdd: 10.2 GB, 10242892800 bytes
255 heads, 63 sectors/track, 1245 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdd1 1 1245 10000431 c Win95 FAT32 (LBA)
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 637 5116671 b Win95 FAT32
/dev/hda2 638 4864 33953377+ f Win95 Ext'd (LBA)
/dev/hda5 638 1274 5116671 7 HPFS/NTFS
/dev/hda6 1275 3696 19454683+ b Win95 FAT32
/dev/hda7 3697 4257 4506201 83 Linux
/dev/hda8 4258 4282 200781 82 Linux swap
/dev/hda9 4283 4864 4674883+ 83 Linux
[root@localhost root]#
now plz. tell me that what entries should i make in my /etc/fstab to mount the other linux partition................i'm currently in /dev/hda9.......and would like to mount the /dev/hda7 permanently...
regards
hi again yourwar,
What you have to keep in mind is that KDE is only an application running on a superstructur. For a novice user the accessable foundation of this superstructur is the console. If you have mounted a filesystem in a root konsole, processes on the superstructur (x-servers, KDE, GNOME, KONQUEROR, etc.) are bound to that change.
In short, if you mounted a fs, you can access it from any application. Including KDE... Try to access it with conqueror.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.