View previous topic :: View next topic |
Author |
Message |
elorteglen n00b
Joined: 11 Sep 2003 Posts: 24 Location: iceland
|
Posted: Wed Feb 25, 2004 5:22 pm Post subject: Mounting an Sfs fs type |
|
|
Hi'all, okey my problem is that i have 2 hdd. one is 80gb and the other 120gb and i dont want to lose any of the stuff on them. I used these hdd in windows and i didnt use ntfs or anything i just "plug & played" them. Now i want to mount them in linux but i cant.
Code: | fs type not supported by kernel | This is what comes up then... ? Does anyone know how to work through this? Btw this is SFS type or just number 42 in fdisk. |
|
Back to top |
|
|
gareth Apprentice
Joined: 15 Nov 2003 Posts: 234 Location: UK
|
Posted: Wed Feb 25, 2004 5:28 pm Post subject: |
|
|
Is the kernel configured for reading DOS/Windows filesystems? |
|
Back to top |
|
|
elorteglen n00b
Joined: 11 Sep 2003 Posts: 24 Location: iceland
|
Posted: Thu Feb 26, 2004 4:37 pm Post subject: |
|
|
No i dont think so.. How can i do that ? |
|
Back to top |
|
|
gareth Apprentice
Joined: 15 Nov 2003 Posts: 234 Location: UK
|
Posted: Thu Feb 26, 2004 5:06 pm Post subject: |
|
|
Basically, you'll need to recompile your kernel with DOS fs support. The generic instructions for this are at http://www.gentoo.org/doc/en/handbook/handbook.xml?part=1&chap=7. Make sure that when you configure the kernel, that you choose 'DOS fs' under 'filesystems', and also 'VFAT (Windows95)' so that you can use long filenames.
You might be tempted to use the 'genkernel' utility, but in my opinion, manually configuring and compiling the kernel is much easier. Just make sure that under that 'filesystems' menu, that as well as DOS fs support you also ensure that the filesystem type of your root partition (ext2, ext3, reiser) is selected, otherwise you won't be able to start your system up. |
|
Back to top |
|
|
elorteglen n00b
Joined: 11 Sep 2003 Posts: 24 Location: iceland
|
Posted: Sat Feb 28, 2004 7:47 pm Post subject: |
|
|
Allright i did all that... Still doesnt work
Code: | mount: fs type sfs not supported by kernel |
|
|
Back to top |
|
|
jcostom n00b
Joined: 17 Jul 2002 Posts: 28 Location: NJ
|
Posted: Sun Feb 29, 2004 12:26 pm Post subject: |
|
|
elorteglen wrote: | Allright i did all that... Still doesnt work
Code: | mount: fs type sfs not supported by kernel |
|
Well, there's no such fs type. If it's a DOS filesystem, mount it as type vfat. |
|
Back to top |
|
|
gareth Apprentice
Joined: 15 Nov 2003 Posts: 234 Location: UK
|
Posted: Sun Feb 29, 2004 7:57 pm Post subject: |
|
|
For example, if your HDD is the slave drive on the primary interface it will be '/dev/hdb', and the first partition (or the whole drive if there is only one partition on it) will be '/dev/hdb1'.
If you want to mount this Windows partition on, for example, '/mnt/win' then you should type in the following as root:- Code: | mount /dev/hdb1 -t vfat /mnt/win | You can then access it at '/mnt/win'. If this doesn't work, then your kernel hasn't got the DOS drivers compiled in, or built as modules. You'll need to do that first, then try again. |
|
Back to top |
|
|
Fylar n00b
Joined: 16 Apr 2004 Posts: 64 Location: Perth, Western Australia
|
Posted: Mon Apr 19, 2004 2:43 pm Post subject: |
|
|
SFS is a strange and wonderous beast.
I've got my kernel compiled with dos /windows /ntfs support.
SFS mounts, but the problem is... it only shows the contents of the first partition
I have 4 partitions on this drive.
From fdisk...
Quote: |
Disk /dev/hdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 14593 117218241 42 SFS |
When I fire up using a knoppix boot cd, fdisk reports this as fdisk does under gentoo, but it also allows hdb1, hdb2, hdb3, + hdb4 to be mounted and browsed as normal.
Perhaps this has something to do with 120Gbdisks and windows partitioning? (I noticed that the original poster had this issue with a 120Gb disk also)
I want to re-arrange the partition table, but not until I've backed up my data.
Any thought on how I can mount this under gentoo?
Cheers,
Julian |
|
Back to top |
|
|
Coppensw n00b
Joined: 28 Jan 2004 Posts: 7
|
Posted: Mon Apr 19, 2004 3:44 pm Post subject: |
|
|
SFS is mostly used in combination with the windows dynamic disk.
If you want to access you need to compile the dynamic disk driver in the kernel. It can be found under partitions and is also named LDM.
After the reboot, you should see the partitions in /proc/partitions. |
|
Back to top |
|
|
Fylar n00b
Joined: 16 Apr 2004 Posts: 64 Location: Perth, Western Australia
|
Posted: Mon Apr 19, 2004 4:38 pm Post subject: |
|
|
fantastic.
Thanks muchly |
|
Back to top |
|
|
|