How to put mount points for new extra disks

This is probably quite trivial, and I am sure it is an often done thing, - here it is… how do i mount extra harddrives…?

  • After a hardrive crash which took out my opensuse 11.2, I installed three new harddrives instead of the old ones. I have installed xp. To see of I could triple boot, i thereafter put in linux mint. I did not like that and installed opensuse 11.3 - to ensure it would place itself on the two second harddrives (formatted in ntfs and with some data on) i before installation took those cables off… And now alas… there are no mount points…

So I tried yast, and found the partitioner, chose edit tried to put mount points … however… nothing seemed to have happened…

Could anyone help??

Mallus wrote:

>
> This is probably quite trivial, and I am sure it is an often done
> thing, - here it is… how do i mount extra harddrives…?

In a nutshell - partition if necessary, create filesystems, create mount
points, mount. Edit /etc/fstab to make permanent.


Per Jessen, Zürich (18.4°C)
http://en.opensuse.org/User:pjessen

But the problem is the two disks already have files in them… - my plan was to have OS on one disk and data on the others.
So I need to find out to make mount points without making new partions instead of the original partitions… could that be possible…?

“Edit /etc/fstab to make permanent.” could you explain that a bit…?

Mallus wrote:

>
> But the problem is the two disks already have files in them…

Okay, then you skip to “create mount point”.

> - my plan was to have OS on one disk and data on the others.
> So I need to find out to make mount points without making new partions
> instead of the original partitions… could that be possible…?

Sure - mount points are just placeholders in your filesystem. “mkdir
mountpoint” is all you need.

> “Edit /etc/fstab to make permanent.” could you explain that a bit…?

To have filesystems mounted on start-up, you add them to /etc/fstab -
this is read at start-up, and the filesystems are mounted as you have
instructed. You might be better off just using YaST to facilitate
this.


Per Jessen, Zürich (17.2°C)
http://en.opensuse.org/User:pjessen

Hi again

But that is more or less what I try; I use the GUI, I open Yast, select partitioner, then I using the mouse right click and chose edit.

Then I chose it shouldn’t format it, and I also mark mount.

It asks for an mount point, I write /E

in Fstab options it says mount in /etc/Fstab by

and I mark ID

Then I say ok, finish…

And nothing changes…?

With what you just said, you want the mount point to be E and hosted off of the root (/) so did you open terminal and goto / and mkdir E? and set permissions?

A note: it is customary to make mounts for additional drives under /mnt or /media or /windows or /local and make a link in your user home pointing to the
drive such that it is accessible to you during normal operation of the system.

Mallus wrote:

>
> Hi again
>
> But that is more or less what I try; I use the GUI, I open Yast,
> select partitioner, then I using the mouse right click and chose edit…
>
> Then I chose it shouldn’t format it, and I also mark mount.
>
> It asks for an mount point, I write /E
>
> in Fstab options it says mount in /etc/Fstab by
>
> and I mark ID
>
> Then I say ok, finish…
>
>
> And nothing changes…?

I’m not sure if YaST creates mount points for you - if not, you’ll have
to do that yourself: mkdir /E


Per Jessen, Zürich (21.1°C)
http://en.opensuse.org/User:pjessen

Mm that is a good point, - actually I just wrote E as the name of the drive, and I can follow you that in that way it would be mounted on root.
That was not my intention. (and i just checked, yes you are right it is under Root in the file system, - it just can’t open and show its files.)

So what would Suse have done if the two disks (E&F) had been connected during installation, would they then be mounted /mnt/E & /mnt/F or…?

Actually I just them mounted so they work normally in the system, as if they had been there all along. (And I will never ever disconnect disks during OS installation!!) So I gues I ask, what would you suggest I write as mount point

Well what I did on my system to access the windose drives was:
Installer configured the windows c: d: e: f: by making a root folder /windows and automatically created win_c win_d win_e win_f
( manually you would open a terminal and mkdir /windows/win_c for example then in YAST tell it to mount the drive to /windows/win_c)
create a link in your home folder by (in terminal) type ln E /windows/win_c if i’m not mistaken
I forgot how to change permissions so drive becomes always accessible I think it was as root chown <user> /windows/win_c

Hi Per and Techwiz3

Hmm it really seems to be complicated, but it must be solvable somehow. First of all I think it can be done from the GUI using Yast, it looks like it. I think it is just me who put the wrong lines for mount point.
And I see your way must be working, Techwiz3, but it a bit complicated, and there must be a simpler way, after all adding a harddisk is normally done once in a while.

Now I got an idea; to burn a live KDE cd, let that run as live cd, and note the mountpoints, because i think that will mount the drives (but only in the ramdisk of course) … that might help me…?

Mallus wrote:

> So what would Suse have done if the two disks (E&F) had been connected
> during installation, would they then be mounted /mnt/E & /mnt/F
> or…?

If the filesystems are recognised, the installer will try to come up
with some suggestions for mount points.


Per Jessen, Zürich (22.8°C)
http://en.opensuse.org/User:pjessen

Doing from DVD installer way, when you get to partitioning you would make sure to select the windows drives -> Edit -> set mount point as /windows/win_c make sure format is unchecked and leave the rest alone for that drive then click next to return to the summary screen do other drives same way

So I have tried the live cd, - but it didn’t mount them. So I instead thought about the C disk, there is a windows mount point. I opened dolphin and so how it was mounted, and copied that for E & F drive.

That seems to work, and I can, as you suggested Techwiz3, open it in /Windows/

Now I should like to send a screenprint to you of Yast partitioner.

Because I also have, on my first drive, 1.26 TB which seems to have gone missing. Its not a windows partition, its not formatted with ext either. It is listed as an extended partition, and Yast won’t edit it for the same reason.

Secondly; now I have mounted E & F, both large partitions, 1.3 TB in NTFS

It looks like this:

Device Size F enc Type FS type label mountpoint

/dev/sda 1.36 TB samsung-hd154ui
/dev/sda 1 49.86 GB HPFS/NTFS NTFS /windows/C
/dev/sda 2 1.26 TB Extended
/dev/sda 3 18.58 GB Linux native ext4 /
/dev/sda 4 35.64 GB Linux native ext4 /home
/dev/sda 5 1.25 TB linux native ext4
/dev/sda 6 2.01 GB linux swap swap swap
/dev/sdb 1.36 TB samsung-hd154ui
/dev/sdb1 1.36 TB SFS NTFS Nyenhed /windows/F
/dev/sdc 1.36 TB samsung-hd154ui
/dev/sdc 1.36 TB SFS NTFS Nyenhed /windows/E

Now as I can see, the missing 1.26 TB, /dev/sda 2 is more or less the same as /dev/sda 5, meaning I could mount sda5. But where would it be logical for Suse…?

Could I format part of sdb and sdc in ext4? ( E and F)

sda2 is a container for sda5 and sda6 thusly you can’t mount it. All it does is allocate a huge space for adding more logical drives so you can have more than 4 partitions on a physical disk. Yes you can mount sda5 to anywhere you like in your Linux tree, /local or /mnt are normal choices.

Well still puzzled, and learning a lot I seem to solved my initial problem with your help and comments which pushed me the right way. So thanks to the two of you.

I might have some clarifying questions later when i have diggested it a bit, - partly i think i mix up in my mind the physical docking and sort of a more adress naming, because i would really like to use it in making partitions, and rearranging them. So I will return later, and hope to be enligthened further. .:slight_smile: