Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 19
every time i start my system i have to mount mount my hard disk again can any one give solution this problem even the desktop wall paper will not show ...
  1. #1
    Linux Newbie
    Join Date
    Jul 2007
    Location
    india,andhra pradesh,hyderabad
    Posts
    125

    Talking how to mount hard disk at start up !!

    every time i start my system i have to mount mount my hard disk again

    can any one give solution this problem

    even the desktop wall paper will not show untill i mount the partitions where it is can any one help me plsss
    rocky

  2. #2
    Linux Enthusiast Bemk's Avatar
    Join Date
    Sep 2008
    Location
    Oosterhout-NB, Netherlands
    Posts
    522
    You can try editing your fstab.

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Quote Originally Posted by rakeshakurathi View Post
    every time i start my system i have to mount mount my hard disk again

    can any one give solution this problem

    even the desktop wall paper will not show untill i mount the partitions where it is can any one help me plsss
    You have to edit /etc/fstab file as suggested by Bemk.

    Press Alt+F2 and type this
    Code:
    gksu gedit /etc/fstab
    It will open /etc/fstab file in Gedit with root privileges.

    Let say, /dev/sda1 is NTFS partition and its mount point ( folder ) is /media/sda1.
    Add this code in /etc/fstab file :
    Code:
    /dev/sda1   /media/sda1    ntfs-3g   defaults,umask=0  0  0
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #4
    Linux Enthusiast Bemk's Avatar
    Join Date
    Sep 2008
    Location
    Oosterhout-NB, Netherlands
    Posts
    522
    I'm sorry that I was so brief, but I was at school and while I waited for my next class (then only a few minutes away) I answered this thread. I'm sorry, but devils casper is right about what you should do.

  5. #5
    Linux Newbie
    Join Date
    Jul 2007
    Location
    india,andhra pradesh,hyderabad
    Posts
    125
    Quote Originally Posted by devils casper View Post
    You have to edit /etc/fstab file as suggested by Bemk.

    Press Alt+F2 and type this
    Code:
    gksu gedit /etc/fstab
    It will open /etc/fstab file in Gedit with root privileges.

    Let say, /dev/sda1 is NTFS partition and its mount point ( folder ) is /media/sda1.
    Add this code in /etc/fstab file :
    Code:
    /dev/sda1   /media/sda1    ntfs-3g   defaults,umask=0  0  0
    after executing the command
    gksu gedit /etc/fstab
    output:
    # /etc/fstab: static file system information.
    #
    # -- This file has been automaticly generated by ntfs-config --
    #
    # <file system> <mount point> <type> <options> <dump> <pass>

    proc /proc proc defaults 0 0
    # Entry for /dev/sda7 :
    UUID=ac50bae8-4f55-45f5-b7e9-ef5bf033a6e7 / ext3 relatime,errors=remount-ro 0 1
    # Entry for /dev/sda9 :
    UUID=5a444f1e-d0ec-4231-93a5-841c42346b9b /boot ext3 relatime 0 2
    # Entry for /dev/sda8 :
    UUID=8f8198e9-e9e0-494d-b509-b108786de87b none swap sw 0 0
    /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
    /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
    what to do next ? i m linux newbie
    rocky

  6. #6
    Linux Newbie
    Join Date
    Jul 2007
    Location
    india,andhra pradesh,hyderabad
    Posts
    125
    Quote Originally Posted by Bemk View Post
    I'm sorry that I was so brief, but I was at school and while I waited for my next class (then only a few minutes away) I answered this thread. I'm sorry, but devils casper is right about what you should do.
    hey no probs atleast u have tried to post something which is helpful
    n thanx a lot
    rocky

  7. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Post the output of this
    Code:
    sudo fdisk -l
    Its small L in fdisk -l.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #8
    Linux Newbie
    Join Date
    Jul 2007
    Location
    india,andhra pradesh,hyderabad
    Posts
    125
    Quote Originally Posted by devils casper View Post
    Post the output of this
    Code:
    sudo fdisk -l
    Its small L in fdisk -l.
    this is the output
    rinku@rakesh-desktop:~$ sudo fdisk -l
    [sudo] password for rinku:

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

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 846 6795463+ b W95 FAT32
    /dev/sda2 847 9729 71352697+ f W95 Ext'd (LBA)
    /dev/sda5 847 3744 23278153+ 7 HPFS/NTFS
    /dev/sda6 3745 6642 23278153+ 7 HPFS/NTFS
    /dev/sda7 6643 7662 8193118+ 83 Linux
    /dev/sda8 7663 7917 2048256 82 Linux swap / Solaris
    /dev/sda9 7918 7981 514048+ 83 Linux
    /dev/sda10 7982 9729 14040778+ b W95 FAT32
    rocky

  9. #9
    Linux Guru jmadero's Avatar
    Join Date
    Jul 2007
    Location
    California
    Posts
    1,958
    You might also have to change the permissions of the folder you are mounting to. If you follow DC's advice and mount to /dev/sda# then you'd want to do the following command in terminal:

    sudo chmod 777 /dev/sda#

    I've had headaches before when my fstab is right but folder permissions limit the use of the partition
    Bodhi 1.3 & Bodhi 1.4 using E17
    Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17

    "The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"

  10. #10
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Execute this
    Code:
    cd /media
    sudo mkdir sda5 sda6 sda10
    Open /etc/fstab file as I suggested in post #3 of this thread.
    Add these lines at the end of file :
    Code:
    /dev/sda5    /media/sda5    ntfs-3g    defaults,umask=0  0  0
    /dev/sda6    /media/sda6    ntfs-3g    defaults,umask=0  0  0
    /dev/sda10    /media/sda10    vfat    defaults,umask=0  0  0
    Save file and reboot machine. Check /media/sda5, 6 and 10 folders. You will have full access in these.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Page 1 of 2 1 2 LastLast

Posting Permissions

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