PDA

View Full Version : hda1 not recognized during boot



Matthias99
10-31-2005, 12:25 AM
Hi!

With Knoppix 4.0.2 the only partition on my IDE-harddrive is not correctly detected. When I click on the icon on the desktop (labeled "Hard Disk [hda]) I get an error message: "Could not mount device. The reported error was: mount: I could not determine the filesystem type, and none was specified".
My fstab looks as follows:
__________________________________________________ ________________
/proc /proc proc defaults 0 0
/sys /sys sysfs noauto 0 0
/dev/pts /dev/pts devpts mode=0622 0 0
/dev/fd0 /mnt/auto/floppy auto user,noauto,exec,umask=000 0 0
/dev/cdrom /mnt/auto/cdrom auto user,noauto,exec,ro 0 0
# Added by KNOPPIX
/dev/hda /mnt/hda auto noauto,users,exec 0 0
__________________________________________________ ________________

The last entry seems wrong to me. Should this not be "hda1"? fdisk shows the following partition table for hda:
__________________________________________________ ________________
Disk /dev/hda: 20.0 GB, 20020396032 bytes
225 heads, 63 sectors/track, 2758 cylinders
Units = cylinders of 14175 * 512 = 7257600 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 2813 19935688+ c W95 FAT32 (LBA)
__________________________________________________ ________________

With "mount -t vfat /dev/hda1 /mnt/hda" I can mount the partition manually and have access to the data, but when I try to create a persistent home directory on hda1 I get the following error message:
"The KNOPPIX configuration could NOT be saved: No suitable partitions could be found." Here is the content of /proc/partitions:
__________________________________________________ ________________
major minor #blocks name

3 0 19551168 hda
3 1 19935688 hda1
240 0 1942016 cloop0
__________________________________________________ ________________

However, in the output from dmesg I found:
[...]
VFS: Can't find an ext2 filesystem on dev hda.
FAT: invalid media value (0xb9)
VFS: Can't find a valid FAT filesystem on dev hda.
ISO 9660 Extensions: Microsoft Joliet Level 3
[...]
As I said before, manually mounting the partition and booting windows from this drive work without problems. Does anybody have a clue what the problem might be?

Thanks,
Matthias

rwcitek
10-31-2005, 01:07 AM
Hello and welcome to Knoppix.net.

We hope that you enjoy your use of Knoppix and hope you become an active member of the community. There's no membership fee. We just ask that you help us and others by becoming familiar with Knoppix, posting questions, and letting the rest of us know how things go. Also, I noticed that you joined recently and so was wondering if you wouldn't mind answering a few questions.

1. - How did you hear about Knoppix?
2. - How did you discover Knoppix.net?
3. - What versions of Knoppix have you tried?
4. - What type of system are you running Knoppix on?
5. - What operating system is currently installed on that system?
6. - How long have you been using computers, or how familiar are you with computers?
7. - Have you used linux before? If so, how long?
8. - What do you hope to do with Knoppix or Linux?
9. - Are you familiar with a wiki? If so, have you used a wiki before, e.g wrote some content?


fdisk shows the following partition table for hda:
__________________________________________________ ________________
Disk /dev/hda: 20.0 GB, 20020396032 bytes
225 heads, 63 sectors/track, 2758 cylinders
Units = cylinders of 14175 * 512 = 7257600 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 2813 19935688+ c W95 FAT32 (LBA)
__________________________________________________ ________________

That's odd. Check out the cylinder numbers. The disk reports only 2758 cylinders, but the partition extends to cylinder 2813.


Here is the content of /proc/partitions:
__________________________________________________ ________________
major minor #blocks name

3 0 19551168 hda
3 1 19935688 hda1
240 0 1942016 cloop0
__________________________________________________ ________________

Again, check out the size. There are more blocks on the partition than there are on the drive.

Is there anything particularly special about the drive? Have you tried other Knoppix versions? If so, do you see the same results?

Regards,
- Robert
http://www.cwelug.org

Matthias99
10-31-2005, 02:46 PM
Thanks for the reply. First to your questions:
1. I think that I first read about it in the c't, a German computer magazine.
2. Following a link from www.knopper.net
3. I cannot remenber exactly. 4.0.2 of course, but then I tried a version that came out one or two years ago.
4. It is a DELL OptiPlex GX1p (Pentium III)
5. MS Windows XP
6. I am using computers since about 20 years.
7. Linux is my main OS since about 11 years.
8. Use it as an alternative to the OS installed on my computer at work without having to change the computer.
9. Only for looking up information (wikipedia).

The drive is a Seagate ST320413A. I have used MS scandisk and the Seagate tools to check the disk and the file system. According to these two tools everything is fine. Could it be that Windows XP has messed with he disk? There is no NTFS partition on it, though.

Regards,
Matthias