Re: Mount a new HDD somewhere in the file system ”permanently”



2011/10/24 Bruce Pieterse <octoquadza@xxxxxxxxx>:
On Mon 24 Oct 2011 19:50:43 SAST, Johnny Rosenberg wrote:

We just bought a new HDD for my wife's desktop machine, since the
existing one seems a bit too small. She work with a lot of images in
RAW format…

Ubuntu 10.04 is installed on the old HDD and we are not going to
change that for quite a while. Our thought is to keep the old HDD with
Ubuntu 10.04 and let the new one appear as her Images folder somewhere
in her file system, because that's the folder that will really be
really.

What do we need to obtain this permanently?
We did not decide the exact structure yet, but let's say that we want
to mount the new HDD as /home/UserName/Something/SomethingElse/Images.
/home is already a partition of its own at the old HDD.

I guess there need to be some work done in fstab somehow, right? Is
there some kind of software out there that let us do this graphically
or is the terminal the way to go?

Thanks in advance!



Kind regards

Johnny Rosenberg
ジョニー・ローゼンバーグ


Johnny,

Terminal will be the best way to go but we can do it in both.

*Terminal Mode & Graphic Mode*
1. Create the directory structure
i.e./home/UserName/Something/SomethingElse/Images
2. Get the unique device identifier with sudo blkid so the same device is
always loaded at the above mount point. If you not sure which device it is
you can use the disk-utility in gnome or sudo fdisk -l and match
/dev/sd[a-z][1-9] with blkid. If you still not sure you can give me the
output and I'll assist further.
3. Edit fstab: sudo vi /etc/fstab (terminal mode) or gksudo gedit /etc/fstab
(graphical mode)
4. Add the line: UUID=<blkid from step 2>
/home/UserName/Something/SomethingElse/Images ext4    errors=remount-ro
  0       1

Failed first when I tried to have a folder name with a space in it.
Doesn't seem like quotes around the path name nor a backslash ahead of
the space helped, so I simply changed the name entirely to one without
spaces. Is it not possible to have spaces in the folder name in this
case?


5. Save and then use mount -a to have it loaded in the new location

Yes, that works, thanks!

So now the folder /home/UserName/Something/SomethingElse/Images (let's
call it that) exists and seems to be the HDD. However, we still have a
HDD icon on the desktop called ”1 TB file system”. Is there something
to add in fstab to make sure that doesn't happen? For example, if we
plug in a USB stick we want it to appear on the desktop, but we DON'T
want this HDD to appear there. Possible? How?


Done. :)

--
Best of luck,

Bruce


Best regards

Johnny Rosenberg
ジョニー・ローゼンバーグ


Conny Enström skrev:
http://wiki.linuxquestions.org/wiki/Adding_Another_Hard_Drive

or

http://www.debianhelp.co.uk/newharddisk.htm”;


Johnny Rosenberg svarar:
Tackar!


Vänliga hälsningar

Johnny Rosenberg
ジョニー・ローゼンバーグ

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Relevant Pages

  • Re: EFS Encryted Folder - Recovery Help needed
    ... It's interesting to note that I can decrypt the folders ... Second HDD contains all my data including My ... >> Documents etc. also backup files for my billing system ... >> within the encrypted data folder. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: files in use while they are not.
    ... Right now I have on my HDD 4.5 Gb of files I copied "temporarily" from DVDR ... Instantly after copying to HDD were finished, ... It may be that after writing folder of different (totally passive, ... application which has revealed the same problem is Ulead Photo Explorer. ...
    (microsoft.public.windowsxp.general)
  • Re: How to transfer Outlook Express details into New User Account?
    ... > under the same folder. ... >> OE data cannot be exported from the old HDD to the new HDD. ... >>> Export the 4 OE registry keys. ... >>> drop it into my newly created registry keys folder. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: SFC/scannow - help please?
    ... > larger number than my HDD actually has. ... > the precaution of moving the SP2 download to Drive D on ... to a folder called SP2.) ... > TOTALLY CONFUSING - the file Folder dates are NOT in chronological order, ...
    (microsoft.public.windowsxp.basics)
  • Re: EFS Encryted Folder - Recovery Help needed
    ... "TechnoWiz" wrote in message ... Second HDD contains all my data including My ... > folders and most frustrating is that I have an Image file ... > within the encrypted data folder. ...
    (microsoft.public.windowsxp.security_admin)