Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
09-07-2003, 03:48 AM
|
#1
|
Member
Registered: Aug 2003
Location: Toronto
Distribution: Gentoo 1.4
Posts: 95
Rep:
|
mount: fs type adfs not supported by kernel
Hi
I have 2 hds, hda and hdb. Hda was my windows drive and was one big partition. hdb had two windows partitions and linux on it. for reasons unknown, after reinstalling windows a few days ago, it killed grub. So i linux rescued my linux boot and now i can't boot back into windows. (see my other thread if you have ideas on that- need help BADLY!) Anways, since I've reinstalled windows, which booted and worked fine when i could boot into it, i can no longer mount that drive. I get this cracked out error:
mount /dev/hda1
mount: fs type adfs not supported by kernel
What the hell is an adfs file system and how to i make linux see it?
|
|
|
09-07-2003, 07:24 AM
|
#2
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
Can you boot into Linux at the moment ? - if so can you post /etc/fstab and fdisk
open a terminal - su to root user and type
cat /etc/fstab ; fdisk -l
(-l = small L)
post the results
|
|
|
09-07-2003, 08:08 AM
|
#3
|
Member
Registered: Oct 2001
Location: Overland Park, KS
Distribution: Kubuntu 22.04
Posts: 375
Rep:
|
I have two hd's (win98-hda RH9-hdb)...I use the following commands and it works...but first
step 1....mkdir /mnt/windows
setp 2...mount -t vfat /dev/hda1 /mnt/windows
I created a HD link for my RH9 desktop (right click desktop choose Create/Hard Disc) under the Execute tab type in step 2...when you double-click on the icon it automatically mounts the hda drv...then you can view your hda via the File Manager...makes it easy to move files this way...hope this helps.
|
|
|
09-07-2003, 01:25 PM
|
#4
|
Member
Registered: Aug 2003
Location: Toronto
Distribution: Gentoo 1.4
Posts: 95
Original Poster
Rep:
|
Hi!
Ok so that's my FSTAB :
LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/usr /usr ext3 defaults 1 2
/dev/hdb6 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hda1 /mnt/win_c auto defaults
/dev/hdb1 /mnt/win_d auto defaults
/dev/hdb8 /mnt/win_e auto defaults
/dev/sda1 /mnt/flash auto noauto,owner,kudzu 0 0
and this is my fdisk:
Disk /dev/hda: 40.0 GB, 40027029504 bytes
255 heads, 63 sectors/track, 4866 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 4866 39086113+ c Win95 FAT32 (LBA)
Disk /dev/hdb: 80.0 GB, 80054059008 bytes
255 heads, 63 sectors/track, 9732 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 1964 15775798+ c Win95 FAT32 (LBA)
/dev/hdb2 1965 9731 62388427+ f Win95 Ext'd (LBA)
/dev/hdb5 1965 2728 6136798+ 83 Linux
/dev/hdb6 2729 2791 506016 82 Linux swap
/dev/hdb7 2792 3824 8297541 83 Linux
/dev/hdb8 3825 9731 47447946 b Win95 FAT32
hope that helps!
Jim
|
|
|
09-07-2003, 01:27 PM
|
#5
|
Member
Registered: Aug 2003
Location: Toronto
Distribution: Gentoo 1.4
Posts: 95
Original Poster
Rep:
|
So hey I tried that vfat mount and it worked! Although I still can't boot into that partition, at least I can get my files and such through linux! Now, why was it that when i used default mount it was picking it up as a adfs file system that it didn't like, and when you say vfat (virtaul fat) it liked it?
Jim
|
|
|
09-07-2003, 03:03 PM
|
#6
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
Quote:
So hey I tried that vfat mount and it worked! Although I still can't boot into that partition, at least I can get my files and such through linux! Now, why was it that when i used default mount it was picking it up as a adfs file system that it didn't like, and when you say vfat (virtaul fat) it liked it?
|
You don't as such boot into vfat partitions from Linux - the idea is simply to mount the vfat filesystem to an appropriate place in your Linux filesystem..that's why you create a mount point - I'm not sure about this "adfs" , but using the correct syntax to mount with helps.
|
|
|
09-07-2003, 03:13 PM
|
#7
|
Member
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987
Rep:
|
for windows xp you can make a boot disk by copying these files on the root directory onto floppy
boot.ini
NTDETECT
ntlrd
if you have access to these files you can make a boot disk. Depending on your version of windows it might be a little different
|
|
|
09-07-2003, 03:14 PM
|
#8
|
Member
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987
Rep:
|
Why don't you try installing lilo, it might work for you
|
|
|
09-07-2003, 03:20 PM
|
#9
|
Member
Registered: Aug 2003
Location: Toronto
Distribution: Gentoo 1.4
Posts: 95
Original Poster
Rep:
|
Well, again, i wrekced my grub by reinstalling xp. Then i linux rescued my linux boot and wrecked my boot.ini (i guess) because i can't boot into xp. I know that the mount is just to view nad use the files, what i was saying was that i tried to tell grub it was vfat and it still didn't work!
Thanks agin!
Jim
|
|
|
09-07-2003, 03:32 PM
|
#10
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
Jim - are you using XP alongside Red Hat ? - if so, are you using NTFS or VFAT as your XP filesystems ?
|
|
|
09-07-2003, 03:48 PM
|
#11
|
Senior Member
Registered: Sep 2003
Posts: 3,171
Rep:
|
ADFS = Apple Dos File System???
There is also an ADFS associated with some RISC system known as "FileCore". I know nothing about it.
If you get a message like that, it makes me think your partition table is chucked, farley. This wouldn't surprise me, given what you describe you have done.
I can take you through the repair procedure, but it is involved and dangerous. You should obtain and carefully review this document:
http://www.cs.mtsu.edu/~alex/operati.../multiboot.pdf
After you have done so, I need to know if you know your way around any hex editors, and if you have the guts to manually edit your partition table.
Basically, Windows overwrote the grub boot record in the Master Boot record with its own boot record (the "standard" boot record) which is why you lost the capability to boot linux. Your Linux rescue left you with a corrupted boot table and master partition table. You are still running, but you may be progressively corrupting your system and may be on your way to a real mess.
Please obtain all of the following tools:
1. A DOS boot floppy with fdisk on it.
2 MBR-Rescue, which you can get from here:
http://www.diydatarecovery.nl/~tkuurstra/mbrresc.htm
3. Linux Disk Editor - lde (you should already have this).
4. A Windows boot floppy that you have verified will boot your Windows system
5. A Linux boot floppy that you have verified will boot your Linux system.
6. PartEd, which you can get from here:
http://www.gnu.org/software/parted/
7. GPart, which you can obtain from here:
http://public.www.planetmirror.com/pub/gpart/
8. You didn't specify which version of Windows you are running, but if it is NT/2000/XP you should also get DiskProbe from here:
http://www.dynawell.com/support/ResK....asp#DiskTools
You may not need all these tools, but it is best to be prepared. You will also need a handful of floppies.
Don't attempt to use any high level tools on the hard drive (any formatting tools, for instance) until you have been able to do some low level work on it manually to make sure you are not totally f*cked.
You will not fix this problem with any automatic tools; you will have to get "down and dirty" with some manual tools to straighten it out.
It may take awhile, and if you make any critical mistakes along the way you will render your system unbootable. If you are willing to undertake it, I'll show you the way. It will lead to a long thread and will take awhile.
Just keep in mind that the damage to your system may very well be far more serious than it presently appears. You may have a situation where you have overlapping partitions as a result of what has happened; should this be the case you will find yourself low-level formatting and reinstalling everything after awhile, unless you do the manual repair.
I suspect this level of trouble with your system because of the reported presence of ADFS; this clearly states your partition table is hosed.
|
|
|
09-07-2003, 04:55 PM
|
#12
|
Member
Registered: Aug 2003
Location: Toronto
Distribution: Gentoo 1.4
Posts: 95
Original Poster
Rep:
|
Well, I guess my first few questions are this:
1) how to i do a damage check and see how badly my system is/could be damaged?
2) If its an option, could i simply attempt to format the hda, reinstall xp and then go about fixing the bootloader to load linux?
|
|
|
09-07-2003, 06:18 PM
|
#13
|
Senior Member
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713
Rep:
|
I don't know about grub (I use lilo) but is your windows partition defined in you grub.conf file (or whatever it's called under grub)? Also you may need to change your fstab file to say "vfat" instead of "auto" under filesystem type for the windows partition.
|
|
|
09-07-2003, 06:24 PM
|
#14
|
Senior Member
Registered: Sep 2003
Posts: 3,171
Rep:
|
Well, I guess my first few questions are this:
1) how to i do a damage check and see how badly my system is/could be damaged?
That is why I am asking you to pull these tools together. The first step will be to read out the master partition table, and to scan the disk looking for partitions, then compare the results. It could be as simple as changing the file system code in the partition table, or it could be much more complicated than that.
2) If its an option, could i simply attempt to format the hda, reinstall xp and then go about fixing the bootloader to load linux?
No. This will not work. You have XP? OK. NTFS file system?
|
|
|
09-07-2003, 08:58 PM
|
#15
|
Senior Member
Registered: Sep 2003
Posts: 3,171
Rep:
|
Quote:
2) If its an option, could i simply attempt to format the hda, reinstall xp and then go about fixing the bootloader to load linux?
|
I re-read your original post and I see that your windows is on one drive and linux is on another.
In this event, yes you could reformat hda and reinstall windows, and bypass all the potential nastiness that I was planning for you.
|
|
|
All times are GMT -5. The time now is 05:54 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|