User:Antocm/usb-disk
From openSUSE
Mounting a USB hard disk in a fixed mount point using openSUSE 11.0
I installed openSUSE 11.0 (as most wise people did) and noticed, that perhaps the way to mount my external USB hard disk always in the same place, was not so user friendly as i wanted.
I tried to use the partioner in YaST, but then the computer throw me a console in runlevel 1 (didn't boot properly), because the external hard disk was not plugged at that time. I had to change the line from /etc/fstab, but then i thought about writing here how to do it the right way.
For the console fans, we just have to insert the new parameter 'nofail', in order for the computer to proceed, even if at the time of reading fstab, the device is not available.
| /dev/disk/by-id/usb-Ext_Hard_Disk_S07I2501A00000164680-0:0-part2 /media /personal-disk ext3 acl,nofail 1 2 |
|---|
However, we can do it all graphically, with the help of YaST...
Please make sure you are carefull about what you touch in the Partitioner, as all options are sensitive here, and can ultimately render an useless operating system. Start invoquing YaST, then select 'System' and 'Partitioner'.
Select the partition you want to always mount in the same place. In this case, i have chosen /dev/sdb2.
When editing the partition, choose a 'Mount point' for it. Then, select 'Fstab Options'
Here, you just have to make sure that under 'Arbitrary option value' you place the value 'nofail'.
Press OK twice, and then 'Finish'.
The device will be mounted in the same mount point (directory) every time you plug it, or boot your computer, with the device connected. That's all.
--antocm 18:54, 20 June 2008 (UTC)




