Are you a spammer

Please note, that the first 3 posts you make, will need to be approved by a forum Administrator or Moderator before they are publicly viewable.
Each application to join this forum is checked at the Stop Forum Spam website. If the email or IP address appears there when checked, you will not be allowed to join this forum.
If you get past this check and post spam on this forum, your posts will be immediately deleted and your account inactivated.You will then be banned and your IP will be submitted to your ISP, notifying them of your spamming. So your spam links will only be seen for an hour or two at most. In other words, don't waste your time and ours.

This forum is for the use and enjoyment of the members and visitors looking to learn about and share information regarding the topics listed. It is not a free-for-all advertising venue. Your time would be better spent pursuing legitimate avenues of promoting your websites.

automount fat32 on boot

Help & support for Ultimate Edition 1.8


automount fat32 on boot

Postby alexm0428 » Sat May 24, 2008 6:14 pm

hi

I'm sorry if there was a thread asking the same already, but i didn't find any.

The deal is that on Ultimate Edition 1.6 the fat32 partitions were automatically mounted when the system booted up on any user, but now on Ultimate Edition 1.8 they don´t.

I still learning about where the things are on linux, that's why i don't know how to do it.

Thanks for any help
User avatar
alexm0428
U.E. Newbie
U.E. Newbie
 
Posts: 19
Joined: Fri Nov 09, 2007 12:57 pm



Re: automount fat32 on boot

Postby vinca » Sat May 24, 2008 7:05 pm

alexm0428 wrote:hi

I'm sorry if there was a thread asking the same already, but i didn't find any.

The deal is that on Ultimate Edition 1.6 the fat32 partitions were automatically mounted when the system booted up on any user, but now on Ultimate Edition 1.8 they don´t.

I still learning about where the things are on linux, that's why i don't know how to do it.

Thanks for any help

best way is to add a command for sudo mount -a to the command line and edit fstab as needed. that's what i've had to do. if you need more help or clarification post back
Vinca... aka BIG V

Image
http://www.scienceprousa.com
Specs:
4gb ddr2 667 ram
Intel Core2Duo E6300 oced to 2.2 ghz
Radeon x1600
Arctic cooling freezer 7 pro
2x 250 gb western digital hard drives soon to be in raid
all on ULTIMATE EDITION!!!!

~Energy and persistence conquer all things~ -Ben Franklin
User avatar
vinca
U.E. Master
U.E. Master
 
Posts: 747
Joined: Mon Feb 18, 2008 2:36 pm
Age: 29
Operating System: Ultimate Edition 3.2 64 BIT



Re: automount fat32 on boot

Postby alexm0428 » Sat May 24, 2008 7:21 pm

vinca wrote:if you need more help or clarification post back


Yes please. I know how to edit system files, but don't know what files, where they are and what i have to add.

Please help me with all the details, as posible

thanks
User avatar
alexm0428
U.E. Newbie
U.E. Newbie
 
Posts: 19
Joined: Fri Nov 09, 2007 12:57 pm



Re: automount fat32 on boot

Postby vinca » Sat May 24, 2008 8:19 pm

alexm0428 wrote:
vinca wrote:if you need more help or clarification post back


Yes please. I know how to edit system files, but don't know what files, where they are and what i have to add.

Please help me with all the details, as posible

thanks

ok i can't do this in one breath but here goes:

fstab is /etc/fstab. sudo mount -a mounts all entries in /etc/fstab and /etc/mtab. we'll use fstab.

let's say your fat32 volume is /dev/sdc1. you can find out what it really is by typing
Code: Select all
sudo fdisk -l

therefore, into fstab we need to put the volume, its mount point, and some options respectively. so here goes:

Code: Select all
sudo fdisk -l

figure out which drive and partition is the one you want.

now we make the directory (mkdir) of the mount point.
Code: Select all
sudo mkdir '/media/whatever you want your mount point to be'
needs quotations if it has spaces, same applies in fstab.

Code: Select all
sudo gedit /etc/fstab

edits fstab

go to the bottom, type (still assuming it is /dev/sdc1, you may need to modify to what it said in sudo fdisk -l)
Code: Select all
/dev/sdc1 '/media/whatever you wanted your mount point to be' vfat defaults,force 0 0

the defaults sets the defaults, the force 0 0 tells it to force the mount, usually not needed, but a good precaution.

