Operating Systems > Linux and UNIX

Old Linux and GUI for Old laptop

<< < (4/4)

Faust:
Can you threaten to hurt them if they dont give you the admin password?  :D
Actually it's probably written on a little post it note on their monitors.  

Copperhead:

quote:that's a nice little tutorial, i was assuming that the filesystem type would be autodetected by mount, but it may not be on some versions and with some filetypes (i know from experience!  )
--- End quote ---


Filesystem autodetection usually does work, but you have to have the filesystem set to auto, and the mount point defined in /etc/fstab.

The only problem in doing this lies with the kernel itself. Since he is using  a pretty bare-bones version of Linux, his kernel might not have been compiled with support for a great number of filesystems.  If he is getting an error stating that vfat is a bad filesystem option, he is going to have to:

$ /sbin/insmod vfat (or whatever the name of the module is for FAT Filesystems)

and see if he has a module that he can load.  If he doesn't have a loadable module to support the type of FS he is mounting, then it is time to read up on Kernel Recompiling  

Master of Reality:

quote:Originally posted by Copperhead:
You need to define the filesystem type you are trying to mount. Plenty of ways to do this:

This is all from the man mount page:

What the mount man page will not tell you is that you need to create "mount points" so you can cd into a filesystem after you have mounted it.

As Root:

$ mkdir /mnt/harddrive

then:

$ mount -t vfat /dev/hda1 /mnt/harddrive

$ cd /mnt/harddrive

$ ls -la

You should see all of your files on that harddrive, as well as have full read, write, and execute permissions to them.

Of course, it is easier to edit /etc/fstab to define your filesystems on your harddrives, removeable media, and their mount points. Then you can just use the command:

mount -a

if you've defined them all correctly.  This is all explained in the FAQ at the top of the page.
--- End quote ---
s/hes using Ext2.. as s/he mentioned so the "-t vfat" would be "-t ext2" or even "-t auto" might work.

KernelPanic:

quote:Originally posted by The Master of Reality / Bob:
s/hes using Ext2.. as s/he mentioned so the "-t vfat" would be "-t ext2" or even "-t auto" might work.
--- End quote ---


whoa, m0r went all PC. S/he hehe

Navigation

[0] Message Index

[*] Previous page

Go to full version