Dumb Question But...Forum: Other Help Topics Topic: Dumb Question But... started by: str1d3r Posted by str1d3r on Feb. 12 2004,02:59
Ummm...how do I get into one of my hard drives? I just downloaded DSL and am completely amazed! Anyway, um...I can't seem to get to it...and I'm not familiar at all with hash and bash and the lot, so could someone help me? Thanks!-Str1d3r Posted by Rapidweather on Feb. 12 2004,13:41
Getting into one of your hard drives:Well, I have a slave hard drive on this box at /dev/hdb If I want to make the contents of the Mandrake 8 linux installation at /dev/hdb1 part of the DSL filesystem I do this: #cd / < that gets you to the root filesystem of DSL #mkdir mandrake < give a name to the partition you are mounting #mount /dev/hdb1 /mandrake < that should work #cd /mandrake < you should now be able to go to your mandrake partition #ls -a < This will list the contents of /mandrake Now you can 'CD" to any directory in the /mandrake partition, and view the files there. If you get lost, remember that you can #cd /mandrake to start over ----- If you want to view the contents of a text file in your /mandrake partition, you navigate to the directory, and when you 'ls -a' and you file shows, just #scite myfile and the 'myfile' text file will appear in DSL's Scite editor! ------ Posted by Modrak on Feb. 12 2004,18:07
There is a mount app in the corner of fluxbox
Posted by str1d3r on Feb. 12 2004,18:40
Ummmmm...well...I don't understand any of what you guys just said. So, um...all I want to do is view the contents of say my C:\ drive or my D:\ drive. And how do I look at a CD or floppy? Umm...yeah. -Str1d3r Posted by TyphoonMentat on Feb. 12 2004,19:33
Linux has an entirely different system to that of Windows.All hard drives (well, technically hard drive partitions) are referred to with the syntax /dev/hdxY, where x is the letter for the hard drive (e.g. your first hard drive is a, so it's /dev/hda), and Y is the number of the partition (a little more complicated, but generally it goes 1,2,5,6). You access them by "mounting" them in Linux, which essentially links one of the hard drives to a directory. For instance, to mount my first hard drive's first partition, I'd type: mount /dev/hda1 /mnt/hda1 If you want to learn more, see these: < http://www.linux-mag.com/2000-11/newbies_01.html > < http://www.justlinux.com/nhf....es.html > Posted by str1d3r on Feb. 12 2004,23:36
Oh! Okay, that's much better. Last question, once I mount, how do I view...?-Str1d3r Posted by cbagger01 on Feb. 13 2004,05:43
Right-click on your desktop. Choose "enhance" from the menu.Desktop icons will appear. Double-click on the "Emelfm" icon. This is the graphical file manager for DSL, kinda like Windows Explorer but in Linux. The double dots .. will allow you to move up one level in the directory structure. When you are at the top level ( .. no longer does anything any more), then double-click on the /mnt directory Normally, you can mount your C:\ drive by selecting the hda1 icon with your Mount.app window (lower right corner of the Enhanced desktop) and then push the button to mount it. Otherwise, you can mount it while inside Emelfm window: Once you are inside the /mnt directory, Right-Click on the hda1 directory. Then choose "Mount" from the menu. This means that /mnt/hda1 directory is the "Mount Point" for your C: drive. After you mount the hda1, if you double-click on the hda1 folder, the contents of your C: drive should appear. Good Luck. Posted by str1d3r on Feb. 13 2004,06:02
Okay, well I mounted. But now, when I click on it, Linux says I don't have read privileges. What happened?-Str1d3r Posted by str1d3r on Feb. 13 2004,06:28
Oops..okay, I figured out to type "sudo ls /mnt/hda2 to get my HD dir listed...but I have to type sudo every time. And when I type "sudo su" like the faq says, it asks for a pass...so I give it one. Then is says my pass is bad. Huh? Help? Please?
Posted by TyphoonMentat on Feb. 13 2004,09:02
You have to set a password first with "sudo passwd". Then just type su and enter your password.
Posted by str1d3r on Feb. 13 2004,16:20
Okay, so type "sudo passwd" then press enter? Then type "su" and enter a password?
Posted by TyphoonMentat on Feb. 14 2004,09:31
No, type "sudo passwd", and type in a password when it asks you for one. Then type "su", and enter the password you typed.
Posted by Ralle on Feb. 28 2004,11:44
Or even easier write this in a shell: sudo emelfmThat will load emelfm as super user, which will enable you to do all the reading you like with a nice graphical file editor |