Log in

View Full Version : Ubuntu Automount Help


600+
19-03-07, 12:18 PM
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
are you all hiding?

JimmyGulp
19-03-07, 01:20 PM
Daft question, but does /media/morewindows exist? :)

Baph
19-03-07, 01:25 PM
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
i thought Ubuntu was a ride at Busch Gardens...

weazelz
19-03-07, 01:28 PM
what does it say in your log files?

600+
19-03-07, 01:42 PM
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

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

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
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.


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
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
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

Baph
19-03-07, 02:02 PM
too much info in there:) not sure what i'm looking for
In a terminal, do this as root:
cat /var/log/messages | grep -A 10 -B 10 sda6

Then post the output.

Moffatt666
19-03-07, 02:03 PM
Brave man, beginner to Linux and decides to use Ubuntu.

OT:
I use a fair few forums and this one has the biggest 'geek' community out of them all!

600+
19-03-07, 02:11 PM
SORTED:D

Problem was that folders were not created under /media

My misunderstanding as to how the fleepin thing works:)

@Moffatt666 as a beginner I find Ubuntu very easy and very close to windows. I managed to get it all setup first time but then my HDD died hence why I had to do it again:)

But since I got Ubuntu I haven't logged back into windows:D

600+
19-03-07, 02:12 PM
Baph many thanks for pointing out the folder issue;)

I'll know for next time now

Baph
19-03-07, 02:14 PM
Baph many thanks for pointing out the folder issue;)

I'll know for next time now
Always a chore & never a pleasure! (Or something like that ;) )

No worries fella, everyone has to start somewhere. Something to do with mountains & steps. ;)