View previous topic :: View next topic |
Author |
Message |
MadBassist Apprentice
Joined: 10 Apr 2004 Posts: 200
|
Posted: Mon Apr 19, 2004 11:23 pm Post subject: kernel config for external hard drive |
|
|
I have a spangly new Maxtor OneTouch 250GB Firewire/USB2 hard drive and was wondering which option was best to use under Gentoo and what kernel options I need to add to get them to work. I intend to format it using Fat32 so Windows and Gentoo can read/write to it. _________________ System
---------
AMD Athlon XP 2800 Barton
512 Corsair XMS LLPT DDRRAM
Nvidia GeForce FX5900
Audigy2
gentoo-dev-sources 2.6.8-r3 |
|
Back to top |
|
|
thm Tux's lil' helper
Joined: 15 Dec 2003 Posts: 77 Location: Munich
|
Posted: Mon Apr 19, 2004 11:55 pm Post subject: |
|
|
I have used USB and it definitely works. FireWirew should work as well, but I haven't tried that yet.
You need to activate hotplugging and you need the package dosfstools. _________________ Thomas |
|
Back to top |
|
|
MadBassist Apprentice
Joined: 10 Apr 2004 Posts: 200
|
Posted: Tue Apr 20, 2004 12:02 am Post subject: |
|
|
ta for that, do I need to do anythign else once ive recompiled the kernel (ie how do I get the drive to mount when its plugged in and unmount when its unplugged) _________________ System
---------
AMD Athlon XP 2800 Barton
512 Corsair XMS LLPT DDRRAM
Nvidia GeForce FX5900
Audigy2
gentoo-dev-sources 2.6.8-r3 |
|
Back to top |
|
|
thm Tux's lil' helper
Joined: 15 Dec 2003 Posts: 77 Location: Munich
|
Posted: Tue Apr 20, 2004 12:40 am Post subject: |
|
|
Once plugged in, the hard drive will show up in several places of the /dev filesystem. The precise paths will depend on whatever other disc drives you have in your system. If , for example, you have only one internal IDE hard drive and no MO, ZIP, SYQUEST or other removeable disc, then your internal hard drive will show up as /dev/discs/disc0 or /dev/hda. The USB drive will then show up as /dev/discs/disc1 or /dev/sda.
You should partition the USB drive using the linux fdisk
Create one primary partition and make it type 0C (hex code; stands for Win'95 LBA). If you want more partitions, you have to create one primary and one extended partition. Within the extended partition you can then create up to 4 more logical partitions (again, type 0C) corresponding to windows logical drives. The partitions can be accessed via /dev/sda1 through /dev/sdaN.
Format your partition(s), e.g.
Code: | mkdosfs -F 32 /dev/sda1 |
Windows will recognize and mount the additional drive(s) automatically. Windows does not have an unmount function. You can never be absolutely certain that it is safe to unplug the drive, except after shutting down windows.
For linux, you should create appropriate mount points and fstab entries. Specify vfat or auto as filesystem and noauto,user as mount options.
On your KDE desktop create a desktop icon for a hard drive and select the appropriate device in its properties dialog. Left-clicking on the icon will mount the drive (unless it is already mounted) and open a directory window. Closing the window will not unmount the partition. Right-click on the icon and chose unmount in the context menu to unmount the partition.
Never unplug the drive, while one of its partitions is still mounted. _________________ Thomas
Last edited by thm on Tue Apr 20, 2004 11:06 am; edited 1 time in total |
|
Back to top |
|
|
MadBassist Apprentice
Joined: 10 Apr 2004 Posts: 200
|
Posted: Tue Apr 20, 2004 10:45 am Post subject: |
|
|
hoorah it works thanking you _________________ System
---------
AMD Athlon XP 2800 Barton
512 Corsair XMS LLPT DDRRAM
Nvidia GeForce FX5900
Audigy2
gentoo-dev-sources 2.6.8-r3 |
|
Back to top |
|
|
|