Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-20-2003, 01:35 PM
|
#1
|
LQ Newbie
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 20
Rep:
|
Mounting Windows XP as / and unmounting Linux
What would happen if I unmounted Linux, and mounted WIndows XP as /?
Would I be able to get into Windows XP then?
Would I have to mount Linux as something else?
Last edited by ciphergod; 06-20-2003 at 01:46 PM.
|
|
|
06-20-2003, 01:48 PM
|
#2
|
Member
Registered: Mar 2003
Location: Leuven, Belgium
Distribution: Red Hat, Debian
Posts: 48
Rep:
|
The thing you are trying to do is impossible, really.
If you want to add your windows partition onto your linux filesystem, you can do so with the mount command
i.e.:
mount -t vfat /dev/hda1 /mnt/windows
or
mount -t ntfs /dev/hda1 /mnt/windows
(depending on what filesystem you use)
Just make sure you can the dir /mnt/windows exists before you try mounting. Mounting in your / will be impossible, so don't try.
|
|
|
06-20-2003, 02:03 PM
|
#3
|
LQ Newbie
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 20
Original Poster
Rep:
|
I mounted Windows to that directory, but when I go into it, there is nothing in it.
|
|
|
06-20-2003, 02:05 PM
|
#4
|
Member
Registered: Mar 2003
Location: Leuven, Belgium
Distribution: Red Hat, Debian
Posts: 48
Rep:
|
Now what command did you use to do this?
|
|
|
06-20-2003, 02:08 PM
|
#5
|
LQ Newbie
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 20
Original Poster
Rep:
|
i used mount -t ntfs /dev/hda2 /mnt/windows
|
|
|
06-20-2003, 02:13 PM
|
#6
|
Member
Registered: Mar 2003
Location: Leuven, Belgium
Distribution: Red Hat, Debian
Posts: 48
Rep:
|
Are you sure your windows partition is on hda2, and is the filesystem ntfs? Did you get any error while mounting?
|
|
|
06-20-2003, 02:21 PM
|
#7
|
LQ Newbie
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 20
Original Poster
Rep:
|
Yea, Windows in on hda2 and Linux is on hda3 (hda1 is some DELL thing).
And I'm pretty sure I have NTFS.
i tried vfat anyway, but that didnt work.
When I type in the command, nothing happens. No error messages or anything.
[root@x1-6-00-c0-a8-8c-11-57 nick]# mount -t ntfs /dev/hda2 /mnt/windows
[root@x1-6-00-c0-a8-8c-11-57 nick]#
|
|
|
06-20-2003, 03:05 PM
|
#8
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
are you sure you got ntfs support?
|
|
|
06-20-2003, 03:11 PM
|
#9
|
LQ Newbie
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 20
Original Poster
Rep:
|
Yea, I originally had Windows XP, which uses NTFS.
[root@x1-6-00-c0-a8-8c-11-57 nick]# mount -t vfat /dev/hda2 /mnt/windows
mount: /dev/hda2 already mounted or /mnt/windows busy
mount: according to mtab, /dev/hda2 is already mounted on /mnt/windows
thats what it says when i do that.
it says its already mounted on that, but in that directory is nothing.
|
|
|
07-03-2003, 06:20 PM
|
#10
|
LQ Newbie
Registered: Jun 2003
Location: USA
Distribution: Red Hat 9.0
Posts: 17
Rep:
|
ciphergod:
Try following the steps and using the package at this web site. I used it and it worked fine running Red Hat 9 and Windows XP dual boot. I can access all of my Windows files from a command prompt.
http://linux-ntfs.sourceforge.net/in...hat.html#inst1
|
|
|
All times are GMT -5. The time now is 06:02 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|