LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-26-2003, 08:05 AM   #1
frontier1
Member
 
Registered: Feb 2003
Location: Culpeper,Va
Distribution: Mandrake 9.2 Knoppix 3.3 SuSe 9.0
Posts: 140

Rep: Reputation: 15
How to Mount Windows in Redhat 8.0??


Do I have to edit a file to so Linux can see it??
Any Help would be appreciated!
 
Old 02-26-2003, 08:17 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Here is what I used to access my NTFS partition. I don't know if it will work with suse but give it a nice read-over so you can get an idea of what needs to be done.

Here
 
Old 02-26-2003, 09:06 AM   #3
frontier1
Member
 
Registered: Feb 2003
Location: Culpeper,Va
Distribution: Mandrake 9.2 Knoppix 3.3 SuSe 9.0
Posts: 140

Original Poster
Rep: Reputation: 15
Most of that worked, I downloaded the driver, but when I run this command
mount /dev/hda1 /mnt/windows -t ntfs -r -o umask=0222

I get an error
wrong fs type, bad option, bad superblock on /dev/hda1,
or too many mounted file systems

I think it may be because my windows Xp is fat and not NTFS??
Do I need to convert to from Fat to NTFS?
 
Old 02-26-2003, 09:24 AM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Oh if it is fat32 then you don't need the NTFS kernel support. I believe the kernel comes with FAT32 support but don't quote me on that. This is a whole different beasts and to be honest with you I don't know how to mount the fat32 partition. I would imagine it would be something like:

mount /dev/hda1 /mnt/winblows -t vfat -r -o umask=0222

or something along those lines. Don't quote me on that though. I would man mount and see what the options are for fat32 partitions. I'm pretty sure vfat is the right one though.
 
Old 02-26-2003, 09:37 AM   #5
frontier1
Member
 
Registered: Feb 2003
Location: Culpeper,Va
Distribution: Mandrake 9.2 Knoppix 3.3 SuSe 9.0
Posts: 140

Original Poster
Rep: Reputation: 15
Thank You Very Much Crashed_Again
worked like a charm, after I replaced winblows with windows!, lol
I am going to affero you.
I've gone back to Redhat 8.0, now if I could just get Limewire to work, I'd have it licked.
 
Old 02-26-2003, 09:42 AM   #6
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Start a new thread on LimeWire. I ran into some trouble with it as well. We'll be glad to help.
 
Old 02-26-2003, 09:18 PM   #7
kuriptic
LQ Newbie
 
Registered: Feb 2003
Distribution: RedHat 8.0
Posts: 16

Rep: Reputation: 0
just saying thanx(Crashed_Again)for the link on accessing NTFS partitions through linux.

Is there a way to do it Vice Versa let windows view linux files???
 
Old 02-26-2003, 09:22 PM   #8
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
I'm not sure but I know this:

if you never boot windows again you won't need to!
 
Old 02-28-2003, 12:38 PM   #9
chasin_h
LQ Newbie
 
Registered: Feb 2003
Location: Aberdeen, Scotland
Posts: 8

Rep: Reputation: 0
Crashed again, apart from going back into xp and looking in partition magic, is there a way to find out which partition my xp is on from linux? I've forgotten how i laid everything out when i installed rh8.0!!

Cheers,
chasin_h
 
Old 02-28-2003, 12:48 PM   #10
chasin_h
LQ Newbie
 
Registered: Feb 2003
Location: Aberdeen, Scotland
Posts: 8

Rep: Reputation: 0
One more point, i've added two lines to my /etc/fstab file so that 2 fat32 partitions are automatically mounted. The lines are as follows:

/dev/hda6 /mnt/xp vfat defaults 0 0
/dev/hda7 /mnt/xp2 vfat defaults 0 0

Are these lines ok? What are the "defaults 0 0" bits for? Are they right?

Thanks in advance,
chasin_h
 
Old 02-28-2003, 01:09 PM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,025

Rep: Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850
kuriptic,
You can use explore2fs to read ext2 partitions from windows.

chasin_h,
fdisk -l /dev/hda to view partition info on /dev/hda.

The defaults options are rw, suid, dev, exec, auto, nouser and async.

And 0 0 is correct for a vfat file system.

see man pages for mount and fstab for more details.

add option umask=000 for write permissions on vfat partitions.
 
Old 02-28-2003, 01:55 PM   #12
chasin_h
LQ Newbie
 
Registered: Feb 2003
Location: Aberdeen, Scotland
Posts: 8

Rep: Reputation: 0
Ok, new question now: below is the output from fdisk -l /dev/hda. When i installed RH8.0, i was given the option of putting grub on the mbr (i think), but i chose to boot linux from a bootdisk, i can't remember exactly why but i think it had something to do with the /boot partition not being in the first 1024 blocks or sectors or something.

So when i switch my comp. on with no floppy xp boots and with a floppy it says "Press <return> (or wait 10 seconds) to boot your Red Hat Linux system from /dev/hda3. You may override the default linux kernel parameters by typing "linux <params>", followed by <return> if you like."

As far as i can remember, hda2 is /boot and hda3 is /. Because i boot off a disk, is /dev/hda2 a complete waste of 100MB, or is there something important there, since in the paragraph above it says it's going to boot off /dev/hda3? And how do i make my comp. dual boot so i don't need a floppy?

If someone could explain booting from scratch as well as helping me post-install grub or lilo or whatever i would be eternally grateful!! I get mixed up with the purpose for the bootsector and the mbr, and i would like to get them straight in my head first of all.

Thanks in advance to anyone who replies/helps,
chasin_h

fdisk -l /dev/hda

Disk /dev/hda: 255 heads, 63 sectors, 2498 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 765 6144831 7 HPFS/NTFS
/dev/hda2 766 778 104422+ 83 Linux
/dev/hda3 779 1433 5261287+ 83 Linux
/dev/hda4 1434 2498 8554612+ f Win95 Ext'd (LBA)
/dev/hda5 1434 1530 779121 82 Linux swap
/dev/hda6 1531 2167 5116671 b Win95 FAT32
/dev/hda7 2168 2498 2658726 b Win95 FAT32
 
Old 02-28-2003, 09:43 PM   #13
kuriptic
LQ Newbie
 
Registered: Feb 2003
Distribution: RedHat 8.0
Posts: 16

Rep: Reputation: 0
thnx "michaelk"


I'll look into that..
 
  


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
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 07:29 PM
RedHat AS/2.1 mount Windows DFS MikeFord Linux - Networking 1 03-30-2005 01:37 PM
how to mount windows drives on redhat joepesci Linux - Newbie 9 07-19-2004 08:58 PM
how do I mount my Windows C drive in RedHat 7.2 sgroy45 Linux - Distributions 8 04-08-2002 08:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:20 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