• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: New Plugger How To  (Read 2297 times)
mail4asim
Newbie
*

Karma: 0
Posts: 39



View Profile
« on: July 27, 2009, 09:49:47 PM »

According to the "New Plugger How To" document

Quote
Edit /etc/rc.local. The two insmod commands fail, and because the shell is invoked with the -e flag (see first line of the file), a failing command causes the whole script to exit. Delete or comment out all lines except "mkdir -p /var/cache/apt/archives/partial". You might also want to add, after the mkdir, a line "/usr/sbin/ntpdate-debian" to automatically sync your clock over the network.


When I do this, I end up commenting the
insmod /boot/fat.ko
insmod /boot/vfat.ko

which means I loose the FAT/FAT32  support.  Isn't that right ?
« Last Edit: July 27, 2009, 09:51:24 PM by mail4asim » Logged

tinker
Newbie
*

Karma: 2
Posts: 43


View Profile
« Reply #1 on: July 28, 2009, 09:02:29 AM »

no, because you can always load the modules later using modprobe.
« Last Edit: July 28, 2009, 09:05:42 AM by tinker » Logged

mail4asim
Newbie
*

Karma: 0
Posts: 39



View Profile
« Reply #2 on: July 28, 2009, 01:39:16 PM »

Well then I need to figure out what I am doing wrong. I reinstalled the Ubuntu / Debian 1.2 image on mine, and now when I comment out the insmod lines, I am unable to mount the FAT32 USB  drive and SD card. Another issue I am having is that I have added the mount points to /etc/fstab and they don't mount automatically, I have to do it manually.

Thanks for the input.
Logged

mail4asim
Newbie
*

Karma: 0
Posts: 39



View Profile
« Reply #3 on: July 28, 2009, 08:38:20 PM »

Ok, I reimaged the plugcomputer. It booted up  fine.

did a  apt-get dist-upgrade

 I was able created a mount point /media/USB.  Mounted by USB drive as

mount /dev/sda1  /media/USB   -t vfat


I also added the entry  to fstab  so it mounts automatically. And this worked until I rebooted again. And now I don't have vfat support. when I try to mount it says

root@debian:~# mount /dev/sda1 /media/USB
mount: unknown filesystem type 'vfat'


I rebooted again and looked at the console .. and this is what I keep seeing..



 Mounting local filesystems...                                                mount: unknown filesystem type 'vfat'
                                                                         [fail]


Did the dist-upgrade break something ?  How can I fix this ?

Logged

dattaway
Jr. Member
**

Karma: 5
Posts: 91



View Profile WWW
« Reply #4 on: August 16, 2009, 01:21:24 PM »

That means your vfat module is not loaded when it tries to mount.  I believe you can simply put the name of the module you want loaded into "/etc/modules" or put the modprobe in your rc.local.
Logged

Pages: [1]
Print
Jump to: