Is it possible to change the mount points without formatting the drive or reinstalling the OS?
Pyotr Kropotkin
pyotr at riseup.net
Sat Jun 6 23:52:44 UTC 2009
> Currently the computer renamed them as /media/disk, /media/disk1, and
> /media/disk2. This has caused me problems in the past, having /media as a
> mount point. I have reconfigured and restored my computer the way it was
> before the re-installation, with a functioning OS again. Since all my
> applications are properly configured and the OS is working perfectly, is it
> possible to change my mount points on the partitions to /home, /home/backup,
> and /home/svpersonal without reinstalling the OS and applications again?
You'll need to edit /etc/fstab, which includes a list of all "static"
mount points on your system (stuff in /media is generally mounted
automatically by various daemons).
The file is pretty self-explanatory, though you may want to read the
man-pages for mount and fstab to get a better idea what's going on. The
general format is
<device> <mount> <fs> <options> <dump> <pass>
in general <dump> and <pass> should be 0 and 2, respectively. For
example, let's say that /dev/sda3 is currently mounted on /media/disk but
should be mounted at /home. The corresponding entry in /etc/fstab would
then be something like
/dev/sda3 /home ext3 defaults,relatime 0 2
YYMV.
- Pyotr
pyotr at riseup.net
--
Long live the fighters!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20090606/7dca161b/attachment.sig>
More information about the kubuntu-users
mailing list