LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 06-20-2003, 02:35 PM   #1
ciphergod
LQ Newbie
 
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 20

Rep: Reputation: 0
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 02:46 PM.
 
Old 06-20-2003, 02:48 PM   #2
m00nd0g
Member
 
Registered: Mar 2003
Location: Leuven, Belgium
Distribution: Red Hat, Debian
Posts: 48

Rep: Reputation: 15
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.
 
Old 06-20-2003, 03:03 PM   #3
ciphergod
LQ Newbie
 
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 20

Original Poster
Rep: Reputation: 0
I mounted Windows to that directory, but when I go into it, there is nothing in it.
 
Old 06-20-2003, 03:05 PM   #4
m00nd0g
Member
 
Registered: Mar 2003
Location: Leuven, Belgium
Distribution: Red Hat, Debian
Posts: 48

Rep: Reputation: 15
Now what command did you use to do this?
 
Old 06-20-2003, 03:08 PM   #5
ciphergod
LQ Newbie
 
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 20

Original Poster
Rep: Reputation: 0
i used mount -t ntfs /dev/hda2 /mnt/windows
 
Old 06-20-2003, 03:13 PM   #6
m00nd0g
Member
 
Registered: Mar 2003
Location: Leuven, Belgium
Distribution: Red Hat, Debian
Posts: 48

Rep: Reputation: 15
Are you sure your windows partition is on hda2, and is the filesystem ntfs? Did you get any error while mounting?
 
Old 06-20-2003, 03:21 PM   #7
ciphergod
LQ Newbie
 
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 20

Original Poster
Rep: Reputation: 0
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]#
 
Old 06-20-2003, 04:05 PM   #8
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
are you sure you got ntfs support?
 
Old 06-20-2003, 04:11 PM   #9
ciphergod
LQ Newbie
 
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 20

Original Poster
Rep: Reputation: 0
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.
 
Old 07-03-2003, 07:20 PM   #10
jonnieo
LQ Newbie
 
Registered: Jun 2003
Location: USA
Distribution: Red Hat 9.0
Posts: 17

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


Reply


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
Solution Dual Boot Windows & Linux [ALL DONE IN WINDOWS] No Linux terminology DSargeant Linux - Newbie 35 02-07-2006 04:29 PM
moutning external drive sh4d0w13 Linux - Newbie 6 08-18-2005 06:49 PM
RH9 moutning NTFS via LAN Lleb_KCir Linux - Software 4 01-29-2005 05:59 PM
Mounting and unmounting in Linux... Tommi Linux - Newbie 3 07-05-2003 09:02 PM
Moutning a FAT32 Partition Bigun Linux - Newbie 2 08-31-2002 02:14 PM


All times are GMT -5. The time now is 09:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration