SV650.org - SV650 & Gladius 650 Forum

SV650.org - SV650 & Gladius 650 Forum (http://forums.sv650.org/index.php)
-   Idle Banter (http://forums.sv650.org/forumdisplay.php?f=116)
-   -   Ubuntu Automount Help (http://forums.sv650.org/showthread.php?t=85845)

600+ 19-03-07 12:18 PM

Ubuntu Automount Help
 
Hola fellow geeks:)

Have been trying to get UBUNTU to automount my windows partitions on startup but can only manage to get 1 of them mounted.

sda6 is the one not mounting with all the mp3s on:(
sda5 has the movies and it's fine

Here is an output from my fstab and fdisk.

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sdb1
UUID=a9dd8485-015c-4dde-902e-39948fd256b6 / ext3 defaults,errors=remount-ro 0 1
# /dev/sdb5
UUID=bfae33e5-10b9-454f-8bc7-7822f0458285 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdd /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/ /media/floppy0 auto rw,user,noauto 0 0
/dev/sda2 /media/windowstoo vfat defaults 0 0
/dev/sda5 /media/Saves ntfs nls=utf8,umask=0222 0 0
/dev/sda6 /media/morewindows vfat defaults 0 0


And fdisk
Disk /dev/sda: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 5099 40957686 7 HPFS/NTFS
/dev/sda2 5100 19929 119121975 f W95 Ext'd (LBA)
/dev/sda5 5100 15935 87040138+ 7 HPFS/NTFS
/dev/sda6 15936 19929 32081773+ b W95 FAT32

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 30024 241167748+ 83 Linux
/dev/sdb2 30025 30401 3028252+ 5 Extended
/dev/sdb5 30025 30401 3028221 82 Linux swap / Solaris

Disk /dev/sdc: 6495 MB, 6495068160 bytes
240 heads, 63 sectors/track, 839 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 839 6342808+ b W95 FAT32

Disk /dev/sdd: 20.0 GB, 20003880960 bytes
255 heads, 63 sectors/track, 2432 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdd1 * 1 2432 19535008+ c W95 FAT32 (LBA)

600+ 19-03-07 01:15 PM

Re: Ubuntu Automount Help
 
are you all hiding?

JimmyGulp 19-03-07 01:20 PM

Re: Ubuntu Automount Help
 
Daft question, but does /media/morewindows exist? :)

Baph 19-03-07 01:25 PM

Re: Ubuntu Automount Help
 
errors?

`mount \media\morewindows` says???

EDIT: sda2 should never be mounted, it's an extended partition & you will never get it to mount anyhow.

keithd 19-03-07 01:26 PM

Re: Ubuntu Automount Help
 
i thought Ubuntu was a ride at Busch Gardens...

weazelz 19-03-07 01:28 PM

Re: Ubuntu Automount Help
 
what does it say in your log files?

600+ 19-03-07 01:42 PM

Re: Ubuntu Automount Help
 
Quote:

Originally Posted by weazelz (Post 1141370)
what does it say in your log files?

erm no idea - pretty new in Linux so u'd have to guide me to get u that info

Quote:

Originally Posted by Baph (Post 1141366)
errors?

`mount \media\morewindows` says???

EDIT: sda2 should never be mounted, it's an extended partition & you will never get it to mount anyhow.

OK if you delete sda2 from fstab it doesn't mount anything

Quote:

Originally Posted by JimmyGulp (Post 1141362)
Daft question, but does /media/morewindows exist? :)

folders do not exist in /media but my understanding is that they will appear if drive is mounted

Baph 19-03-07 01:54 PM

Re: Ubuntu Automount Help
 
Quote:

Originally Posted by 600+ (Post 1141390)
OK if you delete sda2 from fstab it doesn't mount anything

True enough. But if you're expecting a /media/windowstoo to appear, it wont have anything in it.

Quote:

Originally Posted by 600+ (Post 1141390)
folders do not exist in /media but my understanding is that they will appear if drive is mounted

Nope. The mountpoints need to exist first. You can't mount & the mountpoints not be there. Create some folders which for now, have permissions 777, with the same names you've given your devices.

`mkdir /mount/morewindows; chmod 777 /mount/morewindows`

Tighten security later.

weazelz 19-03-07 01:54 PM

Re: Ubuntu Automount Help
 
Quote:

Originally Posted by 600+ (Post 1141390)
erm no idea - pretty new in Linux so u'd have to guide me to get u that info

have a look (as root) in /var/log/messages, you should see your correctly mounted drives mounting & then the failing one failing. you should get some kind of error message to investigate

600+ 19-03-07 02:00 PM

Re: Ubuntu Automount Help
 
Quote:

Originally Posted by weazelz (Post 1141405)
have a look (as root) in /var/log/messages, you should see your correctly mounted drives mounting & then the failing one failing. you should get some kind of error message to investigate

too much info in there:) not sure what i'm looking for


All times are GMT. The time now is 11:54 AM.

Powered by vBulletin® - Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.