Find the answer to your Linux question:
Page 3 of 6 FirstFirst 1 2 3 4 5 6 LastLast
Results 21 to 30 of 57
I assume that you havn't created mount_point /media/sdb5 yet. Boot up from Hard Disk, open Terminal and execute this Code: sudo mkdir /media/sdb5 sudo chown <user_id> : <user_id> /media/sdb5 Replace ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #21
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729

    I assume that you havn't created mount_point /media/sdb5 yet. Boot up from Hard Disk, open Terminal and execute this
    Code:
    sudo mkdir /media/sdb5
    sudo chown <user_id>:<user_id> /media/sdb5
    Replace <user_id> with actual User Id.

    Press Alt+F2 and type this
    Code:
    gksu gedit /etc/fstab
    It will open /etc/fstab file in Gedit with root privileges.
    Add this line at the end of file.
    Code:
    /dev/sdb5  /media/sdb5   ext3  defaults  0   0
    Save file and execute 'sudo mount -a' command. 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

  2. #22
    Linux Newbie leo5111's Avatar
    Join Date
    Oct 2006
    Location
    escaped from XP hell
    Posts
    186
    ok my login is leo5111 what do i change this line to? sudo chown <user_id>:<user_id> /media/sdb5 ?? EDIT and before i do anything how do i get in and become root if i have to boot the live cd to fix my fstab i mean what the user and password i tried root i tried all i could think of couldnt get permissions to write to the file before

  3. #23
    Linux Guru bigtomrodney's Avatar
    Join Date
    Nov 2004
    Location
    Ireland
    Posts
    6,133
    If you are running a livecd you are most likely root already, and will have mounted your partition with the permissions for root to edit it. You shouldn't require any extra authentication. Just add the line the devils_casper has given you above.

  4. #24
    Linux Newbie leo5111's Avatar
    Join Date
    Oct 2006
    Location
    escaped from XP hell
    Posts
    186
    oh youre seeing 2 differnt things in same post the thing i was asking about was i i ever have to boot up the live cd again to fix my installs fstab and no wasnt root i tried and it said dont have permissions and the other was how to edit this sudo chown <user_id>:<user_id> /media/sdb5 to have my username in it its leo5111 and thanx for coming and helping...

  5. #25
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Ubuntu LiveCD uses blank password. Boot up from LiveCD, mount / partition of Ubuntu and open /etc/fstab file with root privileges using sudo or gksu. In case it prompts for password, just hit Enter key.
    the other was how to edit this sudo chown <user_id>:<user_id> /media/sdb5 to have my username in it its leo5111
    Code:
    sudo chown leo5111:leo5111 /media/sdb5
    Execute id command to confirm User Id.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #26
    Linux Newbie leo5111's Avatar
    Join Date
    Oct 2006
    Location
    escaped from XP hell
    Posts
    186
    which command?? im sorry i forget which command thanks also i checked sd5 folder its empty and do i have to unmount hard drive first or will it just mount it upon reboot?

  7. #27
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    which command?? im sorry i forget which command thanks
    About What? Command to mount Ubuntu /partition and edit /etc/fstab file Or assigning read/write access on etx3 partition to Regular User?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #28
    Linux Newbie leo5111's Avatar
    Join Date
    Oct 2006
    Location
    escaped from XP hell
    Posts
    186
    Execute id command to confirm User Id.

  9. #29
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Just type id in Terminal and it will list user_id and other details.
    Code:
    id
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  10. #30
    Linux Newbie leo5111's Avatar
    Join Date
    Oct 2006
    Location
    escaped from XP hell
    Posts
    186
    gid=1000(leo5111) groups=4(adm),20(dialout),24(cdrom),25(floppy),29( audio),30(dip),44(video),46(plugdev),109(lpadmin), 111(scanner),116(netdev),117(powerdev),118(admin), 1000(leo5111)
    leo5111@leo5111-desktop:~$
    thats just from opening terminal not puttin password first and heres if i put in root password to have root privelages uid=0(root) gid=0(root) groups=0(root)
    root@leo5111-desktop:/home/leo5111# EDIT rebootin now it wasnt in right

Page 3 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
  •