How do I do it? (altering the mount points)
Basil Chupin
blchupin at iinet.net.au
Thu May 6 14:45:43 UTC 2010
On 07/05/10 00:21, Marius Gedminas wrote:
> On Thu, May 06, 2010 at 11:33:24PM +1000, Basil Chupin wrote:
>
>> Earlier tonight as an experiment I installed XP and 10.04 on a set of
>> HDs and when installing 10.04 I deliberately made typo mistakes in the
>> partitioner.
>>
>> For example, I put in /Windows/D as the mount point instead of using the
>> lower case /windows/D.
>>
>> Of course, fstab now shows that this partition is mounted as /Windows/D,
>> and there is a corresponding entry in the file directory tree of Windows/D.
>>
>> But what I want is to have this directory tree to show in local case -
>> windows/D - with fstab also showing 'windows' in lower case.
>>
>> Using PartedMagic I went in and altered all the capitalised references
>> to Windows to lower case in fstab and the directory tree.
>>
>> Then I tried to reboot the system - but it wouldn't.
>>
> (I would consider that a bug in Ubuntu: non-essential filesystems
> prevent boot.)
>
>
>> It doesn't boot because I think that the device map is now wrong and
>> with grub expecting to see Windows and not windows in fstab (I guess).
>>
> No; grub has nothing to do with it.
>
> Ubuntu's startup jobs (specifically, mountall) want to mount all
> filesystems mentioned in /etc/fstab before they let users log in.
>
>
>> Fine, I thought, I will now change everything back, boot the system and
>> use the partitioner in 10.04 to rename the mounts, then run update-grub
>> and live happily ever after. Pigs will fly :-( .
>>
> update-grub is not necessary (but won't be harmful).
>
> What do you mean when you say "the partitioner"? System ->
> Administration -> Disk tool?
>
Yes, Disk Utility.
>> The partitioner has changed its clothes and now looks, or acts, nothing
>> like it did when the system was being installed - and the mount points
>> cannot be renamed. Not ever PartedMagic will do it for that matter.
>>
> I thought it worked the first time around?
>
Which worked the first time around - the partitioner when Ubuntu was
being installed or PartedMagic? PartedMagic doesn't come into it when
you are installing Ubuntu and partitioning the drive(s).
>> So, the question now is: how can I alter the mount points from Windows/D
>> etc to windows/D etc? Any ideas, please?
>>
> I can tell you how to do that from a terminal:
>
> sudo -s
> umount /Windows/D
> (repeat this for all mount points under /Windows)
> (if this fails, close all applications that are accessing data in
> that filesystem and try again)
> mv /Windows /windows
> gedit /etc/fstab
> (change /Windows to /windows everywhere)
> mount -a
>
> I don't know if there are GUI tools that let you rename mountpoints.
>
But isn't this the exact thing when I use PartedMagic and it's mc
(midnight commander) to not only rename the directory tree entry
(Windows>windows) and edit the fstab?
BC
--
"I do not feel obliged to believe that the same God who has endowed us with sense, reason and intellect has intended us to forgo their use."
Galileo Galilei
More information about the ubuntu-users
mailing list