now go to system>preferences>sessions, make a new one, call it what you want and describe it how you want but the command is
Code: Select all
sudo mount -a
.

hope this helps, post back if i spelled something wrong or it doesn't work ;)
Vinca... aka BIG V

Image
http://www.scienceprousa.com
Specs:
4gb ddr2 667 ram
Intel Core2Duo E6300 oced to 2.2 ghz
Radeon x1600
Arctic cooling freezer 7 pro
2x 250 gb western digital hard drives soon to be in raid
all on ULTIMATE EDITION!!!!

~Energy and persistence conquer all things~ -Ben Franklin
User avatar
vinca
U.E. Master
U.E. Master
 
Posts: 747
Joined: Mon Feb 18, 2008 2:36 pm
Age: 29
Operating System: Ultimate Edition 3.2 64 BIT



Re: automount fat32 on boot

Postby alexm0428 » Sat May 24, 2008 10:45 pm

Hi.

Well, it didn't work.

here is my fdisk -l result (sorry for the spanish)
Code: Select all
Disco /dev/sda: 80.0 GB, 80026361856 bytes
17 cabezas, 16 sectores/pista, 574637 cilindros
Unidades = cilindros de 272 * 512 = 139264 bytes
Identificador de disco: 0x114b114a

Disposit. Inicio    Comienzo      Fin      Bloques  Id  Sistema
/dev/sda1   *           1      154210    20972552    c  W95 FAT32 (LBA)
/dev/sda2          154211      154963      102408   83  Linux
/dev/sda3          154964      162674     1048696   82  Linux swap / Solaris
/dev/sda4          162675      574630    56026016    f  W95 Ext'd (LBA)
/dev/sda5          162675      278326    15728664   83  Linux
/dev/sda6          278327      316877     5242928   83  Linux
/dev/sda7          316878      497528    24568528    b  W95 FAT32
/dev/sda8          497529      574630    10485864    b  W95 FAT32

Disco /dev/sdb: 81.9 GB, 81964302336 bytes
255 cabezas, 63 sectores/pista, 9964 cilindros
Unidades = cilindros de 16065 * 512 = 8225280 bytes
Identificador de disco: 0x13ae34d1

Disposit. Inicio    Comienzo      Fin      Bloques  Id  Sistema
/dev/sdb1   *           2        9963    80019765    f  W95 Ext'd (LBA)
/dev/sdb5               2        4223    33913183+   b  W95 FAT32
/dev/sdb6            4224        9963    46106518+   b  W95 FAT32


the ones I care about are:
sda7 - AVIVAMIENTO
sda8 - DOCUMENTOS
sdb5 - SOFTWARE
sdb6 - VARIOS2

I created the folders on /media:
Code: Select all
alexander@avivados:~$ ls /media/
AVIVAMIENTO  cdrom  cdrom0  cdrom1  DOCUMENTOS  floppy  floppy0  SOFTWARE  VARIOS2


And added this on the fstab:
Code: Select all
/dev/sda7   /media/AVIVAMIENTO   vfat   defaults,force 0   0
/dev/sda8   /media/DOCUMENTOS   vfat   defaults,force 0   0
/dev/sdb5   /media/SOFTWARE   vfat   defaults,force 0   0
/dev/sdb6   /media/VARIOS2   vfat   defaults,force 0   0


Finally I added the sesion entry and reboot, but it didn't work

when I tryed to mount manually this was the result:
Code: Select all
alexander@avivados:~$ sudo mount -a
mount: wrong fs type, bad option, bad superblock on /dev/sda7,
       missing codepage or helper program, or other error
       En algunos casos se encuentra información en syslog, pruebe
   dmesg | tail   o algo parecido

mount: wrong fs type, bad option, bad superblock on /dev/sda8,
       missing codepage or helper program, or other error
       En algunos casos se encuentra información en syslog, pruebe
   dmesg | tail   o algo parecido

mount: wrong fs type, bad option, bad superblock on /dev/sdb5,
       missing codepage or helper program, or other error
       En algunos casos se encuentra información en syslog, pruebe
   dmesg | tail   o algo parecido

mount: wrong fs type, bad option, bad superblock on /dev/sdb6,
       missing codepage or helper program, or other error
       En algunos casos se encuentra información en syslog, pruebe
   dmesg | tail   o algo parecido


