Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Adding new HDD nightmare

  1. #1
    Join Date
    May 2006
    Location
    United Kingdom
    Beans
    119

    Exclamation Adding new HDD nightmare

    Hello all. I am having a hell of a time trying to get the new HDD to auto-start on boot. It is formatted EXT4 and the label is called "Store". I am using Ubuntu 12.04 LTS.

    Here is the list of my mtab and fstab:

    mtab

    /dev/sdb1 / ext4 rw,errors=remount-ro 0 0
    proc /proc proc rw,noexec,nosuid,nodev 0 0
    sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
    none /sys/fs/fuse/connections fusectl rw 0 0
    none /sys/kernel/debug debugfs rw 0 0
    none /sys/kernel/security securityfs rw 0 0
    udev /dev devtmpfs rw,mode=0755 0 0
    devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0
    tmpfs /run tmpfs rw,noexec,nosuid,size=10%,mode=0755 0 0
    none /run/lock tmpfs rw,noexec,nosuid,nodev,size=5242880 0 0
    none /run/shm tmpfs rw,nosuid,nodev 0 0
    /dev/sdb1 /media/Store ext4 rw,nosuid,nodev,uhelper=udisks 0 0
    gvfs-fuse-daemon /home/steff/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=steff 0 0
    gvfs-fuse-daemon /root/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev 0 0
    /dev/sdc1 /media/Store_ ext4 rw,nosuid,nodev,uhelper=udisks 0 0

    fstab

    /dev/sdb1 / ext4 rw,errors=remount-ro 0 0
    proc /proc proc rw,noexec,nosuid,nodev 0 0
    sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
    none /sys/fs/fuse/connections fusectl rw 0 0
    none /sys/kernel/debug debugfs rw 0 0
    none /sys/kernel/security securityfs rw 0 0
    udev /dev devtmpfs rw,mode=0755 0 0
    devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0
    tmpfs /run tmpfs rw,noexec,nosuid,size=10%,mode=0755 0 0
    none /run/lock tmpfs rw,noexec,nosuid,nodev,size=5242880 0 0
    none /run/shm tmpfs rw,nosuid,nodev 0 0
    /dev/sdb1 /media/Store ext4 rw,nosuid,nodev,uhelper=udisks 0 0
    gvfs-fuse-daemon /home/steff/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=steff 0 0
    gvfs-fuse-daemon /root/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev 0 0
    /dev/sdc1 /media/Store_ ext4 rw,nosuid,nodev,uhelper=udisks 0 0

    I can only mount it using root.

    The second request is; i have a USB section on-board and i would like it to be non accessible on boot.

    The syntax for achieving both of the problems would be most appreciative as well.

    Thanks in advance.
    Last edited by SteffJay; April 24th, 2013 at 10:11 PM.
    HP MediaSmart Server EX470. 2Gb Ram, AMD64 bit processor (running 32bit). 350Gb Hitachi HDD. Running LUbuntu v14.04.

  2. #2
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Adding new HDD nightmare

    Are you certain those two are your fstab and mtab files?

    What do you mean by "trying to get the HDD to autostart at boot"; I presume you just want it to automount with read/write permissions?

    I have never seen anything like that before as /etc/fstab; yours looks exactly the same as mtasb or more like the output of the command mount, so let's really see what your fstab is by showing us the output of
    Code:
    cat /etc/fstab
    and also
    Code:
    sudo blkid -c /dev/null
    We can then help you with the problem.
    Last edited by ajgreeny; April 24th, 2013 at 10:41 PM.

  3. #3
    Join Date
    May 2006
    Location
    United Kingdom
    Beans
    119

    Re: Adding new HDD nightmare

    Thanks for your reply ajgreeny. Here is the result of your first request:

    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc nodev,noexec,nosuid 0 0
    # / was on /dev/sda1 during installation
    UUID=ea2cd6cf-1557-4480-a226-2798bd274c8c / ext4 errors=remount-ro 0 1
    # swap was on /dev/sda5 during installation
    UUID=c5d7b8fa-bf56-4f83-b6d2-3b1f369d6bc3 none swap sw 0 0
    /dev/sdb1 /media/Store ext4 rw,nosuid,nodev,uhelper=udisks 0 0

    Here is the reuult of your second request:

    /dev/sda1: UUID="ea2cd6cf-1557-4480-a226-2798bd274c8c" TYPE="ext4"
    /dev/sda5: UUID="c5d7b8fa-bf56-4f83-b6d2-3b1f369d6bc3" TYPE="swap"
    /dev/sdb1: LABEL="Store" UUID="c8b592b0-7ec8-466c-b750-fda9ba74797e" TYPE="ext4"
    /dev/sdc1: LABEL="USB SMI" UUID="c8a822bb-c4df-4386-b71a-8724056e2232" TYPE="ext3"

    I hope this helps. Thanks in advance.
    HP MediaSmart Server EX470. 2Gb Ram, AMD64 bit processor (running 32bit). 350Gb Hitachi HDD. Running LUbuntu v14.04.

  4. #4
    Join Date
    Jul 2005
    Beans
    2,047

    Re: Adding new HDD nightmare

    ~
    Last edited by ahallubuntu; June 24th, 2013 at 11:23 PM.

  5. #5
    Join Date
    May 2006
    Location
    United Kingdom
    Beans
    119

    Re: Adding new HDD nightmare

    hello ahallubuntu. Thank you for your reply. I opted for this configuration: UUID=c8b592b0-7ec8-466c-b750-fda9ba74797e /Store ext4 rw,nosuid,nodev,uhelper=udisks 0 0 and ran sudo mount -a and had no errors in the fstap. However, i still need to mount it with root. Also, it still does not autoboot with the operating system. Please advise. Thanks in advance.
    HP MediaSmart Server EX470. 2Gb Ram, AMD64 bit processor (running 32bit). 350Gb Hitachi HDD. Running LUbuntu v14.04.

  6. #6
    Join Date
    Jul 2005
    Beans
    2,047

    Re: Adding new HDD nightmare

    ~
    Last edited by ahallubuntu; June 24th, 2013 at 11:24 PM.

  7. #7
    Join Date
    May 2006
    Location
    United Kingdom
    Beans
    119

    Re: Adding new HDD nightmare

    Here you go:
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/sdb1 74891424 4520808 66566304 7% /
    udev 1007020 4 1007016 1% /dev
    tmpfs 405816 764 405052 1% /run
    none 5120 0 5120 0% /run/lock
    none 1014532 84 1014448 1% /run/shm
    /dev/sdb1 74891424 4520808 66566304 7% /media/Store
    /dev/sda1 244416 137501 94295 60% /media/USB SMI
    /dev/sdc1 480719568 202688 456097656 1% /media/Store_
    HP MediaSmart Server EX470. 2Gb Ram, AMD64 bit processor (running 32bit). 350Gb Hitachi HDD. Running LUbuntu v14.04.

  8. #8
    Join Date
    Jul 2005
    Beans
    2,047

    Re: Adding new HDD nightmare

    ~
    Last edited by ahallubuntu; June 24th, 2013 at 11:24 PM.

  9. #9
    Join Date
    May 2006
    Location
    United Kingdom
    Beans
    119

    Re: Adding new HDD nightmare

    Ok. After reboot the "df" is as follows:

    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/sdb1 74891424 4520916 66566196 7% /
    udev 1007020 4 1007016 1% /dev
    tmpfs 405816 764 405052 1% /run
    none 5120 0 5120 0% /run/lock
    none 1014532 80 1014452 1% /run/shm
    /dev/sdb1 74891424 4520916 66566196 7% /media/Store
    /dev/sda1 244416 137501 94295 60% /media/USB SMI

    The /etc/mtab is as follows:

    /dev/sdb1 / ext4 rw,errors=remount-ro 0 0
    proc /proc proc rw,noexec,nosuid,nodev 0 0
    sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
    none /sys/fs/fuse/connections fusectl rw 0 0
    none /sys/kernel/debug debugfs rw 0 0
    none /sys/kernel/security securityfs rw 0 0
    udev /dev devtmpfs rw,mode=0755 0 0
    devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0
    tmpfs /run tmpfs rw,noexec,nosuid,size=10%,mode=0755 0 0
    none /run/lock tmpfs rw,noexec,nosuid,nodev,size=5242880 0 0
    none /run/shm tmpfs rw,nosuid,nodev 0 0
    /dev/sdb1 /media/Store ext4 rw,nosuid,nodev,uhelper=udisks 0 0
    gvfs-fuse-daemon /home/steff/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=steff 0 0
    /dev/sda1 /media/USB\040SMI ext3 rw,nosuid,nodev,uhelper=udisks 0 0
    gvfs-fuse-daemon /root/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev 0 0

    I hope this helps. Thanks in advance.
    HP MediaSmart Server EX470. 2Gb Ram, AMD64 bit processor (running 32bit). 350Gb Hitachi HDD. Running LUbuntu v14.04.

  10. #10
    Join Date
    Jul 2005
    Beans
    2,047

    Re: Adding new HDD nightmare

    ~
    Last edited by ahallubuntu; June 24th, 2013 at 11:24 PM.

Page 1 of 2 12 LastLast

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
  •