Results 1 to 9 of 9

Thread: [SOLVED] mounting 2 HDs

  1. #1
    Join Date
    Sep 2007
    Location
    USA
    Beans
    Hidden!

    [SOLVED] mounting 2 HDs

    I should have posted this in my other thread. I want to be able to back up files to a second HD. I have it installed and formatted as /ext3 . I can't seem to mount it in gparted. Can I mount two? Here's the

    fdisk -l


    Disk /dev/hdb: 61 GB, 61492193280 bytes
    255 heads, 63 sectors/track, 7476 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hdb1 1 7476 60050938 83 Linux

    Disk /dev/sda: 250 GB, 250056737280 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 30071 241545276 83 Linux
    /dev/sda2 30072 30401 2642692 5 Extended
    /dev/sda5 30072 30401 2642692 82 Linux swap
    -----------------------------------------

    /etc/fstab

    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    /dev/sda1 / ext3 errors=remount-ro 0 1
    /dev/sda5 none swap sw 0 0
    /dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0

    new HD screenshot

    http://i65.photobucket.com/albums/h2...1024_scrot.png

    old HD screenshot

    http://i65.photobucket.com/albums/h2...1024_scrot.png

    Thank you.
    Last edited by AnLGP; July 8th, 2008 at 08:19 AM.

  2. #2
    Join Date
    Mar 2008
    Location
    City of Pines
    Beans
    3,585

    Re: mounting 2 HDs

    If your second drive is /dev/hdb:

    Create the mount point for the device:

    Code:
    sudo mkdir /media/DataBackup
    Open /etc/fstab for editing:

    Code:
    gksudo gedit /etc/fstab
    And, insert the line of text below:

    /dev/hdb /media/DataBackup ext3 defaults 0 2
    Close and Save. Open your terminal and issue the command below:

    Code:
    sudo mount -a
    Steady movement is more important than speed, much of the time. So long as there is a regular progression of Stimuli to get your mental hooks into, there is room for lateral movement. Once this begins, its rate is a matter of discretion.

  3. #3
    Join Date
    Sep 2007
    Location
    USA
    Beans
    Hidden!

    Re: mounting 2 HDs

    [mntent]: warning: no final newline at the end of /etc/fstab
    mount: wrong fs type, bad option, bad superblock on /dev/hdb,
    missing codepage or helper program, or other error
    In some cases useful info is found in syslog - try
    dmesg | tail or so

    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    /dev/sda1 / ext3 errors=remount-ro 0 1
    /dev/sda5 none swap sw 0 0
    /dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
    /dev/hdb /media/DataBackup ext3 defaults 0 2

  4. #4
    Join Date
    Mar 2008
    Location
    City of Pines
    Beans
    3,585

    Re: mounting 2 HDs

    Could you again re-post whatever displays when you issue:

    Code:
    sudo fdisk -l
    and

    Code:
    sudo blkid
    Steady movement is more important than speed, much of the time. So long as there is a regular progression of Stimuli to get your mental hooks into, there is room for lateral movement. Once this begins, its rate is a matter of discretion.

  5. #5
    Join Date
    Sep 2007
    Location
    USA
    Beans
    Hidden!

    Re: mounting 2 HDs

    Disk /dev/hdb: 61 GB, 61492193280 bytes
    255 heads, 63 sectors/track, 7476 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hdb1 1 7476 60050938 83 Linux

    Disk /dev/sda: 250 GB, 250056737280 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 30071 241545276 83 Linux
    /dev/sda2 30072 30401 2642692 5 Extended
    /dev/sda5 30072 30401 2642692 82 Linux swap


    /dev/hdb1: UUID="0b39f81b-72a9-4a1a-b5f6-2c904af2ab04" SEC_TYPE="ext2" TYPE="ext3"
    /dev/sda1: UUID="3421725e-7aa0-41be-8090-ccc2cb50805e" TYPE="ext3"
    /dev/sda5: TYPE="swap"

  6. #6
    Join Date
    Mar 2008
    Location
    City of Pines
    Beans
    3,585

    Re: mounting 2 HDs

    Code:
    gksudo gedit /etc/fstab
    This was your editted fstab file:

    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    /dev/sda1 / ext3 errors=remount-ro 0 1
    /dev/sda5 none swap sw 0 0
    /dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
    /dev/hdb /media/DataBackup ext3 defaults 0 2

    Replace the bold line of text with:

    /dev/hdb1 /media/DataBackup ext3 defaults 0 2
    Save file and open your terminal again:

    Code:
    sudo mount -a
    Steady movement is more important than speed, much of the time. So long as there is a regular progression of Stimuli to get your mental hooks into, there is room for lateral movement. Once this begins, its rate is a matter of discretion.

  7. #7
    Join Date
    Sep 2007
    Location
    USA
    Beans
    Hidden!

    Re: mounting 2 HDs

    [mntent]: warning: no final newline at the end of /etc/fstab

    It got smaller

    I fixed it. At the end of it (the 2 in the last line) put the cursor there, hit enter & then save.
    Last edited by AnLGP; July 8th, 2008 at 09:09 AM.

  8. #8
    Join Date
    Mar 2008
    Location
    City of Pines
    Beans
    3,585

    Re: mounting 2 HDs

    Quote Originally Posted by AnLGP View Post
    [mntent]: warning: no final newline at the end of /etc/fstab

    It got smaller

    I fixed it. At the end of it (the 2 in the last line) put the cursor there, hit enter & then save.
    Good, Im glad you had figured it out yourself. Good luck.
    Steady movement is more important than speed, much of the time. So long as there is a regular progression of Stimuli to get your mental hooks into, there is room for lateral movement. Once this begins, its rate is a matter of discretion.

  9. #9
    Join Date
    Sep 2007
    Location
    USA
    Beans
    Hidden!

    Re: [SOLVED] mounting 2 HDs

    Thanks

Bookmarks

Posting Permissions

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