LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   mounting a windows partion inside of Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/mounting-a-windows-partion-inside-of-ubuntu-383064/)

mrpixels0 11-14-2005 11:49 AM

mounting a windows partion inside of Ubuntu
 
can some one tell me how to get Ubuntu to let me mount a Windows partion, i have tried just plain old : mount /dev/hda

but it won't let me for some reason, i need to be able to mount that partion to get some data off of it as windows will not boot up correctly and if i can get the data off of it i can give that partion the boot.

thanks for any help.

Mr.p

Andrew Benton 11-14-2005 12:05 PM

Shouldn't that be mount /dev/hda1? Copy and paste this into a terminal, enter your password, then reboot
Code:

sudo sed -i 's@ntfs * defaults@ntfs umask=0@g' /etc/fstab

camorri 11-14-2005 12:05 PM

First thing you need to do is make a mount point in your file system. Most distros have a /mnt directory. So you open a console, become root, navigate to /mnt. Then as root do a mkdir win_c ( or what ever you want to call it.)

At this point you issue a mount command if you are mounting it tempeoraily. If you want to make it permanent, add the line to your /etc/fstab. You did not state what file system windbloze is, and yes it matters. Here is a line from my fstab you could copy and edit as required.

Quote:

/dev/hda1 /mnt/win_c vfat umask=0,iocharset=iso8859-15,codepage=850 0 0
You will need to edit the first part (/dev/hda1) to match your drive (hda) and partition number (1). Change the /mnt/win_c to match the mount point. vfat is for fat32 file system. This has to match your file system. The rest will probably work as is.

If you do it right, you will mount the partition during the boot process. Then you can use Konqueror to copy any files you want.


All times are GMT -5. The time now is 12:59 AM.