Author Topic: Missing Mount With Oz3.5.4-rc On An Sl-c3100?  (Read 2327 times)

mollusk

  • Newbie
  • *
  • Posts: 3
    • View Profile
Missing Mount With Oz3.5.4-rc On An Sl-c3100?
« on: January 17, 2006, 06:02:22 am »
Hi,
I followed the instructions on the OpenZaurus site to resize the hard drive for the 2.6 kernel and then completed what looked to a newb-eye to be a successful install, but, whilst searching for the source code to get linux.inf to get usb networking running, I noticed that I seem to be missing the majority of my hard drive:

Code: [Select]
# df -m
/dev/mtdblock2   32   26   6   81%   /
/dev/mtdblock3   89   21   68 23%   /home
tmpfs                  30   0    30  0%   /var
tmpfs                  30   0    30  0%   /media/ram

# cat /etc/fstab
/dev/mtdblock2   /
/dev/mtdblock3   /home
proc                   proc
/dev/hda1          /media/hdd1
tmpfs...
...
SD/MMC
...
USB Storage
...
CF Storage
...

any ideas? I am willing to concede that I may have done something wrong...
--------------------

Zaurus SL-C3100

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Missing Mount With Oz3.5.4-rc On An Sl-c3100?
« Reply #1 on: January 17, 2006, 07:42:15 am »
Doesn't look like it's mounted (from the output of 'df')

What does 'mount' show?


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

mollusk

  • Newbie
  • *
  • Posts: 3
    • View Profile
Missing Mount With Oz3.5.4-rc On An Sl-c3100?
« Reply #2 on: January 17, 2006, 05:31:43 pm »
Thanks for the reply lardman.
Output of mount as follows:

Code: [Select]
# mount
/dev/mtdblock2 on / type jffs2 (rw)
proc on /proc type proc (rw)
ramfs on /dev type ramfs (rw)
/dev/mtdblock3 on /home type jffs2 (rw,noat
tmpfs on /var type tmpfs (rw)
tmpfs on /media/ram type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
usbfs on /proc/bus/usb type usbfs (rw)
--------------------

Zaurus SL-C3100

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Missing Mount With Oz3.5.4-rc On An Sl-c3100?
« Reply #3 on: January 18, 2006, 05:40:59 am »
Try 'mount /media/hdd1' and see if it appears (you can use the shortened version as it appears in fstab).

Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

mollusk

  • Newbie
  • *
  • Posts: 3
    • View Profile
Missing Mount With Oz3.5.4-rc On An Sl-c3100?
« Reply #4 on: January 18, 2006, 06:08:55 am »
Ok that worked, but only in a small way.
Running 'df -m' now shows:
/dev/hda1   9   1   8   11%   /media/hdd1

In a fit of inspiration I ran fdisk and printed the partition table and got this:

/dev/hda1   1   292   147136+   83   Linux
/dev/hda2   293   371   39816   83   Linux
/dev/hda3   372   7936   3812760   83   Linux

I then duplicated the /dev/hda1 line in fstab and changed it to hda3 and /media/hdd.
Next I checked that /media/hdd existed; it did; and so I ran 'mount /media/hdd'.

Then I got the following error...
mount: Mounting /dev/hda3 on /media/hdd failed: Invalid argument
--------------------

Zaurus SL-C3100

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Missing Mount With Oz3.5.4-rc On An Sl-c3100?
« Reply #5 on: January 18, 2006, 06:53:29 am »
Try specifying the partition type.

I must admit that I don't know why hdd1 wasn't automounted - you might pole your head in to irc #oe or #openzaurus and ask someone who knows more about the mounting order than me.


Si
« Last Edit: January 18, 2006, 06:54:05 am by lardman »
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva