Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22

Thread: 2nd hard drive as slave

  1. #11
    Join Date
    Aug 2012
    Beans
    26

    Re: 2nd hard drive as slave

    Quote Originally Posted by irv View Post
    Why don't you format it the same as the 250gig drive? If you have it formated as ext4 then make the sdb2 62gig the same.

    EDIT: I see you have it at ext4 already.
    I tryed making it the same format it will not allow me to make files and folders or put files and folders in the 2nd hard drive.



    Screenshot from 2012-12-17 13:04:22.png

    Screenshot from 2012-12-17 13:06:36.png

    Screenshot from 2012-12-17 13:38:45.png

    Screenshot from 2012-12-17 13:38:50.png
    Last edited by amber95; December 17th, 2012 at 10:49 PM.

  2. #12
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    4,987

    Re: 2nd hard drive as slave

    On a side note when posting a pic use the paperclip option.

    post a pic.png

    http://www.googlubuntu.com/results/?...Search&lang=en

  3. #13
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: 2nd hard drive as slave

    You are into permissions and ownership issues. And with a fixed internal drive it is best to auto mount with fstab so you set your permissions & ownership. Defaults may not be the best.

    Backup fstab, list UUIDs, copy template into fstab and edit with your UUID, unmount if mounted, and test with mount -a. Details:
    http://ubuntuforums.org/showthread.php?t=1983336
    Mount & edit fstab from Morbius1 - suggest using templates instead. Post #6

    http://www.psychocats.net/ubuntu/mountlinux

    Lots of details:
    Understanding fstab
    https://help.ubuntu.com/community/Fstab
    https://wiki.archlinux.org/index.php/Fstab
    https://help.ubuntu.com/community/Mount/
    https://help.ubuntu.com/community/FilePermissions
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  4. #14
    Join Date
    Jun 2007
    Beans
    14,820

    Re: 2nd hard drive as slave

    Quote Originally Posted by amber95 View Post
    Just linux, When i say slave i mean i can put files and folders on the 2nd hard drive.
    'Slave' doesn't make sense in that context. Even on the old PATA ribbon cable, which actually used master/slave on the bus, you could make the slave your primary drive and boot it, and just use the master as supplemental storage.

    You can continue to think of an extra drive as the slave, but you should beware that the rest of the world doesn't use the word that way, especially when talking about SATA disks since they have their own cables.

  5. #15
    Join Date
    Aug 2012
    Beans
    26

    Re: 2nd hard drive as slave

    Quote Originally Posted by Temüjin View Post
    'Slave' doesn't make sense in that context. Even on the old PATA ribbon cable, which actually used master/slave on the bus, you could make the slave your primary drive and boot it, and just use the master as supplemental storage.

    You can continue to think of an extra drive as the slave, but you should beware that the rest of the world doesn't use the word that way, especially when talking about SATA disks since they have their own cables.
    Well ok... I want my 2nd hard drive for SWAP and all of my wine programs to be installed on it, But it will not let me create files and folders on it nor will it kick in the swap automaticly make sense now?

  6. #16
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: 2nd hard drive as slave

    .wine is one of the more difficult things to move. It literally is the only thing I have not moved, that is data related, out of my /home. The only things in my/home is the hidden user settings.

    I have data partitions on other drives and link all the data back. But you first have to mount the data partition and give it correct ownership & permissions. Also better to format as ext4 or possibly ext3. But ext2 does not have a journal and is more difficult to recover from abnormal shutdown either by the user or power failure.

    Post these:

    sudo blkid -c /dev/null -o list
    sudo cat /etc/fstab
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  7. #17
    Join Date
    Aug 2012
    Beans
    26

    Question Re: 2nd hard drive as slave

    sudo blkid -c /dev/null -o list
    Code:
    device     fs_type label    mount point    UUID
    -------------------------------------------------------------------------------
    /dev/sda1  ext2             /boot          5c23e48c-f483-41a9-8e25-f193d893d1bb
    /dev/sda5  crypto_LUKS      (in use)       1ba5c246-337c-4579-827b-e3d0bdf81a96
    /dev/sdb1  swap             (not mounted)  188dcb8a-9749-47ea-b983-5dbb43417873
    /dev/sdb2  ext2             (not mounted)  dbc955dc-8d91-4705-b537-ac53e4b018ff
    /dev/mapper/sdb5_crypt
               LVM2_member      (in use)       f0bqWQ-t7rt-njm5-kdQd-whHv-ntmt-mwkcMo
    /dev/mapper/ubuntu-root
               ext4             /              0672b6ae-976e-4bc3-a8f9-826266287372
    /dev/mapper/cryptswap1
               swap             <swap>         9ac88c96-8f9a-49ab-a51b-b14127cf31c6
    sudo cat /etc/fstab

    Code:
    # /etc/fstab: static file system information.
    #
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    /dev/mapper/ubuntu-root /               ext4    errors=remount-ro 0       1
    # /boot was on /dev/sdb1 during installation
    UUID=5c23e48c-f483-41a9-8e25-f193d893d1bb /boot           ext2    defaults        0       2
    /dev/mapper/ubuntu-swap_1 none            swap    sw              0       0
    /dev/mapper/cryptswap1 none swap sw 0 0

  8. #18
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: 2nd hard drive as slave

    You are using full encryption with a separate /boot and LVM. I do not know LVM nor encryption.

    I do not know if you can mount an unencrypted partition into your encrypted system or not.
    I though one of the advantages of LVM is that you just add another partition and it becomes part of the LVM. But any damage to either drive destroys both making it impossible to recover data so a really good backup system is required with LVM.

    Advantages/Disadvantages LVM Post #9
    http://ubuntuforums.org/showthread.php?t=1586328
    lvm info older:
    http://ubuntuforums.org/showthread.php?t=141900
    http://tldp.org/HOWTO/LVM-HOWTO/index.html
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  9. #19
    Join Date
    Aug 2012
    Beans
    26

    Talking Re: 2nd hard drive as slave

    Last edited by amber95; December 19th, 2012 at 08:46 PM.

  10. #20
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: 2nd hard drive as slave

    It looks like you made sda1 the /boot partition. Normally I do not suggest a separate /boot, but it only needs to be 300MB if you want to have it. Is it the entire drive?

    I also like to have entire system on one hard drive so if drive fails, I can boot other drive. And I usually have a full install on every drive in a 25GB partition.

    Herman has everything in one partition.
    Herman on advantages/disadvantages of separate system partitions post#3
    http://ubuntuforums.org/showthread.php?t=1410392
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

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
  •