Eric,

Are you sure you have loaded ext2.o kernel module ?

Derek

wing newton wrote:

Eric,

Which kernel module ? I am using initrd_ide.lrp.
Does initrd_ide.lrp include all the necessary modules
?

I did a few experiments with it. What I found are:
1) mount /dev/hda1 /mnt on an existing/working Linux
(83) partition
Mounting /dev/hda1 on /mnt failed: Invalid argument

2) mount -t ext2 /dev/hda1 /mnt

Mounting /dev/hda1 on /mnt failed:  No such device

Note that /dev/hda1 is an existing/working Linux ext2
FS.

3. I "lrpkg -i hdsupp" and then did a fsck.ext2 on
/dev/hda1. It worked fine as I expected - implies the
FS on hda1 is an ext2.
4. I got a new disk and did a fdisk to create a new
partition. If I label it fat16 and do a mkfs.msdos on
it, I can  "mount /dev/hda1 /mnt or mount -t msdos
/dev/hda1 /mnt" - no problem. It also works fine with
a new vfat or minix partition too. If I re-label the same partition as Linux partition
i.e. 83 and do  mkfs.ext2, surprisingly I can "mount
/dev/hda1 /mnt" correctly. However, the same trick
works only sometimes. Why ? Note that this is a new
fdisk not the existing Linux partition. I need to mount an existing/working Linux partition.
Any hint ?

Thank you for your help.



mount /dev/hda1 --- Eric Spakman <[EMAIL PROTECTED]> wrote:

Hello,

You have to include and load the ext2 kernel module
to mount an ext2 fs.

Eric

-----Original Message-----
From: "wing newton" <[EMAIL PROTECTED]>
To: [email protected]
Sent: 4-4-06 4:28
Subject: [leaf-user] Bering-uClibc-2.4 mount problem

Greetings,

I installed initrd_ide.lrp and dmesg showed that
hda1
and hda2 were detected.

However, when I tried to mount -t ext2 /dev/hda1
/mnt , it returns No such device.

I also tried hdsupp.lrp. fdisk works fine but the
mounting problem is still there.

I can mount /dev/fd0 fine  but not any harddisk
partitions. Any hint ? Any problem with the busybox's mount ?
Thanks.





__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around http://mail.yahoo.com




__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to