Choose style:

Author Topic: Auto-mount W7 Partition [SOLVED]  (Read 1280 times)

0 Members and 1 Guest are viewing this topic.

Offline Toshmarple

  • Jr. Member
  • **
  • Posts: 53
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): P 6-32 Netbook and P6-64 Laptop
Auto-mount W7 Partition [SOLVED]
« on: September 15, 2015, 06:39:19 am »
I have just installed P6 alongside W7 (after freeing up some space and creating a new extended partition) on Dell Inspiron N5110.  Installation went perfectly but  W7 partition does not auto-mount on start-up.  Any suggestions much appreciated.

 BFN Toshmarple
« Last Edit: September 15, 2015, 01:49:23 pm by Toshmarple »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25082
  • Karma: 2774
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Power Manager & Auto-mount
« Reply #1 on: September 15, 2015, 07:16:11 am »
Toshmarple, and welcome to the forum :)

What do you mean by

Quote
Power Manager is not working correctly

You'll need to be a little more descriptive than that ;)



Can you please open a terminal (Ctrl+Alt+T) and pust the output from running these 2 commands:
Code: [Select]
sudo fdisk -l
and
Code: [Select]
sudo blkid
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Toshmarple

  • Jr. Member
  • **
  • Posts: 53
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): P 6-32 Netbook and P6-64 Laptop
Auto-mount W7 Partition [SOLVED]
« Reply #2 on: September 15, 2015, 09:07:21 am »
Thanks so much for your quick reply.  Did not want to bore you with lots of words until I had tested the water!  Here are results requested:

carlos@carlos-Inspiron-N5110 ~ $ sudo fdisk -l

Disk /dev/sda: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders, total 1250263728 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x76ee1ff9

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048      206847      102400   de  Dell Utility
/dev/sda2   *      206848    30926847    15360000    7  HPFS/NTFS/exFAT
/dev/sda3        30926848  1045463039   507268096    7  HPFS/NTFS/exFAT
/dev/sda4      1045465086  1147863039    51198977    5  Extended
/dev/sda5      1045465088  1065945556    10240234+  83  Linux
/dev/sda6      1065947136  1147795455    40924160   83  Linux
/dev/sda7      1147797504  1147863039       32768   82  Linux swap / Solaris

Disk /dev/sdb: 7822 MB, 7822376960 bytes
5 heads, 13 sectors/track, 235047 cylinders, total 15278080 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            8192    15278079     7634944    b  W95 FAT32

carlos@carlos-Inspiron-N5110 ~ $ sudo blkid

/dev/sda1: SEC_TYPE="msdos" LABEL="DELLUTILITY" UUID="3030-3030" TYPE="vfat"
/dev/sda2: LABEL="Recovery" UUID="CC70378A703779F2" TYPE="ntfs"
/dev/sda3: LABEL="OS" UUID="AC7C4EC27C4E86D4" TYPE="ntfs"
/dev/sda5: UUID="d5e8877a-3d46-4d37-a280-a7ca4fe93266" TYPE="ext4"
/dev/sda6: UUID="f1a6d731-78ed-4a29-8911-f20e32ed7df1" TYPE="ext4"
/dev/sda7: UUID="859fccf3-54d8-4db4-b114-e0d25054e331" TYPE="swap"
/dev/sdb1: UUID="6702-4629" TYPE="vfat"
carlos@carlos-Inspiron-N5110 ~ $

Hope above helps but this is what I did not say in posting: Closing laptop lid results in sleep but on waking no password requested.  Everything else either locks up or does nothing.
« Last Edit: September 15, 2015, 01:53:11 pm by Toshmarple »

Offline Toshmarple

  • Jr. Member
  • **
  • Posts: 53
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): P 6-32 Netbook and P6-64 Laptop
Auto-mount W7 Partition [SOLVED]
« Reply #3 on: September 15, 2015, 09:23:22 am »
I forgot to say thanks to you guys for your welcome and add that I have been using Lubuntu, with great success, on my now aged Acer One for many years but stuck to W7 on my laptop until last week when I decided to upgrade to W10 only to find that Dell are not supporting an upgrade on this laptop!  That was the last straw so I researched multiple linux versions before falling in love with P6 and installing it first on my Acer One to check it out, then on a memory stick to try it on my Dell and finally alongside W7.  Love the speed, simplicity and boot-up but would like to solve aforementioned problems.  For the record I'm reasonably tech savi but not an expert.

Toshmarple (Carlos)
« Last Edit: September 15, 2015, 01:53:53 pm by Toshmarple »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25082
  • Karma: 2774
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Power Manager & Auto-mount
« Reply #4 on: September 15, 2015, 09:27:50 am »
You're showing 2 NTFS partitions .. do you know which is Windows, or do you want them both mounted at bootup ?

[EDIT]

IGNORE THAT .. one of them is the recovery partition .. I'll post instructions to mount /dev/sda3 at bootup in a bit
« Last Edit: September 15, 2015, 09:29:34 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Toshmarple

  • Jr. Member
  • **
  • Posts: 53
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): P 6-32 Netbook and P6-64 Laptop
Auto-mount W7 Partition [SOLVED]
« Reply #5 on: September 15, 2015, 09:36:32 am »
Thanks PCNetSpec, look forward to instructions.
« Last Edit: September 15, 2015, 01:54:23 pm by Toshmarple »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25082
  • Karma: 2774
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Power Manager & Auto-mount
« Reply #6 on: September 15, 2015, 09:49:20 am »
OK, first make sure you have ntfs-3g installed
Code: [Select]
sudo apt-get install ntfs-3g
then create the mount point:
Code: [Select]
sudo mkdir /media/Windows
now backup fstab:
Code: [Select]
sudo cp -v /etc/fstab /etc/fstab.bak
open fstab for editing:
Code: [Select]
sudo gedit /etc/fstab
and add these 2 NEW lines at the bottom
Code: [Select]
# Mount Windows Partition (manually added by Toshmarple)
UUID=AC7C4EC27C4E86D4  /media/Windows  ntfs-3g  defaults,windows_names,locale=en_GB.utf8  0 0
SAVE the file and exit gedit.

back in the terminal run:
Code: [Select]
sudo mount -a
if there were no errors you're done .. test with a reboot

if it says it's already mounted, go to the nemo file manager, and unmount it by clicking the little arrow next to the Windows partition in the left hand column, then try
Code: [Select]
sudo mount -a
again, if no errors you're done .. test with a reboot.

any other error, post it here.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Toshmarple

  • Jr. Member
  • **
  • Posts: 53
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): P 6-32 Netbook and P6-64 Laptop
Auto-mount W7 Partition [SOLVED]
« Reply #7 on: September 15, 2015, 10:52:39 am »
Your solution works perfectly PCNetSpec so thanks a million.  So, one down, one to go, and being cheeky, one more!  How do I engage numlock automatically on booting?

BFN Toshmarple
« Last Edit: September 15, 2015, 01:54:44 pm by Toshmarple »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25082
  • Karma: 2774
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Power Manager & Auto-mount
« Reply #8 on: September 15, 2015, 01:23:36 pm »
We don't do multiple questions in a single topic on this forum .. it makes them difficult to mark as solved if one issue is solved and the others aren't

So one question per topic please, and with a descriptive title, so it makes sense to future searchers looking for a known (SOLVED) issue/solution.

This forum isn't so much a personal helpline as much as a searchable repository of information for everyone ;)

TIA :)

[EDIT]

In fact I'd prefer it if you removed the "Power Manager &" from title of the FIRST posting in this topic .. and mark this (SOLVED) before creating your other topics please.
« Last Edit: September 15, 2015, 01:25:27 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Toshmarple

  • Jr. Member
  • **
  • Posts: 53
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): P 6-32 Netbook and P6-64 Laptop
Re: Auto-mount W7 Partition [SOLVED]
« Reply #9 on: September 15, 2015, 02:01:37 pm »
So sorry I broke the rules, it was quite unintentional and due to ignorance.  Have done as requested and removed all reference to 'Power Manager' in my posts.  Hope that's ok with you.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25082
  • Karma: 2774
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Auto-mount W7 Partition [SOLVED]
« Reply #10 on: September 15, 2015, 02:06:20 pm »
Perfect my friend, and thanks :)

I'll get to your other topics in a sec .. just cooking dinner.

[EDIT]

Oh, you haven't posted the other topics yet  ???
« Last Edit: September 15, 2015, 02:29:17 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec