Find the answer to your Linux question:
Results 1 to 9 of 9
i got wine now im trying to access the second hard drive in my computer to transfer some files over just cant find the other hard drive...
  1. #1
    Just Joined!
    Join Date
    Oct 2008
    Posts
    8

    more help

    i got wine now im trying to access the second hard drive in my computer to transfer some files over just cant find the other hard drive

  2. #2
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    Type
    su
    then the root password (note the password does not echo to the screen!)

    then
    fdisk -l (note: that is a lower case L not a one)

    this will list all the disk devices known to the system. In most cases the first hard drive is known as sda second hard drive is known as sdb

    There will be an entry for each partition on each hard drive sdb1, sdb2, etc.

    You will need to mount the partition(s) you want to the current file system.
    But first show us the list.

  3. #3
    Just Joined!
    Join Date
    Oct 2008
    Posts
    8
    Device Boot Start End Blocks Id System
    /dev/sda1 1 262 2104483+ 82 Linux swap / Solaris
    /dev/sda2 * 263 2873 20972857+ 83 Linux
    /dev/sda3 2874 19457 133210980 83 Linux

    Disk /dev/sdb: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x6cc2d877

    Device Boot Start End Blocks Id System
    /dev/sdb1 * 1 9354 75135973+ 83 Linux
    /dev/sdb2 9355 9729 3012187+ 5 Extended
    /dev/sdb5 9355 9729 3012156 82 Linux swap / Solaris

    is what i got

  4. #4
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    First you need a mount point in the current file system. This is just an empty directory. So as root in a console (use the su command) type

    chdir /

    this make the current directory root ie \
    then
    mkdir driveb
    use what ever name you like here.
    you should now have a new directory entry in the root named what ever you named it.
    now
    mount /dev/sdb1 /driveb
    again use what ever name you used to make the mount point.

    That should do it.

    If you want it mounted each time you start you will need to add it to /etc/fstab file. You can do this by editing fstab or you can use Yast-system-partitioner.

  5. #5
    Just Joined!
    Join Date
    Oct 2008
    Posts
    8
    when i type chdir/ it gives me nothing lol im kinda new at this

  6. #6
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    The chdir just change the current directory to the new one you specified.

    ie if you are in /home/yourname/

    and you type

    chdir / (note space between chdir and /)

    you will now be in the root directory ie /

    The prompt will change that shows what your current directory is. Also you can type
    ls or dir to see what is in the current directory

    note be default the command line prompt shows what your current directory is.

    chdir is just short hand for Changedirectory
    ls is just shorthand for List
    dir is just there because it is a DOS command and people that know DOS can use it instead of ls

    lspci is short hand for listPCI PCI is the card interface of the PC ie you put PCI cards into a PC

  7. #7
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    BTW the ~ is a short hand for your home directory. So if you see it in a prompt it means you are in your home directory.

  8. #8
    Just Joined!
    Join Date
    Oct 2008
    Posts
    8
    i got it now one of the programs i have "ventrilo" wont work like i can log on but i cant speak or hear the people and i cant get my video driver to update

  9. #9
    Linux Guru smolloy's Avatar
    Join Date
    Apr 2005
    Location
    CA, but from N.Ireland
    Posts
    2,413
    Hi arrr (nice username )
    Glad you got your hard drive sorted . Perhaps you should start a new thread on your problems with ventrilo since it's a separate issue?
    Registered Linux user #388328 || Registered LFS user #15880
    AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
    Need instant help? Try us on IRC -- #linuxforums on freenode

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...