View previous topic :: View next topic |
Author |
Message |
tal82k n00b
Joined: 14 Aug 2004 Posts: 70
|
Posted: Wed Sep 07, 2005 8:51 pm Post subject: Two fstab questions... |
|
|
I am unsure as to what the /dev/BLAH should end up being in fstab. I have a SATA hdd internal and a usb external. As of this moment, fstab is as follows:
Code: |
/dev/hda1 /boot ext2 defaults,noatime 1 2
/dev/hda3 / ext3 noatime 0 1
/dev/hda2 none swap sw 0 0
(skipping the cd and floppy)
/dev/sda1 /mnt/usb vfat noatime 0 1
|
For information, the usb hdd is fat32 formatted (its a backup of my useful windoze stuff). I am unsure whether the hda will work later (should they be hde or who knows what?) and when I try to mount the usb hdd, it says that the mount point /mnt/usb does not exist.
Thanks in advance _________________ Sensei say: If go to bed with itchy ass, wake up with stinky fingers. |
|
Back to top |
|
|
Sir No Apprentice
Joined: 01 May 2005 Posts: 159 Location: Poland
|
Posted: Wed Sep 07, 2005 10:06 pm Post subject: |
|
|
If you emerge hotplug, dbus and hal, you should have the plug-n-use functionality for USB-connected drive, as well as for USB-stick. You also need a recent 2.6 kernel with udev. And it's always wise to have coldplug too...
At least it works for me this way in Gnome. _________________ The geeks | Recommended Packages fOr Desktop & Server | Read BBCode Guide! |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Thu Sep 08, 2005 12:16 am Post subject: |
|
|
Hi.
Unless you have compiled the kernel with one of the deprecated IDE drivers, your disk will be available at /dev/sdX. You should search for your driver under Device Drivers --> SCSI support --> SCSI low-level drivers --> Serial ATA (SATA) support.
The dir where you want to mount a partition, must exist. If you want to use /mnt/usb, just create the dir and then mount the disk.
Code: | # mkdir /mnt/usb
# mount /dev/sda1 /mnt/usb |
_________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
tal82k n00b
Joined: 14 Aug 2004 Posts: 70
|
Posted: Thu Sep 08, 2005 1:06 am Post subject: |
|
|
Oops....I tried to emerge all that, but only hal worked (the others need an internet connection, and the modules for my wireless card are on the external hdd). The other oops is that my kernel doesnt have vfat support (don't know how i overlooked that). Other than that, making the directory was what I was looking for with the external.
Do I have to recompile my kernel and do everything since then again just to enable vfat?
-Tal _________________ Sensei say: If go to bed with itchy ass, wake up with stinky fingers. |
|
Back to top |
|
|
|