Other Help Topics :: Dumb Question But...



Ummm...how do I get into one of my hard drives?  I just downloaded DSL and am completely amazed!  :p  :O  :laugh: 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 :cool:

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!
------



:;):

There is a mount app in the corner of fluxbox
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. :p

-Str1d3r :cool:

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

Next Page...
original here.