LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   partitioning question/unsure (https://www.linuxquestions.org/questions/linux-newbie-8/partitioning-question-unsure-148427/)

santasballz 02-20-2004 11:41 AM

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

PenguinPwrdBox 02-20-2004 12:00 PM

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.

bnice 02-20-2004 12:14 PM

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

santasballz 02-20-2004 12:22 PM

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...)

santasballz 02-20-2004 12:29 PM

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

PenguinPwrdBox 02-20-2004 12:29 PM

WinXP will install in FAT32. It does, however, prefer NTFS - but it gives you the option.

bstempi 02-20-2004 01:02 PM

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?

santasballz 02-20-2004 01:36 PM

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

bnice 02-20-2004 02:13 PM

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...

santasballz 02-20-2004 02:18 PM

oh cool, thats it? thx! even though i have no idea what u just said about scuzz or something :D i'll give it a go, thankx again

santasballz 02-20-2004 02:24 PM

hmm.. nope, it the same
when i type in:
fdisk -l /dev/sda
under root, nothing happens, no error, but nothing happens

bnice 02-20-2004 02:30 PM

what's in /etc/fstab? It's a plain text file - just copy & paste into your reply

santasballz 02-20-2004 02:35 PM

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

bnice 02-20-2004 02:36 PM

OK gimme the results of

fdisk -l /dev/hdc

santasballz 02-20-2004 02:37 PM

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


All times are GMT -5. The time now is 06:46 AM.