[opensuse] Automount ext4 from 11.1 install?
Oddball schreef:
# modprobe -v ext4dev
# mount /dev/sd** /mnt (*Name*number)
These two have to be used on every boot if one wants to take a look at an ext4 partition, from my 11.1 install. Only root can mount such a partition, and using only the second command does not work over here. Also, i have to (re)start the filemanager to get it visual, but when mounted my user kan use the partition, and all filemanagers can be used. Not a big deal, but: Does anyone know a simple way to get this automated?
-- Enjoy your time around, Oddball, aka M9. OS: Linux 2.6.27.19-3.2-default x86_64 Huidige gebruiker: oddball@AMD64x2-sfn1 Systeem: openSUSE 11.1 (x86_64) KDE: 4.2.1 (KDE 4.2.1) "release 103" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 13/04/10 15:57, Oddball wrote:
Oddball schreef:
# modprobe -v ext4dev
# mount /dev/sd** /mnt (*Name*number)
These two have to be used on every boot if one wants to take a look at an ext4 partition, from my 11.1 install. Only root can mount such a partition, and using only the second command does not work over here. Also, i have to (re)start the filemanager to get it visual, but when mounted my user kan use the partition, and all filemanagers can be used. Not a big deal, but: Does anyone know a simple way to get this automated?
Try adding "ext4dev" to /etc/sysconfig/kernel in MODULES_LOADED_ON_BOOT. You can do this using Yast's sysconfig editor. Then you should be able to automount using /etc/fstab on bootup. Regards, Tejas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Tejas Guruswamy schreef:
On 13/04/10 15:57, Oddball wrote:
Oddball schreef:
# modprobe -v ext4dev
# mount /dev/sd** /mnt (*Name*number)
These two have to be used on every boot if one wants to take a look at an ext4 partition, from my 11.1 install. Only root can mount such a partition, and using only the second command does not work over here. Also, i have to (re)start the filemanager to get it visual, but when mounted my user kan use the partition, and all filemanagers can be used. Not a big deal, but: Does anyone know a simple way to get this automated?
Try adding "ext4dev" to /etc/sysconfig/kernel in MODULES_LOADED_ON_BOOT. You can do this using Yast's sysconfig editor.
Then you should be able to automount using /etc/fstab on bootup.
Regards, Tejas
Now the modules for ext4 get loaded on startup, thnx 4 that. Stil i have to fire-up a konsole, get root, and mount the partition, just one click less from my arrow menu, but it is a start. How to change permission to mount from root to user? -- Enjoy your time around, Oddball, aka M9. OS: Linux 2.6.27.19-3.2-default x86_64 Huidige gebruiker: oddball@AMD64x2-sfn1 Systeem: openSUSE 11.1 (x86_64) KDE: 4.2.1 (KDE 4.2.1) "release 103" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Oddball schreef:
Tejas Guruswamy schreef:
Then you should be able to automount using /etc/fstab on bootup.
Regards, Tejas
I overlooked that sentence above.. :-/ in fstab that partition was marked as ext3, from 11.2, and seemed not to have been changed automaticly when 11.3, with ext4 was installed there. Changing (ext)3 to (ext)4 did the trick. Thnx 4 thinking with me...
-- Enjoy your time around, Oddball, aka M9. OS: Linux 2.6.27.19-3.2-default x86_64 Huidige gebruiker: oddball@AMD64x2-sfn1 Systeem: openSUSE 11.1 (x86_64) KDE: 4.2.1 (KDE 4.2.1) "release 103" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 13 April 2010 10:50:27 Oddball wrote:
I overlooked that sentence above.. :-/ in fstab that partition was marked as ext3, from 11.2, and seemed not to have been changed automaticly when 11.3, with ext4 was installed there. Changing (ext)3 to (ext)4 did the trick.
Thnx 4 thinking with me...
I should scroll one post further before answering :) Anyway now you know one more way to load some driver on boot. -- Regards Rajko, -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 13 April 2010 09:57:11 Oddball wrote:
Oddball schreef:
# modprobe -v ext4dev
# mount /dev/sd** /mnt (*Name*number)
These two have to be used on every boot if one wants to take a look at an ext4 partition, from my 11.1 install. Only root can mount such a partition, and using only the second command does not work over here. Also, i have to (re)start the filemanager to get it visual, but when mounted my user kan use the partition, and all filemanagers can be used. Not a big deal, but: Does anyone know a simple way to get this automated?
Again me :) Easy way is to put in /etc/init.d/boot.local modprobe ext4dev this will load driver on each boot. Then make directory sda11 in /mnt so that you can mount other stuff in /mnt not only one partition: mkdir /mnt/sda11 Then add line in /etc/fstab /dev/sda11 /mnt/sda11 etx4 noauto,defaults 0 0 That way it will not complain if driver fails, and with noauto it will not attempt to mount partition on boot. Adding line in fstab will make possible to mount partition with: mount /dev/sda11 or mount /mnt/sda11 The only benefit is that you don't have to type whole line: mount /dev/sda11 /mnt/sda11 every time you want to mount partition. There are other ways to load driver on boot, like to change file /etc/sysconfig/kernel . Find: MODULES_LOADED_ON_BOOT="" and add ext4dev to the list. Above is from 11.2 and variable is empty, so with ext4dev it will look like: MODULES_LOADED_ON_BOOT="ext4dev" The /etc/fstab will be the same as already mentioned. -- Regards Rajko, -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Oddball
-
Rajko M.
-
Tejas Guruswamy