Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 17 of 17
Originally Posted by devils_casper Execute this Code: su - fdisk -l Or log in as root in GUI and execute fdisk -l . now suddenly the drives have started coming ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined!
    Join Date
    Jan 2008
    Posts
    34

    Quote Originally Posted by devils_casper View Post
    Execute this
    Code:
    su -
    fdisk -l
    Or log in as root in GUI and execute fdisk -l.

    now suddenly the drives have started coming on each reboot but don know whether it will be like this .....output of the file is


    [simran@localhost /]$ sudo sbin/fdisk -l
    Password:

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

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 1305 10482381 7 HPFS/NTFS
    /dev/sda2 1306 9728 67657747+ f W95 Ext'd (LBA)
    /dev/sda5 1306 3916 20972826 7 HPFS/NTFS
    /dev/sda6 3917 5221 10482381 7 HPFS/NTFS
    /dev/sda7 5222 8354 25165791 7 HPFS/NTFS
    /dev/sda8 8355 8379 200781 83 Linux
    /dev/sda9 8380 9728 10835811 8e Linux LVM

    Disk /dev/dm-0: 9965 MB, 9965666304 bytes
    255 heads, 63 sectors/track, 1211 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x00000000

    Disk /dev/dm-0 doesn't contain a valid partition table

    Disk /dev/dm-1: 1073 MB, 1073741824 bytes
    255 heads, 63 sectors/track, 130 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x30307800

    Disk /dev/dm-1 doesn't contain a valid partition table

  2. #12
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Post the contents of /etc/fstab file too.
    Code:
    cat /etc/fstab
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #13
    Just Joined!
    Join Date
    Jan 2008
    Posts
    34
    Quote Originally Posted by devils_casper View Post
    Post the contents of /etc/fstab file too.
    Code:
    cat /etc/fstab
    [simran@localhost ~]$ cat /etc/fstab
    /dev/VolGroup00/LogVol00 / ext3 defaults 1 1
    LABEL=/boot /boot ext3 defaults 1 2
    tmpfs /dev/shm tmpfs defaults 0 0
    devpts /dev/pts devpts gid=5,mode=620 0 0
    sysfs /sys sysfs defaults 0 0
    proc /proc proc defaults 0 0
    /dev/VolGroup00/LogVol01 swap swap defaults 0 0

  4. #14
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Log in as root and execute this
    Code:
    cd /media
    mkdir sda1 sda5 sda6 sda7
    Open /etc/fstab file and add these four lines at the end of file. Make sure that you must be logged in as root user only.

    Code:
    /dev/sda1  /media/sda1  ntfs-3g  defaults,umask=0  0  0
    /dev/sda5  /media/sda5  ntfs-3g  defaults,umask=0  0  0
    /dev/sda6  /media/sda6  ntfs-3g  defaults,umask=0  0  0
    /dev/sda7  /media/sda7  ntfs-3g  defaults,umask=0  0  0
    Save file and execute mount -a command Or reboot machine. Check /media/sda1, 5, 6 and 7 folders. You will have read/write access in all partitions.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #15
    Just Joined!
    Join Date
    Jan 2008
    Posts
    34
    Quote Originally Posted by devils_casper View Post
    Log in as root and execute this
    Code:
    cd /media
    mkdir sda1 sda5 sda6 sda7
    Open /etc/fstab file and add these four lines at the end of file. Make sure that you must be logged in as root user only.

    Code:
    /dev/sda1  /media/sda1  ntfs-3g  defaults,umask=0  0  0
    /dev/sda5  /media/sda5  ntfs-3g  defaults,umask=0  0  0
    /dev/sda6  /media/sda6  ntfs-3g  defaults,umask=0  0  0
    /dev/sda7  /media/sda7  ntfs-3g  defaults,umask=0  0  0
    Save file and execute mount -a command Or reboot machine. Check /media/sda1, 5, 6 and 7 folders. You will have read/write access in all partitions.

    thanks ....this time when i rebooted my system i din get any drives mounted......
    i opened this post and did what u have asked to and it worked ...
    thanks ...again
    ssa

  6. #16
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Glad to help you !
    Do start a new thread if you have any other question.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #17
    Just Joined!
    Join Date
    Jan 2008
    Posts
    34
    i have two more threads for which i have not been able to get much help......they are

    getting errors while using yum
    unable to burn dvd using k3b and gnomebaker

    please see if you can help me in these topics

Page 2 of 2 FirstFirst 1 2

Posting Permissions

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