[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting mad on mounting MSDOS partitions



Hi guys, 
I really need your help...

I have only 1 harddisk in my computer.
The disklabel shows me that :

disklabel -t wd0
----------------
pa	4.2BSD
pb	swap
pi -> unknown (but size = NTFS)
pj -> unknown (size = FAT32 D:\)
pk -> unknown (size = FAT32 E:\)
(I can give you the sizes and offsets if you want)


1) I tried to modify the disklabel using the interactive editor: disklabel
-E wd0
	* m j (to modify the j partition)
	* FS type: [unknown] MSDOS (it's what I want !!!)
	* Offset: [4096575] (hit return)
Then the following error occurs:
	"The OpenBSD portion of the disk starts at sector 13189365, you
tried to add a partition at 4096575.
	You can use the 'b' command to change the size of the OpenBSD
portion."

It seems that I cannot modify my FAT32 partition if I installed OpenBSD
after it !!!
Does anybody have an answer to my problem???


2) If I try to modify the disklabel (to move pj and pk to MSDOS filesystem
type), using the disklabel -e command, I got :

disklabel -e wd0
----------------
pa	4.2BSD
pb	swap
pi -> unknown
pj -> MSDOS 
pk -> MSDOS

But now when I try to mount pj or pk, using mount -t msdos /dev/wd0j /dos or
mount -t msdos /dev/wd0k /dos, I got the error :
mount_msdos: /dev/wd0j on /dos: not an MSDOS Filesystem

CAN SOMEONE explain this and try to help me to fix it ???
Thanks to help, otherwise I will continue to believe in Bill Gates ! ;o)
Cédric