Results 1 to 10 of 19
I am completely lost on how to mount my internal hdd's to linux. I was using vista ultimate x64 and it went down. I am so tired of issues with ...
- 05-02-2009 #1Just Joined!
- Join Date
- May 2009
- Posts
- 10
new to linux, want to use it but WTF?
I am completely lost on how to mount my internal hdd's to linux. I was using vista ultimate x64 and it went down. I am so tired of issues with windows I just said f*** it. So I got a copy of ubuntu 8.4 and installed over windows partition, which apparently wasn't the easiest way to go about this because now all of my family pics are on a partition I can't access and my wife is ready to kill me. PLEASE help, I can't go back through and shut down windows properly because I reformatted the os partition so I have to force mount, but have no idea what I'm doing. I have a total of 1.5 tera of storage on 4 partitions, one for os, one for movies, one for music and pics, and one for tv shows. I need access to all three. please tell me what info you need and how to get it.
Thanks,
Nick
- 05-02-2009 #2
The best way to fix issues with Windows format partitions is using Windows ...
Open a terminal and post the ouput of
the -l has a small L not a oneCode:mount sudo fdisk -l

and we can tell what is mounted, and disk partition stucture.
You can try to mount the partition manually ... someone can post the commands based on the output of the above commands.
- 05-02-2009 #3Just Joined!
- Join Date
- May 2009
- Posts
- 10
nick@Media:~$ mount
/dev/sdb1 on / type ext3 (rw,relatime,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
lrm on /lib/modules/2.6.27-11-generic/volatile type tmpfs (rw,mode=755)
securityfs on /sys/kernel/security type securityfs (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/nick/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=nick)
/dev/scd0 on /media/cdrom0 type iso9660 (ro,nosuid,nodev,utf8,user=nick)
nick@Media:~$ sudo fdisk -\
>
[sudo] password for nick:
Unable to open -
nick@Media:~$ sudo fdisk
Usage: fdisk [-l] [-b SSZ] [-u] device
E.g.: fdisk /dev/hda (for the first IDE disk)
or: fdisk /dev/sdc (for the third SCSI disk)
or: fdisk /dev/eda (for the first PS/2 ESDI drive)
or: fdisk /dev/rd/c0d0 or: fdisk /dev/ida/c0d0 (for RAID devices)
...
nick@Media:~$
- 05-02-2009 #4Just Joined!
- Join Date
- May 2009
- Posts
- 10
sorry, missed the instruction under the code. Thanks for clarifying. here is the correct response.
nick@Media:~$ mount
/dev/sdb1 on / type ext3 (rw,relatime,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
lrm on /lib/modules/2.6.27-11-generic/volatile type tmpfs (rw,mode=755)
securityfs on /sys/kernel/security type securityfs (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/nick/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=nick)
/dev/scd0 on /media/cdrom0 type iso9660 (ro,nosuid,nodev,utf8,user=nick)
nick@Media:~$ sudo fdisk -l
[sudo] password for nick:
Disk /dev/sda: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x06fd06fd
Device Boot Start End Blocks Id System
/dev/sda1 * 1 50993 409601241 7 HPFS/NTFS
/dev/sda2 50994 91201 322970760 7 HPFS/NTFS
Disk /dev/sdb: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd136d136
Device Boot Start End Blocks Id System
/dev/sdb1 1 12748 102398278+ 83 Linux
/dev/sdb2 12749 91202 630171648 7 HPFS/NTFS
nick@Media:~$
- 05-02-2009 #5
Are you sure you have all the drives plugged in you want to access?
You have example partitions we can use so try
repost output of the mount command and any errors you get.Code:sudo -s cd /media mkdir sda1 sda2 sdb2 ntfs-3g /dev/sda1 /media/sda1 ntfs-3g /dev/sda2 /media/sda2 ntfs-3g /dev/sdb2 /media/sdb2
You should have partition contents available at /media/sda1 /media/sda2 and /media/sdb2.
- 05-02-2009 #6Just Joined!
- Join Date
- May 2009
- Posts
- 10
Yes. I have 2 internal hdd. both 750gb. both are in two partitions. I also have a samsung bd rom. aside from these, I do not have any other hdd or od that will be used in this comp. outputs from previously posted commands are as follows:
nick@Media:~$ sudo -s
[sudo] password for nick:
root@Media:~# cd /media
root@Media:/media# mkdir sda1 sda2 sdb2
root@Media:/media# ntfs-3g /dev/sda1 /media/sda1
$LogFile indicates unclean shutdown (0, 0)
Failed to mount '/dev/sda1': Operation not supported
Mount is denied because NTFS is marked to be in use. Choose one action:
Choice 1: If you have Windows then disconnect the external devices by
clicking on the 'Safely Remove Hardware' icon in the Windows
taskbar then shutdown Windows cleanly.
Choice 2: If you don't have Windows then you can use the 'force' option for
your own responsibility. For example type on the command line:
mount -t ntfs-3g /dev/sda1 /media/sda1 -o force
Or add the option to the relevant row in the /etc/fstab file:
/dev/sda1 /media/sda1 ntfs-3g force 0 0
root@Media:/media# ntfs-3g /dev/sda2 media/sda2
$LogFile indicates unclean shutdown (0, 0)
Failed to mount '/dev/sda2': Operation not supported
Mount is denied because NTFS is marked to be in use. Choose one action:
Choice 1: If you have Windows then disconnect the external devices by
clicking on the 'Safely Remove Hardware' icon in the Windows
taskbar then shutdown Windows cleanly.
Choice 2: If you don't have Windows then you can use the 'force' option for
your own responsibility. For example type on the command line:
mount -t ntfs-3g /dev/sda2 media/sda2 -o force
Or add the option to the relevant row in the /etc/fstab file:
/dev/sda2 media/sda2 ntfs-3g force 0 0
root@Media:/media# ntfs-3g /dev/sdb2 /media/sdb2
$LogFile indicates unclean shutdown (0, 0)
Failed to mount '/dev/sdb2': Operation not supported
Mount is denied because NTFS is marked to be in use. Choose one action:
Choice 1: If you have Windows then disconnect the external devices by
clicking on the 'Safely Remove Hardware' icon in the Windows
taskbar then shutdown Windows cleanly.
Choice 2: If you don't have Windows then you can use the 'force' option for
your own responsibility. For example type on the command line:
mount -t ntfs-3g /dev/sdb2 /media/sdb2 -o force
Or add the option to the relevant row in the /etc/fstab file:
/dev/sdb2 /media/sdb2 ntfs-3g force 0 0
root@Media:/media#
thank you for your time, it is greatly appreciated. If i can't salvage those pics my wife will castrate me. They were backed up, but not since this last christmas, which was my youngest daughter's first.
Thanks again,
Nick
- 05-02-2009 #7
Execute this
Code:mount -t ntfs-3g /dev/sda1 /media/sda1 -o defaults,force,umask=0 mount -t ntfs-3g /dev/sdb2 /media/sdb2 -o defaults,force,umask=0
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 05-02-2009 #8Just Joined!
- Join Date
- May 2009
- Posts
- 10
I don't understand what just happened but here are the results from the previously posted code;
nick@Media:~$ mount -t ntfs-3g /dev/sda1 /media/sda1 -o defaults,force,umask=0
mount: only root can do that
nick@Media:~$ sudo mount -t ntfs-3g /dev/sda1 /media/sda1 -0 defaults,force,umask=0
[sudo] password for nick:
mount: invalid option -- '0'
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
One can change the type of mount containing the directory dir:
mount --make-shared dir
mount --make-slave dir
mount --make-private dir
mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
mount --make-rshared dir
mount --make-rslave dir
mount --make-rprivate dir
mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
nick@Media:~$ sudo mount -t ntfs-3g /dev/sdb2 /media/sdb2 -0 defaults,force,umask=0
mount: invalid option -- '0'
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
One can change the type of mount containing the directory dir:
mount --make-shared dir
mount --make-slave dir
mount --make-private dir
mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
mount --make-rshared dir
mount --make-rslave dir
mount --make-rprivate dir
mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
nick@Media:~$
Any other ideas?
Thanks
Nick
- 05-02-2009 #9
In the command that you posted, change the 0 to a o and see if that helps any. You did it right the first time, but then inserted the 0 on the second attempt.
I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 05-02-2009 #10
MikeTbob is right. Its small O instead of zero, 0.
Code:sudo mount -t ntfs-3g /dev/sda1 /media/sda1 -o defaults,force,umask=0
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote