Results 1 to 5 of 5
Hi all,
I have an extra drive on an ITE controller which I can mount with the command 'mount /dev/hdf5 /mnt/ARCHIVE' (the drive is named archive). I can then open ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-25-2006 #1
Permanent mounting of drives/partitions
Hi all,
I have an extra drive on an ITE controller which I can mount with the command 'mount /dev/hdf5 /mnt/ARCHIVE' (the drive is named archive). I can then open it thorugh the 'mnt' folder in my home directory. What I would like to do is permanently mount it so it is mounted on start-up and I can create a link on my desktop to it like I can with my other drives/partitions.
How do I do this? I was once talked through it in the IRC channel (I miss that facility
)but never wrote down the instructions.
MartinLINUX: Where do you want to go.......Tomorrow!
Registered Linux user 396633
- 11-26-2006 #2
In /etc/fstab, add a line like this:
If you know the filesystem type, you can replace auto with that.Code:/dev/hdf5 /mnt/ARCHIVE auto defaults 0 0
Stand up and be counted as a Linux user!
- 11-26-2006 #3
Hi Zelmo,
Sorry but I'm hopeless with the command line, how do I access and modify the ect/fstab from the command line in a root console?
MartinLINUX: Where do you want to go.......Tomorrow!
Registered Linux user 396633
- 11-26-2006 #4
If you would prefer to access the file using a graphical editor, try one of the following:
For KDE:For GNOME:Code:kdesu kwrite /etc/fstab
BryanCode:gksu gedit /etc/fstab
Looking for a distro? Look here.
"There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
Queen's University - Arts and Science 2008 (Sociology)
Registered Linux User #386147.
- 11-26-2006 #5
That seemed to work at first, but now none of my drives seem to be mounted. When I went to closed the terminal window, there were loads of error messages about files types being invalid,unfortunately I closed the window without copying it. But heres the etc/sfstab file,
/dev/hda10 / ext2 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec 0 0
/dev/hdd /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec 0 0
none /mnt/hd supermount dev=/dev/ide/host0/bus0/target1/lun0/part1,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,kudzu,codepage=850 0 0
/dev/hda1 /mnt/win_c vfat umask=0,iocharset=iso8859-15,codepage=850 0 0
/dev/hdb1 /mnt/win_c2 vfat umask=0,iocharset=iso8859-15,codepage=850 0 0
/dev/hda5 /mnt/win_d vfat umask=0,iocharset=iso8859-15,codepage=850 0 0
/dev/hdf1 /mnt/archive vfat defaults 0 0
/dev/hdf5 /mnt/archive1 vfat defaults 0 0
none /proc proc defaults 0 0
/dev/hda7 swap swap defaults 0 0
Each time I try to open my files via the desktop I'm told only root can mount that drive
Martin
EDIT: It's okay, I fixed it.I removed the line referring to hdf1, that's an extra copy of XP I run and is not important. Once I took that away and saved the changes, then manually remounted everything,all was well.But if you can see the cause in the bootloader I posted will you enlighten me as I don't know what it was that created the conflict.LINUX: Where do you want to go.......Tomorrow!
Registered Linux user 396633


Reply With Quote