And when I typed dmesg | tail:
Code: Select all
alexander@avivados:~$ dmesg | tail
[ 1581.285811] FAT: Unrecognized mount option "force" or missing value
[ 1656.399457] FAT: Unrecognized mount option "force" or missing value
[ 1768.978738] FAT: Unrecognized mount option "force" or missing value
[ 1768.979138] FAT: Unrecognized mount option "force" or missing value
[ 1768.979286] FAT: Unrecognized mount option "force" or missing value
[ 1768.979438] FAT: Unrecognized mount option "force" or missing value
[ 2341.144965] FAT: Unrecognized mount option "force" or missing value
[ 2341.145569] FAT: Unrecognized mount option "force" or missing value
[ 2341.145727] FAT: Unrecognized mount option "force" or missing value
[ 2341.145864] FAT: Unrecognized mount option "force" or missing value


Thanks for your time
User avatar
alexm0428
U.E. Newbie
U.E. Newbie
 
Posts: 19
Joined: Fri Nov 09, 2007 12:57 pm



Re: automount fat32 on boot

Postby vinca » Sun May 25, 2008 11:35 am

they must not be fat32.

run
Code: Select all
sudo gparted

and look at the partitions for each drive to see what they really are. what you did was correct, and the errors in
Code: Select all
alexander@avivados:~$ sudo mount -a
mount: wrong fs type, bad option, bad superblock on /dev/sda7,
       missing codepage or helper program, or other error
       En algunos casos se encuentra información en syslog, pruebe
   dmesg | tail   o algo parecido

mount: wrong fs type, bad option, bad superblock on /dev/sda8,
       missing codepage or helper program, or other error
       En algunos casos se encuentra información en syslog, pruebe
   dmesg | tail   o algo parecido

mount: wrong fs type, bad option, bad superblock on /dev/sdb5,
       missing codepage or helper program, or other error
       En algunos casos se encuentra información en syslog, pruebe
   dmesg | tail   o algo parecido

mount: wrong fs type, bad option, bad superblock on /dev/sdb6,
       missing codepage or helper program, or other error
       En algunos casos se encuentra información en syslog, pruebe
   dmesg | tail   o algo parecido
seemed to indicate wrong fs type.

also, the problem may have been my instructions. the force variable may only be for ntfs. you might want to try, instead of the
Code: Select all
defaults,force
section tu put
Code: Select all
umask=0000
. please note that that umask thing is only for vfat though.
Vinca... aka BIG V

Image
http://www.scienceprousa.com
Specs:
4gb ddr2 667 ram
Intel Core2Duo E6300 oced to 2.2 ghz
Radeon x1600
Arctic cooling freezer 7 pro
2x 250 gb western digital hard drives soon to be in raid
all on ULTIMATE EDITION!!!!

~Energy and persistence conquer all things~ -Ben Franklin
User avatar
vinca
U.E. Master
U.E. Master
 
Posts: 747
Joined: Mon Feb 18, 2008 2:36 pm
Age: 29
Operating System: Ultimate Edition 3.2 64 BIT



Re: automount fat32 on boot

Postby alexm0428 » Sun May 25, 2008 9:55 pm

:D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D

Done!!!!!!!!!!

It was the umask=0000 change. The fs were fat32 and only change the options and the fstab on done

Thank you so much.
User avatar
alexm0428
U.E. Newbie
U.E. Newbie
 
Posts: 19
Joined: Fri Nov 09, 2007 12:57 pm



Re: automount fat32 on boot

Postby vinca » Mon May 26, 2008 3:13 pm

cool. glad it worked, always happy to see a happy ultimate user.
Vinca... aka BIG V

Image
http://www.scienceprousa.com
Specs:
4gb ddr2 667 ram
Intel Core2Duo E6300 oced to 2.2 ghz
Radeon x1600
Arctic cooling freezer 7 pro
2x 250 gb western digital hard drives soon to be in raid
all on ULTIMATE EDITION!!!!

~Energy and persistence conquer all things~ -Ben Franklin
User avatar
vinca
U.E. Master
U.E. Master
 
Posts: 747
Joined: Mon Feb 18, 2008 2:36 pm
Age: 29
Operating System: Ultimate Edition 3.2 64 BIT


Return to Ultimate Edition 1.8

Who is online

Users browsing this forum: No registered users and 2 guests