Find the answer to your Linux question:
Page 4 of 6 FirstFirst 1 2 3 4 5 6 LastLast
Results 31 to 40 of 57
Execute command posted in post #25 after gaining root privileges. User leo5111 will have read/write access in /dev/sdb5 patition ( /media/sdb5 )....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #31
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729

    Execute command posted in post #25 after gaining root privileges. User leo5111 will have read/write access in /dev/sdb5 patition ( /media/sdb5 ).
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  2. #32
    Linux Newbie leo5111's Avatar
    Join Date
    Oct 2006
    Location
    escaped from XP hell
    Posts
    186
    theres nothing id the sd5 folder and when i go to manualy mount i have to put in password to gain privlages everytime

  3. #33
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Have you edited /etc/fstab file?
    Are you using LiveCD or booting up from Hard Disk?

    Execute this
    Code:
    cat /etc/fstab
    ls -l /media
    Post output here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. $spacer_open
    $spacer_close
  5. #34
    Linux Newbie leo5111's Avatar
    Join Date
    Oct 2006
    Location
    escaped from XP hell
    Posts
    186
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    # /dev/sda1
    UUID=d9b36543-19b3-4546-8617-f7e37950b61b / ext3 defaults,errors=remount-ro 0 1
    # /dev/sda5
    UUID=c9c4abf2-58e0-43da-bb81-1ebdda29cbaf none swap sw 0 0
    /dev/scd1 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
    /dev/scd0 /media/cdrom1 udf,iso9660 user,noauto,exec 0 0 /dev/sdb5 /media/sdb5 ext3 defaults 0 0
    total 16
    lrwxrwxrwx 1 root root 6 2008-03-16 18:52 cdrom -> cdrom0
    drwxr-xr-x 2 root root 4096 2008-03-16 18:52 cdrom0
    drwxr-xr-x 2 root root 4096 2008-03-16 18:52 cdrom1
    drwxrwxrwx 5 leo5111 leo5111 4096 2008-03-17 10:20 disk
    drwxr-xr-x 2 leo5111 leo5111 4096 2008-03-17 08:35 sdb5
    and im installed on hard drive

  6. #35
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    /dev/scd0 /media/cdrom1 udf,iso9660 user,noauto,exec 0 0 /dev/sdb5 /media/sdb5 ext3 defaults 0 0
    Did you hit Enter key before /dev/sbb5? There should be two separate lines.
    Code:
    /dev/scd0       /media/cdrom1   udf,iso9660 user,noauto,exec 0       0  
    /dev/sdb5  /media/sdb5   ext3  defaults  0   0
    Did you reboot machine after editing /etc/fstab file?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #36
    Linux Newbie leo5111's Avatar
    Join Date
    Oct 2006
    Location
    escaped from XP hell
    Posts
    186
    yep added this and rebooted /dev/sdb5 /media/sdb5 ext3 defaults 0 0 and in my fstab when i added it i merly moved over like 2 spaces with the space bar and then put it in

  8. #37
    Linux Newbie leo5111's Avatar
    Join Date
    Oct 2006
    Location
    escaped from XP hell
    Posts
    186
    ok i fixed the line so it was below like it should be and rebooted now the drive is NOT seen in linux its still seen by partition manager but not if u look in my computer

  9. #38
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Did you check /media/sdb5 folder?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  10. #39
    Linux Newbie leo5111's Avatar
    Join Date
    Oct 2006
    Location
    escaped from XP hell
    Posts
    186
    yep nothing and when i removed the line and rebooted you could see the drive and manauly mount again i wonder if what i did by actualy loggin in as root and goin to properties of drive and makin leo5111 the owner and leo5111 as a user if it did ill go and change it back EDIT went and changed it back to way it was at first root bein owner didnt change anything went to look in media folder and nothing

  11. #40
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,043
    leo5111 for future reference ... and possibly to help now there are at least three ways to get the partition to mount automatically at boot:-

    1. during the install select manual partitioning and set mount points for the drive partitions. You can set the mount point to anything you want ... /media/sdb5 or /leo5111-data etc.

    2. manually enter information into fstab after installation (appoach you appear to be currently trying). Its easier to provide instructions for this method ...

    3. mount the partition where you want, the way you want using the GUI. Then open /etc/mtab (can be read only) and open /etc/fstab (read/write) copy entry for the partition from mtab and paste it into fstab - add any comments you want and save changes.

    When you shutdown & restart the system for all three methods above this should mount the partition as required.

    All you should need to do then is either make yourself the owner of the mounted partition using chown or use chmod to set access rights.

    Ed: You don't need to re-install to get this working, but if you re-install in future it will probably be easier to set mount points during the install process.

Page 4 of 6 FirstFirst 1 2 3 4 5 6 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
  •