Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17
I took one of the drives that belonged to Windows and was empty and formatted it to ext3. Now the question is how do I mounted so it would appeared ...
  1. #1
    Linux Newbie
    Join Date
    Mar 2007
    Posts
    243

    Question How to mount internal drive just formatted to ext3

    I took one of the drives that belonged to Windows and was empty and formatted it to ext3. Now the question is how do I mounted so it would appeared in my suse ( a different drive)??

    macho@linux-wwtz:~> su
    Password:
    linux-wwtz:/home/macho # mount /dev/hdd1
    mount: can't find /dev/hdd1 in /etc/fstab or /etc/mtab
    linux-wwtz:/home/macho # /dev/hdd1
    bash: /dev/hdd1: Permission denied
    linux-wwtz:/home/macho #

    This is the output of my fstab:

    /dev/hdb2 / ext3 acl,user_xattr 1 1
    /dev/hdb3 /home ext3 acl,user_xattr 1 2
    /dev/hda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
    /dev/hdb1 swap swap defaults 0 0
    proc /proc proc defaults 0 0
    sysfs /sys sysfs noauto 0 0
    debugfs /sys/kernel/debug debugfs noauto 0 0
    usbfs /proc/bus/usb usbfs noauto 0 0
    devpts /dev/pts devpts mode=0620,gid=5 0 0
    /dev/fd0 /media/floppy auto noauto,user,sync 0 0

    How should I change it? Your help is much appreciated. I'm a newbie.

    This is my mtab:

    /dev/hdb2 / ext3 rw,acl,user_xattr 0 0
    proc /proc proc rw 0 0
    sysfs /sys sysfs rw 0 0
    debugfs /sys/kernel/debug debugfs rw 0 0
    udev /dev tmpfs rw 0 0
    devpts /dev/pts devpts rw,mode=0620,gid=5 0 0
    /dev/hdb3 /home ext3 rw,acl,user_xattr 0 0
    /dev/hda1 /windows/C ntfs ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8 0 0
    securityfs /sys/kernel/security securityfs rw 0 0
    /dev/fd0 /media/floppy vfat rw,noexec,nosuid,nodev,sync,user=macho 0 0

    Sorry, please move it to Hardware.

  2. #2
    Linux Enthusiast
    Join Date
    Jul 2005
    Location
    Maryland
    Posts
    521
    Is this
    Code:
    /dev/hda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
    the drive that used to be Windows and now is formated as ext3 ?
    If so, then you can mount it this way:
    Code:
    mkdir /mnt/somedirectory
    mount /dev/hda1 /mnt/somedirectory

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    post the output of 'fdisk -l' and 'df -h' commands.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #4
    Linux Newbie
    Join Date
    Mar 2007
    Posts
    243

    Smile

    Thanks a lot, Casper. This is the output:

    linux-wwtz:~ # mkdir /mnt/xwindowsd
    linux-wwtz:~ # mount /dev/hdd1/xwindowsd
    mount: can't find /dev/hdd1/xwindowsd in /etc/fstab or /etc/mtab
    linux-wwtz:~ #

    I think hda1 is 120 GB and is installed with windows XP, and is already mounted. I have no doubt that the drive I formatted was 40 GB and nominated hdd1; from my Yast Partitioner:

    /dev/hdd 37.3GB SAMSUNG-SV0411N
    /dev/hdd1 37.3GB Linux native.

    Here is the output os fdisk -l:

    linux-wwtz:~ # fdisk -l

    Disk /dev/hda: 120.0 GB, 120060444672 bytes
    255 heads, 63 sectors/track, 14596 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hda1 * 1 14595 117234306 7 HPFS/NTFS

    Disk /dev/hdb: 41.1 GB, 41110142976 bytes
    255 heads, 63 sectors/track, 4998 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hdb1 1 262 2104483+ 82 Linux swap / Solaris
    /dev/hdb2 263 2179 15398302+ 83 Linux
    /dev/hdb3 2180 4998 22643617+ 83 Linux

    Disk /dev/hdd: 40.0 GB, 40060403712 bytes
    255 heads, 63 sectors/track, 4870 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hdd1 1 4870 39118243+ 83 Linux
    linux-wwtz:~ # df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/hdb2 15G 8.5G 5.3G 62% /
    udev 1014M 108K 1014M 1% /dev
    /dev/hdb3 22G 4.9G 16G 25% /home
    /dev/hda1 112G 68G 44G 61% /windows/C
    /dev/fd0 1.4M 1.1M 298K 80% /media/floppy

    Here is the output of df -h:

    linux-wwtz:~ # df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/hdb2 15G 8.5G 5.3G 62% /
    udev 1014M 108K 1014M 1% /dev
    /dev/hdb3 22G 4.9G 16G 25% /home
    /dev/hda1 112G 68G 44G 61% /windows/C
    /dev/fd0 1.4M 1.1M 298K 80% /media/floppy
    Here is the output of df -h:
    linux-wwtz:~ # df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/hdb2 15G 8.5G 5.3G 62% /
    udev 1014M 108K 1014M 1% /dev
    /dev/hdb3 22G 4.9G 16G 25% /home
    /dev/hda1 112G 68G 44G 61% /windows/C
    /dev/fd0 1.4M 1.1M 298K 80% /media/floppy
    linux-wwtz:~ #

    I appreciate your help very much.
    PS. I have three drives in my system: C: ntfs 120GB installed Windows XP Pro,
    What used to be D: 40 GB in my old system ntfs Windows and that I used to install Suse, and E: 40 GB that was Windows ntfs and is now Linux native, and is the one I'm trying to mount (/dev/hdd or /dev/hdd1 according to partitioner).

  5. #5
    Linux Newbie
    Join Date
    May 2006
    Location
    Kansas
    Posts
    187
    Quote Originally Posted by Pumalite
    Thanks a lot, Casper. This is the output:

    linux-wwtz:~ # mkdir /mnt/xwindowsd
    linux-wwtz:~ # mount /dev/hdd1/xwindowsd
    mount: can't find /dev/hdd1/xwindowsd in /etc/fstab or /etc/mtab
    linux-wwtz:~ #

    I think hda1 is 120 GB and is installed with windows XP, and is already mounted. I have no doubt that the drive I formatted was 40 GB and nominated hdd1; from my Yast Partitioner:

    /dev/hdd 37.3GB SAMSUNG-SV0411N
    /dev/hdd1 37.3GB Linux native.
    ... Your command was almost right: mount /dev/hdd1/xwindowsd

    You need to run this:

    mount /dev/hdd1 /mnt/xwindowsd

    The first argument is the physical device (/dev/hdd1), the second is where you want it mounted (/mnt/xwindowsd)

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Quote Originally Posted by Pumalite
    linux-wwtz:~ # mkdir /mnt/xwindowsd
    linux-wwtz:~ # mount /dev/hdd1/xwindowsd
    mount: can't find /dev/hdd1/xwindowsd in /etc/fstab or /etc/mtab
    linux-wwtz:~ #
    what filesystem hdd disk has? ext3, xfs or reiserfs?
    you have to specify filesystem too.
    Code:
    mount -t <filesystem> /dev/hdd1 xwindowsd
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Linux Newbie
    Join Date
    Mar 2007
    Posts
    243

    Unhappy

    [QUOTE=devils_casper]what filesystem hdd disk has? ext3, xfs or reiserfs?
    you have to specify filesystem too.
    Code:
    mount -t <filesystem> /dev/hdd1 xwindowsd
    [/QUO

    This is the output:

    linux-wwtz:~ # mount -t ext3 /dev/hdd1 /mnt/xwindowsd
    linux-wwtz:~ #

    The problem is that I still can't see the drive. ( it' ext3). I went to /dev and I found hdd1 with a big red X on it, and when tried to open, a message: " Couldn't display /dev/hdd1".???
    What to do now?

  8. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    its mounted in /mnt/xwindowsd folder. check that folder.
    Code:
    ls /mnt/xwindowsd
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #9
    Linux Newbie
    Join Date
    Mar 2007
    Posts
    243
    Thanks, Casper. I'm in trouble! I think I made mistakes. How to fix it?

    linux-wwtz:~ # ls /mnt/swindowsd
    ls: cannot access /mnt/swindowsd: No such file or directory
    linux-wwtz:~ #

    I tried to fins a folder xwindowsx in /dev, but couldn't find it. All I found was hdd1 with the X.

  10. #10
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    create a folder and mount hdd1 again.
    Code:
    mkdir /mnt/hdd1
    mount -t ext3 /dev/hdd1 /mnt/hdd1
    ls /mnt/hdd1
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Page 1 of 2 1 2 LastLast

Posting Permissions

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