LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-14-2005, 11:49 AM   #1
mrpixels0
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.

Mr.p
 
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
Code:
sudo sed -i 's@ntfs * defaults@ntfs umask=0@g' /etc/fstab
 
Old 11-14-2005, 12:05 PM   #3
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 08:33 PM.

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