Page 8 of 21 FirstFirst ... 67891018 ... LastLast
Results 71 to 80 of 205

Thread: How to fstab

  1. #71
    Join Date
    Apr 2008
    Beans
    117

    Re: How to fstab

    okay but not sure what you mean about manually creating the partitions ... any guidance on that?

  2. #72
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: How to fstab

    http://tldp.org/HOWTO/Partition/fdisk_partitioning.html

    hit n for new partition. Use the numbers from the output you posted earlier :

    /dev/hda1 * 1 2037 16362171 7 HPFS/NTFS
    so, first partition use start on 1 and end of 2037

    add in all your partitions ...

    When you are done, use w to write your partition table and exit.

    Then re-boot (you should, IMO, reboot after writing your partition table).

    If you make a mistake, do not worry about it, fdisk DOES NOT change (write or erase) data to the partitions. Just re-run fdisk and fix your mistake.

    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  3. #73
    Join Date
    Apr 2008
    Beans
    117

    Re: How to fstab

    sorry for being such a dolt but that device is my existing 20 g hard drive - should I use the same numbers for the usb drive which is labelled as /sda?

    a bit confused on that point

    basically I just want the usb drive to dump images, videos and files for back up
    Last edited by Daverobb; August 30th, 2008 at 01:03 AM.

  4. #74
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: How to fstab

    Oh, I mis read sda for hda, lol

    If you had one large partition, make one large partition with fdisk.

    If you have more then one partition, try testdisk

    http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  5. #75
    Join Date
    Apr 2008
    Beans
    117

    Re: How to fstab

    okay -- here's where I'm at:

    I used fdisk and created on big linux partition which was super easy -- after that though it still wasn't showing as a drive. It's actually my girlfriend's drive and I'm trying to help her out with an old laptop so I brought it back to my desktop - it seems to recognize the new partition now but doesn't show up as a drive yet-

    I'm thinking that now I have to mount it and have gone through the post but still am having problems. on this computer it shows up as /dev/sdd1

  6. #76
    Join Date
    Jun 2006
    Location
    Gwangju, Korea
    Beans
    3,479

    Re: How to fstab

    Quote Originally Posted by Daverobb View Post
    okay -- here's where I'm at:

    I used fdisk and created on big linux partition which was super easy -- after that though it still wasn't showing as a drive. It's actually my girlfriend's drive and I'm trying to help her out with an old laptop so I brought it back to my desktop - it seems to recognize the new partition now but doesn't show up as a drive yet-

    I'm thinking that now I have to mount it and have gone through the post but still am having problems. on this computer it shows up as /dev/sdd1
    Have you tried
    Code:
    sudo mount -t ntfs /dev/sdd1 /mnt

  7. #77
    Join Date
    Apr 2008
    Beans
    117

    Re: How to fstab

    How about if it's a FAT drive?

    This is the output:

    Code:
    sudo mount -t ntfs /dev/sdd1 /mnt
    [sudo] password for dave: 
    NTFS signature is missing.
    Failed to mount '/dev/sdd1': Invalid argument
    The device '/dev/sdd1' doesn't have a valid NTFS.
    Maybe you selected the wrong device? Or the whole disk instead of a
    partition (e.g. /dev/hda, not /dev/hda1)? Or the other way around?
    Last edited by Daverobb; August 30th, 2008 at 05:10 AM.

  8. #78
    Join Date
    Jun 2006
    Location
    Gwangju, Korea
    Beans
    3,479

    Re: How to fstab

    Quote Originally Posted by Daverobb View Post
    How about if it's a FAT drive?
    Code:
    sudo mount -t vfat /dev/sdd1 /mnt

  9. #79
    Join Date
    Apr 2008
    Beans
    117

    Re: How to fstab

    This is what results:


    Code:
    $ sudo mount -t vfat /dev/sdd1 /mnt
    [sudo] password for dave: 
    mount: wrong fs type, bad option, bad superblock on /dev/sdd1,
           missing codepage or helper program, or other error
           In some cases useful info is found in syslog - try
           dmesg | tail  or so

  10. #80
    Join Date
    Jun 2006
    Location
    Gwangju, Korea
    Beans
    3,479

    Re: How to fstab

    Quote Originally Posted by Daverobb View Post
    This is what results:


    Code:
    $ sudo mount -t vfat /dev/sdd1 /mnt
    [sudo] password for dave: 
    mount: wrong fs type, bad option, bad superblock on /dev/sdd1,
           missing codepage or helper program, or other error
           In some cases useful info is found in syslog - try
           dmesg | tail  or so
    How is your drive formatted? FAT32? In that case (or in the case of NTFS), it appears to me that the filesystem itself is corrupted.

    If it's some other type, replace the argument to the -t option with the proper one for your filesystem. See man mount for a (partial) list.

Page 8 of 21 FirstFirst ... 67891018 ... LastLast

Tags for this Thread

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
  •