You are not logged in.

#1 2009-01-02 16:07:09

Spychacz
Member
Registered: 2008-12-31
Posts: 16

[sloved] auto-mount another partitions

Hello

As a user I wanna automatic mount another partitions when Arch started
As a root I write in terminal

$ mount -t -ext3 /dev/sda1 /mnt/dysk1

and works ok but after rebooting not how to do that?

Last edited by Spychacz (2009-01-02 18:26:26)

Offline

#2 2009-01-02 16:16:40

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: [sloved] auto-mount another partitions

You could add an entry to fstab [in /etc]

http://wiki.archlinux.org/index.php/Fstab


Mr Green

Offline

#3 2009-01-02 17:07:36

Spychacz
Member
Registered: 2008-12-31
Posts: 16

Re: [sloved] auto-mount another partitions

my fstab (I added last line and reboot still nothing roll)

# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0


/dev/cdrom /media/cdrom   auto    ro,user,noauto,unhide   0      0
/dev/dvd /media/dvd   auto    ro,user,noauto,unhide   0      0
UUID=86ad406f-9b0a-47c5-8edd-fc1da495e305 swap swap defaults 0 0
UUID=f2a3eb45-3fb0-4906-a77b-cd485fb19eab / ext3 defaults 0 1

/dev/sda1             /mnt/dysk1      ext3     ro,user,noauto,unhide   0      0

Offline

#4 2009-01-02 17:17:24

sisco311
Member
From: Romania
Registered: 2008-05-23
Posts: 112

Re: [sloved] auto-mount another partitions

use the uuid; create the mount point and; use the defaults option.

blkid
mkdir /mnt/dysk1
man mount

don't drink unwashed fruit juice.
i never make predictions, especially about the future.

Offline

#5 2009-01-02 18:21:19

Spychacz
Member
Registered: 2008-12-31
Posts: 16

Re: [sloved] auto-mount another partitions

ok added by UUID working good!
Thank you!

Last edited by Spychacz (2009-01-02 18:26:09)

Offline

Board footer

Powered by FluxBB