LinuxQuestions.org
Review your favorite Linux distribution.
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-20-2004, 12:41 PM   #1
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Rep: Reputation: 30
partitioning question/unsure


ok, i'll start from the beginning.
first i installed windows xp on my 40GB harddriver (NTFS)
then i installed partition magic, and split my partition into two pieces. one is 25 GB for windows, the other is 15GB for linux. the linux partition is Linux EXT 3 ( iam not sure if thats fat32 or what)

ok, then i installed mandrake on the 15GB hard driver, everything is good.

but now recently i went back into windows, and i split my 25GB containing windows into two. i made a 15GB and 10GB hard drive. the 10GB is for storing movies, etc.
but now from mandrake i cannot access the 10GB hard driver, it doesnt even show up. in the /mnt/ i only c floppy, cdrom and windows. if i click on windows it leads me straight to my C drive, which is the original windows instllation drive. how am i suppose to access the newly created 10GB D drive? any ideas?

also, another questions. should i make this newly created 10GB partition NTFS, fat32, linux ext3 or linux ext 2?
what i wanna do is be able to both READ and WRITE from the 10GB partition from BOTH windows and mandrake linux. i thought a long time ago i heard someone say its hard for linux to write onto a NTFS partition, but i am not sure
 
Old 02-20-2004, 01:00 PM   #2
PenguinPwrdBox
Member
 
Registered: Oct 2003
Posts: 568

Rep: Reputation: 30
Do the following:

fdisk -L

This will list the partitions on your HDD's.

Find the 10G Part, and then, do the following:

mount -t <type> /dev/hd* /<mountpoint>

Where <type> is the format of the HDD
hd* is the device you find from running the fdisk command
and <mountpoint> is the folder you wanna mount it in.

P.S. - ext3 is not FAT, it is another FS - like FAT.
 
Old 02-20-2004, 01:14 PM   #3
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
Quote:
linux partition is Linux EXT 3 ( iam not sure if thats fat32 or what)
Nope, it's not fat32 & it's not readable from windows
use vfat/ fat32(same thing) for access from Linux & Windows

Quote:
from mandrake i cannot access the 10GB hard drive
you haven't told it where it's at yet...

Quote:
how am i suppose to access the newly created 10GB D drive?
Run:

Code:
fdisk -l /dev/hda
This will give you a list of partitions on the first drive.
NOTE:
/dev/hda1 <-- Probably C:\
/dev/hda2 <- Probably Linux
/dev/hda3 <- Probably dos extended partition
/dev/hda4 <- Probably not there
/dev/hda5 <- Probably your new partition (D:\)

assuming your new partition is /dev/hda5 -- use the value found in the output from above command.


Code:
mkdir /mnt/movies
edit /etc/fstab and add the following line (remember, I'm assuming /dev/hda5 - ymmv):
Code:
/dev/hda5           /mnt/movies               vfat             defaults            0   0
then run:

mount /dev/hda5 /mnt/movies

Enjoy
 
Old 02-20-2004, 01:22 PM   #4
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Original Poster
Rep: Reputation: 30
alright guyz, thx for the fast reply. i'll try it now.

and, so if i want both windows and linux to share (read and write) on my movie partition it's gotta be fat32 right? windows has no problem writing and reading from fat32? (i wonder why win xp only installs on NTFS...)
 
Old 02-20-2004, 01:29 PM   #5
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Original Poster
Rep: Reputation: 30
hmmm when i type in
fdisk -l /dev/hda
nothing happens. no error message, but nothing happens either
but when i type in
fdisk -l

this list shows up:
Disk /dev/ide/host0/bus1/target0/lun0/disc: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/ide/host0/bus1/target0/lun0/part1 * 1 1727 13872096 7 HPFS/NTFS
/dev/ide/host0/bus1/target0/lun0/part2 2915 4865 15671407+ 83 Linux
/dev/ide/host0/bus1/target0/lun0/part3 1728 2914 9534577+ f Win95 Ext'd (LBA)
/dev/ide/host0/bus1/target0/lun0/part5 1728 2914 9534546 7 HPFS/NTFS

Partition table entries are not in disk order



and this doesn't resemble what i should get
 
Old 02-20-2004, 01:29 PM   #6
PenguinPwrdBox
Member
 
Registered: Oct 2003
Posts: 568

Rep: Reputation: 30
WinXP will install in FAT32. It does, however, prefer NTFS - but it gives you the option.
 
Old 02-20-2004, 02:02 PM   #7
bstempi
LQ Newbie
 
Registered: Feb 2003
Location: Horsham, PA
Posts: 28

Rep: Reputation: 15
when you use fdisk, nothing should happen. If you get no error message, then you mounted correctly. Is there anything in your /mnt/hda folder? did it actually mount, and you not notice?
 
Old 02-20-2004, 02:36 PM   #8
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Original Poster
Rep: Reputation: 30
no, i didnt even get to the mounting part yet.
fdisk -l /dev/hda
is suppose to gimme a list of my harddrive, but when i type it in,nothing happens
 
Old 02-20-2004, 03:13 PM   #9
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
oohhh, I see

/dev/hda <- IDE or EIDE drive
/dev/sda <-SCSI drive -- you've got scuzz

anyhow, you got the info you need
in the above instructions, change all instances of /dev/hda to /dev/sda...
 
Old 02-20-2004, 03:18 PM   #10
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Original Poster
Rep: Reputation: 30
oh cool, thats it? thx! even though i have no idea what u just said about scuzz or something i'll give it a go, thankx again
 
Old 02-20-2004, 03:24 PM   #11
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Original Poster
Rep: Reputation: 30
hmm.. nope, it the same
when i type in:
fdisk -l /dev/sda
under root, nothing happens, no error, but nothing happens
 
Old 02-20-2004, 03:30 PM   #12
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
what's in /etc/fstab? It's a plain text file - just copy & paste into your reply
 
Old 02-20-2004, 03:35 PM   #13
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Original Poster
Rep: Reputation: 30
in fstab it says:
/dev/hdc2 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
none /mnt/cdrom supermount dev=/dev/scd0,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,codepage=850,sync,umask=0,iocharset=iso8859-1 0 0
/dev/hdc1 /mnt/windows ntfs umask=0,ro,iocharset=iso8859-1 0 0
none /proc proc defaults 0 0
 
Old 02-20-2004, 03:36 PM   #14
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
OK gimme the results of

fdisk -l /dev/hdc
 
Old 02-20-2004, 03:37 PM   #15
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Original Poster
Rep: Reputation: 30
oh what the heck, i type in:
fdisk -l /dev/hdc

and it works... hmm funny isnt it? when the answer was infront of me all this time... do u know why though? whats dif between hdc and hda
 
  


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
Unsure of process blakeless Linux - Software 3 03-21-2005 09:57 PM
Partitioning Question gamedev86 Linux - General 5 03-01-2005 08:13 PM
Upgraded, now unsure andrakos Fedora - Installation 2 04-24-2004 10:28 PM
Unsure ISO Aktionman Linux - Newbie 2 11-17-2003 06:44 PM
Partitioning Question MrJBot Linux - Newbie 12 10-21-2003 08:36 PM

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

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