Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 11-14-2005, 11:49 AM   #1
LQ Newbie
Registered: Nov 2005
Distribution: Ubuntu and most Debian based Distros
Posts: 4

Rep: Reputation: 0
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.

Old 11-14-2005, 12:05 PM   #2
Andrew Benton
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Shouldn't that be mount /dev/hda1? Copy and paste this into a terminal, enter your password, then reboot
sudo sed -i 's@ntfs * defaults@ntfs umask=0@g' /etc/fstab
Old 11-14-2005, 12:05 PM   #3
LQ Guru
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,163

Rep: Reputation: 522Reputation: 522Reputation: 522Reputation: 522Reputation: 522Reputation: 522
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.

/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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting FreeBSD partitions inside fstab damien Linux - General 1 02-04-2004 09:32 PM
how do i move files from my windows partion to my linux partion awesome_man Linux - Newbie 2 01-30-2004 12:51 PM
mounting raid-0 windows partion Marcske Linux - Newbie 0 08-21-2003 02:08 PM
See Linux Partion from Windows bigdavekc Linux - General 2 09-08-2002 07:01 PM
Mounting NTFS partion in Linux saravan29 Linux - Newbie 6 07-28-2002 01:29 PM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:11 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration