Results 1 to 6 of 6

Thread: How do I find my harddrive

  1. #1
    Join Date
    Feb 2007
    Beans
    103
    Distro
    Ubuntu 10.10 Maverick Meerkat

    How do I find my harddrive

    Hi

    I used to have XP on sda and Ubuntu on sdb (dual boot), but I threw XP out and reformatted sda to ext 3. My question is simply: what is the location of this in my file system?

  2. #2
    Join Date
    Dec 2007
    Location
    In my car, Australia
    Beans
    81
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: How do I find my harddrive

    Before I start i'm not running ubuntu at the moment and i'd normallly test these commands before posting so they might not be exact, but they should get you going.

    I reckon you're probably booting from sdb at the moment right?
    So if you've formatted sda to ext3 you'll have:


    /dev/sda ext3
    /dev/sdb <possibly ext3>

    if you type: fdisk -l

    you should see both sda and sdb, only trouble is if you type: df -ah
    you won't see sda anywhere, but that's no troulble, all you gotta do is mount it somewhere so...

    make a folder somewhere, say /home/user/myoldxppartition and in the terminal type:
    mount /dev/sda /home/user/myoldxppartition

    then you should be able to add files to that folder in the knowledge that it's filling up all the space on sda, which I think you can confirm by typing: df -ah

    rock on brother

    (oh and simply typing "mount" will show you what you have mounted and where)
    Last edited by schmildo; April 22nd, 2008 at 03:41 PM. Reason: forgot something

  3. #3
    Join Date
    Feb 2007
    Beans
    103
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How do I find my harddrive

    Thanks.

    When I try to mount it I get this message:
    Code:
    mount: you must specify the filesystem type
    Have I missed something? GParted tells me the disk is ext3.

  4. #4
    Join Date
    Mar 2008
    Location
    Middle Tennessee
    Beans
    284
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: How do I find my harddrive

    What did you try to "mount" that failed? The command you used would be helpful.

    Also, let's make sure you are specifying the right partition in your command by listing out what you have. That is the sudo fdisk -l (that's a lowercase letter "L", not the number one) command mentioned earlier.
    Linux Genuine Advantage: I am licensed!

    Spouting mindless hatred of all things Microsoft since... ummm... never.

  5. #5
    Join Date
    Feb 2007
    Beans
    103
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How do I find my harddrive

    Oops, missed a one when I typed in sda1. Clumsy of me. Thanks to the both of you for taking the time to help me!

  6. #6
    Join Date
    Mar 2008
    Location
    Middle Tennessee
    Beans
    284
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: How do I find my harddrive

    Cool. Glad you got it solved!
    Linux Genuine Advantage: I am licensed!

    Spouting mindless hatred of all things Microsoft since... ummm... never.

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
  •