Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Disk /dev/sdb doesn't contain a valid partition table

  1. #1
    Join Date
    Oct 2007
    Beans
    430
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Question Disk /dev/sdb doesn't contain a valid partition table

    Is my external hdd broken? I've tried formatting it but nothing changes...

    Code:
    Disk /dev/sda: 320.0 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x000b00fd
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1        2898    23278153+   7  HPFS/NTFS
    /dev/sda3            2899       38848   288768375   83  Linux
    /dev/sda4           38849       38913      522112+  82  Linux swap / Solaris
    
    Disk /dev/sdb: 250.0 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x0000166a
    
    Disk /dev/sdb doesn't contain a valid partition table

  2. #2
    Join Date
    Nov 2006
    Location
    Conn., United States
    Beans
    1,644

    Re: Disk /dev/sdb doesn't contain a valid partition table

    Quote Originally Posted by 449 View Post
    Is my external hdd broken? I've tried formatting it but nothing changes
    What method are you using to partition and format the drive?
    "When you dual-boot Windows, Windows exists along side of Linux. When you use VirtualBox, Windows exists at the pleasure of Linux." -- ThomasAaron @ System76

  3. #3
    Join Date
    Oct 2007
    Beans
    430
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Disk /dev/sdb doesn't contain a valid partition table

    Quote Originally Posted by HotShotDJ View Post
    What method are you using to partition and format the drive?
    gparted, I've tried everything I know of.

  4. #4
    Join Date
    Nov 2006
    Location
    Conn., United States
    Beans
    1,644

    Re: Disk /dev/sdb doesn't contain a valid partition table

    Quote Originally Posted by 449 View Post
    gparted, I've tried everything I know of.
    I imagine that when you plug in the external drive, it is not automounting and showing up on your desktop or in "Places" since there is not valid filesystem on it. However, could you confirm that for me?
    "When you dual-boot Windows, Windows exists along side of Linux. When you use VirtualBox, Windows exists at the pleasure of Linux." -- ThomasAaron @ System76

  5. #5
    Join Date
    Jan 2007
    Location
    Location: Location:
    Beans
    1,214
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Disk /dev/sdb doesn't contain a valid partition table

    DONT DO IT THIS WAY IF ITS A THUMBDRIVE

    but normally if you wanted to reformat and mount a hard disk:

    sudo mkfs -t ext3 /dev/sdb

    sudo su

    mkdir /media/sdb

    su yourusername

    sudo mount /dev/sdb /media/sdb

    sudo chown -R yourusername /dev/sdb

    sudo chown -R yourusername /media/sdb
    Last edited by |{urse; May 24th, 2008 at 10:52 PM.
    They put rubber toe-caps on converse because ppl be trippin.

  6. #6
    Join Date
    Oct 2007
    Beans
    430
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Arrow Re: Disk /dev/sdb doesn't contain a valid partition table

    Quote Originally Posted by HotShotDJ View Post
    I imagine that when you plug in the external drive, it is not automounting and showing up on your desktop or in "Places" since there is not valid filesystem on it. However, could you confirm that for me?
    Yes, it shows up as /media/disk.

  7. #7
    Join Date
    Nov 2006
    Location
    Conn., United States
    Beans
    1,644

    Re: Disk /dev/sdb doesn't contain a valid partition table

    Quote Originally Posted by 449 View Post
    Yes, it shows up as /media/disk.
    Ok.. Thats a horse of a different color. If there were no file system on there at all, it would not mount. So lets unmount the thing (right click on the desktop icon and then choose "Unmount" from the pop-up menu)

    Now, you can run gparted on it. Make SURE you are running it with Administrator privileges. Delete any partitions on there already (I'm assuming there is no data on the drive that you wish to save). Now, create the partition, define the filesystem you want to use and then apply. Everything should go smoothly now.
    "When you dual-boot Windows, Windows exists along side of Linux. When you use VirtualBox, Windows exists at the pleasure of Linux." -- ThomasAaron @ System76

  8. #8
    Join Date
    Oct 2007
    Beans
    430
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Disk /dev/sdb doesn't contain a valid partition table

    Quote Originally Posted by HotShotDJ View Post
    rive that you wish to save). Now, create the partition, define the filesystem you want to use and then apply. Everything should go smoothly now.
    Heres: what happen: I unmounted the drive, opened terminal, then typed 'sudo gparted. At this point it scans for devices and nothing happens.

  9. #9
    Join Date
    Nov 2006
    Location
    Conn., United States
    Beans
    1,644

    Re: Disk /dev/sdb doesn't contain a valid partition table

    Quote Originally Posted by 449 View Post
    Heres: what happen: I unmounted the drive, opened terminal, then typed 'sudo gparted. At this point it scans for devices and nothing happens.

    At the very least, it should be detecting your internal hard drive that is clearly there, or you wouldn't be able to boot your computer at all.

    EDIT: What happens if you type
    Code:
    sudo gparted /dev/sdb
    or
    Code:
    sudo gparted /dev/sda
    NOTE: With /dev/sda -- LOOK, but don't TOUCH!
    Last edited by HotShotDJ; May 24th, 2008 at 11:32 PM. Reason: Something else to try
    "When you dual-boot Windows, Windows exists along side of Linux. When you use VirtualBox, Windows exists at the pleasure of Linux." -- ThomasAaron @ System76

  10. #10
    Join Date
    Feb 2008
    Beans
    3

    Re: Disk /dev/sdb doesn't contain a valid partition table

    I have the same issue (external hard drive not working, same message about not containing a valid partition) but I cannot unmount my drive and then "gpart" it, because when I right click on the drive, the option I have is to "mount" it and not to unmount. If I choose "mount" I get the message "Cannot mount drive". If I go to gparted and right click on the sdb drive to format it, I see that the option "Format" cannot be clicked cause it's inactive. How can I manage with this??

Page 1 of 2 12 LastLast

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
  •