Purchase Linux CDs / DVDs / Flash Drives at OSDisc.com

Welcome to Our Community

While Linux.org has been around for a while, we recently changed management and had to purge most of the content (including users). If you signed up before April 23rd, 2017 please sign up again. Thanks!

HDD configuration

Discussion in 'General Linux' started by CptCharis, Oct 11, 2018.

  1. CptCharis

    CptCharis Well-Known Member

    Joined:
    Feb 27, 2018
    Messages:
    255
    Likes Received:
    254
    Hello everybody!!!
    It's a long time not see you.
    So here we are again. I have an old external USB 1T Transcend and play with it for fun and education.
    Yesterday I erased everything inside it and went one more step further. I override everything with
    Code:
    dd if=/dev/zero of=/dev/sdb status=progress
    Once progress was completed, I partitioned my HDD with
    Code:
    fdisk /dev/sdb
    I made the whole disk one partition with ext.4 file system,
    and I can see my HDD with command
    Code:
    lsblk
    and
    Code:
    fdisk -l
    I reboot but HDD didn't mount automatically, as it used to be.
    So I made a mount point with
    Code:
    mkdir mnt
    and try to mount my HDD with
    Code:
    mount /dev/sdb /mnt
    but I received the below warning msg
    Code:
    mount: wrong fs type, bad option , bad superblock on /dev/sdb, missing codepage or helper program, or other error
    
    In some cases useful info is found in syslog - try dmesg | tair or so
    What I miss guys ?
    Thanks in advance


    (Log in to hide this advertisement)

     
  2. CptCharis

    CptCharis Well-Known Member

    Joined:
    Feb 27, 2018
    Messages:
    255
    Likes Received:
    254
    43305527_1801804046555591_3788359256143560704_n.jpg
     
    Jeffrey Lapinski likes this.
  3. wizardfromoz

    wizardfromoz Super Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 30, 2017
    Messages:
    1,862
    Likes Received:
    1,845
    Love that #2 slogan, got to get that :)

    "dmesg | tail" not "tair" - small l L not a small r R.

    Gotta fly mate but I'll be back (Arnold Schwarzenegger) tomorrow

    Wiz
     
    CptCharis likes this.
  4. CptCharis

    CptCharis Well-Known Member

    Joined:
    Feb 27, 2018
    Messages:
    255
    Likes Received:
    254
    typo error chris
    have a nice fly
     
    wizardfromoz likes this.
  5. CptCharis

    CptCharis Well-Known Member

    Joined:
    Feb 27, 2018
    Messages:
    255
    Likes Received:
    254
    ok solved !!!
    HDD should Reformatted as NTFS
    I did it with fdisk tool but I read that even mkfs.ntfs could make the trick
     
    wizardfromoz likes this.
  6. Steve

    Steve New Member

    Joined:
    Apr 25, 2017
    Messages:
    15
    Likes Received:
    24
    Forgot to format it.
    Code:
    mkfs.ext4 /dev/sdb1
    NOTE: Untested code, didn't check, going offa' memory.
     
    wizardfromoz and CptCharis like this.
  7. RockDoctor

    RockDoctor New Member

    Joined:
    Oct 7, 2018
    Messages:
    3
    Likes Received:
    6
    Well, if you actually formatted the partition, then (as root):
    Code:
    mount /dev/sdb1 /mnt
     
    CptCharis and wizardfromoz like this.
  8. wizardfromoz

    wizardfromoz Super Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 30, 2017
    Messages:
    1,862
    Likes Received:
    1,845
    Dammit I missed all the fun :mad:

    1. Goodonyer, Capta ;)

    2. Hi Steve, you've been quiet for a year, nice to see you :p

    3. Welcome to linux.org @RockDoctor :), and Ta (pron. "tar" Aussie for thanks) for getting in and helping so early. If you get a chance, swing by https://www.linux.org/forums/member-introductions.141/ and say "Hi", and you'll meet a few of The Gang. Plenty of us 60-plussers here, too.

    Cheers all and

    Avagudweegend

    Chris Turner
    wizardfromoz
     
    CptCharis likes this.

Share This Page