SV650.org - SV650 & Gladius 650 Forum



Idle Banter For non SV and non bike related chat (and the odd bit of humour - but if any post isn't suitable it'll get deleted real quick).
There's also a "U" rating so please respect this. Newbies can also say "hello" here too.

Reply
 
Thread Tools
Old 19-03-07, 12:18 PM   #1
600+
Guest
 
Posts: n/a
Default 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)
  Reply With Quote
Old 19-03-07, 01:15 PM   #2
600+
Guest
 
Posts: n/a
Default Re: Ubuntu Automount Help

are you all hiding?
  Reply With Quote
Old 19-03-07, 01:20 PM   #3
JimmyGulp
Member
 
JimmyGulp's Avatar
 
Join Date: Oct 2006
Location: Bradford, UK
Posts: 98
Default Re: Ubuntu Automount Help

Daft question, but does /media/morewindows exist?
JimmyGulp is offline   Reply With Quote
Old 19-03-07, 01:25 PM   #4
Baph
Guest
 
Posts: n/a
Default 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.

Last edited by Baph; 19-03-07 at 01:29 PM.
  Reply With Quote
Old 19-03-07, 01:26 PM   #5
keithd
Guest
 
Posts: n/a
Default Re: Ubuntu Automount Help

i thought Ubuntu was a ride at Busch Gardens...
  Reply With Quote
Old 19-03-07, 01:28 PM   #6
weazelz
Guest
 
Posts: n/a
Default Re: Ubuntu Automount Help

what does it say in your log files?
  Reply With Quote
Old 19-03-07, 01:42 PM   #7
600+
Guest
 
Posts: n/a
Default Re: Ubuntu Automount Help

Quote:
Originally Posted by weazelz View Post
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 View Post
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 View Post
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
  Reply With Quote
Old 19-03-07, 01:54 PM   #8
Baph
Guest
 
Posts: n/a
Default Re: Ubuntu Automount Help

Quote:
Originally Posted by 600+ View Post
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+ View Post
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.
  Reply With Quote
Old 19-03-07, 01:54 PM   #9
weazelz
Guest
 
Posts: n/a
Default Re: Ubuntu Automount Help

Quote:
Originally Posted by 600+ View Post
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
  Reply With Quote
Old 19-03-07, 02:00 PM   #10
600+
Guest
 
Posts: n/a
Default Re: Ubuntu Automount Help

Quote:
Originally Posted by weazelz View Post
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
  Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Q: Upgrading to Ubuntu 8.04 thor Idle Banter 3 29-04-08 08:11 AM
Ubuntu Jelster Idle Banter 10 03-08-07 06:20 PM
Going Wireless NOW FREE! & Ubuntu Stu Idle Banter 12 11-02-07 12:40 PM
Ubuntu Marshall Idle Banter 42 23-10-06 08:19 PM
Ubuntu mysteryjimbo Idle Banter 9 21-03-06 03:43 PM


All times are GMT. The time now is 08:39 PM.


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