LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-26-2017, 11:44 AM   #16
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925

Quote:
Originally Posted by AAGaming View Post
This was a hard decision, where in an earlier post I said I won't doualboot, then had second thoughts, but in the end, since I won't have to do any important schoolwork for 3 months, I will choose to go fulltime linux. It all should be just to format (delete partitions) on the SSD and create root(/) instead.

You could also post the dualboot option for other members who would prefer it instead.
OK, single malt Linux it will be.

Just to be sure, you should probably check that all your personal data has been copied from your C: drive to your data D: drive. Have a look in your Windows Documents, Downloads, Music, Photos and Videos folders etc., and also think about exporting things like browser bookmarks.

Also, have you already downloaded, verified, and loaded the Mint 18.1 MATE installer on to a boot medium?

Secondly, could you download MiniTool Partition Wizard (https://www.partitionwizard.com/free...n-manager.html) and burn it to a boot medium.

Lastly, could you download GParted Live (http://gparted.org/livecd.php) and burn it to a boot medium. We probably won't need this, but it's good to have it anyway.

For all of these, use the "burn ISO" option in your CD/DVD burner application or use Rufus to install on to a USB stick (you'll need separate media for each item - creating a multiboot USB stick is another tutorial altogether).

By the way, this is just how I would do things. If anyone else wants to chime in with a better or more efficient way then please feel free!
 
Old 05-26-2017, 11:49 AM   #17
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
If your windows 10 was pre-installed, it is almost certainly UEFI. The link below explains dual booting windows 10 and Mint UEFI.

https://www.tecmint.com/install-linu...oot-uefi-mode/
 
Old 05-26-2017, 11:58 AM   #18
AAGaming
LQ Newbie
 
Registered: May 2017
Posts: 24

Original Poster
Rep: Reputation: Disabled
Can I just use the already available windows disk management tool for shrinking drive D: and create the new linux partitions when installing it? (I have only one USB stick with Mint 18.1 ready to go)
 
Old 05-26-2017, 12:08 PM   #19
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by AAGaming View Post
Can I just use the already available windows disk management tool for shrinking drive D: and create the new linux partitions when installing it? (I have only one USB stick with Mint 18.1 ready to go)
Yes. As long as you don't mind deleting the partitions on the SSD drive and creating a new 20GB root one on that drive during the Mint installation process.

What you should end up with:

SSD partition 1: 20GB / ext4 (you should also ask Mint to boot off this drive when the question is posed)
SSD partition 2: unpartitioned (you can decide what to do with this later on)

HDD partition 1: c.900GB NTFS
HDD partition 2: 20GB /home ext4
HDD partition 3: 9GB swap (I tend to add an extra GB just to give swap a little margin for error)

Does that fit in with what you're envisaging?

Also, have you booted off your Mint 18.1 stick just to check that you can do so? (you don't need to install anything, just run it in live mode).
 
1 members found this post helpful.
Old 05-26-2017, 12:14 PM   #20
AAGaming
LQ Newbie
 
Registered: May 2017
Posts: 24

Original Poster
Rep: Reputation: Disabled
hydrurga what you said should work out for me just fine.

Thank you all for taking your time to answer my questions, but now I see that everything has been answered, so I'm closing this thread.
 
Old 05-26-2017, 12:18 PM   #21
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by AAGaming View Post
hydrurga what you said should work out for me just fine.

Thank you all for taking your time to answer my questions, but now I see that everything has been answered, so I'm closing this thread.
Do let us know how you get on!

Just one final word of caution: if you have an external hard drive then I would copy your data from D: on to that external hard drive.

I assume you have some sort of backup mechanism in place already anyway, but in the case of something like a partition shrink, it's doubly important to be able to recover your data if anything goes wrong.
 
Old 05-26-2017, 03:06 PM   #22
AAGaming
LQ Newbie
 
Registered: May 2017
Posts: 24

Original Poster
Rep: Reputation: Disabled
Ok, so, I installed the Mint, but I had to use the nomodest to get it to boot and also had to use it after the installation until drivers where installed. Now I've run into a problem.

It seems that Mint didn't like something about my NTFS partition, so it didn't mount it. I ran ntfsfix command from the terminal which seemed to fix that issue, but now I would like to know what's the proper way to mount that drive. If I try to mount it to a folder in /home (using: sudo mount /dev/sdb1 /home/folder), as soon as I open the folder Mint crashes (firstly the file explorer and then the whole OS).

If I view the drives properties under computer:/// it says type-unknown; size-unknown; volume-unknown

Last edited by AAGaming; 05-26-2017 at 03:22 PM.
 
Old 05-26-2017, 03:19 PM   #23
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by AAGaming View Post
Ok, so, I installed the Mint, but I had to use the nomodest to get it to boot and also had to use it after the installation until drivers where installed. Now I've run into a problem.

It seems that Mint didn't like something about my NTFS partition, so it didn't mount it. I ran ntfsfix command from the terminal which seemed to fix that issue, but now I would like to know what's the proper way to mount that drive. If I try to mount it to a folder in /home (using: sudo mount /dev/sdb1 /home/folder), as soon as I open the folder Mint crashes (firstly the file explorer and then the whole OS).
First of all, find the UUID of the NTFS partition using blkid.

Then, as root, place an entry at the end of /etc/fstab (after copying that file to a backup e.g. fstab.backup), replacing 012345... with the UUID:

Code:
UUID=0123456789ABCDEF  /media/data  ntfs  rw,auto,users,exec,nls=utf8,umask=003,gid=1000,uid=1000  0  0
(remember the newline at the end)

Save this file, then:

Code:
sudo mkdir /media/data
Test the mounting with:

Code:
sudo mount -a
Then try accessing the NTFS drive in Caja.

Do *not* reboot until you are confident that the entry in /etc/fstab works (i.e. the command above works).
 
Old 05-26-2017, 03:38 PM   #24
AAGaming
LQ Newbie
 
Registered: May 2017
Posts: 24

Original Poster
Rep: Reputation: Disabled
Sorry, but this time I didn't get quite a lot of things.

Quote:
Originally Posted by hydrurga View Post
Then, as root, place an entry at the end of /etc/fstab (after copying that file to a backup e.g. fstab.backup), replacing 012345... with the UUID:

Code:
UUID=0123456789ABCDEF  /media/data  ntfs  rw,auto,users,exec,nls=utf8,umask=003,gid=1000,uid=1000  0  0
(remember the newline at the end)
1. Not sure what you mean by "as root"
2. bash: /media/data: No such file or directory

Quote:
Originally Posted by hydrurga View Post
Save this file, then:

Code:
sudo mkdir /media/data
What file?

Quote:
Originally Posted by hydrurga View Post
Test the mounting with:

Code:
sudo mount -a
Then try accessing the NTFS drive in Caja.

Do *not* reboot until you are confident that the entry in /etc/fstab works (i.e. the command above works).
What is Caja?
 
Old 05-26-2017, 03:49 PM   #25
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
1. You use gksudo to run GUI programs with elevated privileges i.e. as root (superuser). So, in this case:

gksudo xed /etc/fstab

(xed is the Mint text editor)

/etc/fstab is "this file".

2. I think you tried accessing /media/data before you created it. You need to run:

Code:
sudo mkdir /media/data
to create the directory. If that doesn't work, try

Code:
sudo mkdir /media
first.

3. I assume that you installed Mint 18.1 MATE. Caja is MATE's default file manager i.e. the program that opens when you click on the little cabinet icon at the left of the panel at the bottom of the screen.
 
1 members found this post helpful.
Old 05-26-2017, 06:23 PM   #26
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Quote:
It seems that Mint didn't like something about my NTFS partition, so it didn't mount it.
If the suggestions in the recent posts don't resolve your problem, posting what that error message was would be useful. ntfsfix can repair the filesystem if their are very minor problems on an ntfs partition. Generally, you need to run chkdsk from windows, installed or on the windows DVD.

Do you have the right partition, sdb1 is ntfs? Have you verified that? Have you used the -t option to include the filesystem type with the mount command? What happens then?
 
Old 05-27-2017, 01:24 PM   #27
AAGaming
LQ Newbie
 
Registered: May 2017
Posts: 24

Original Poster
Rep: Reputation: Disabled
Did what you said hydrurga. sudo mount -a also didn't bring up any errors, but it still crashes the Caja when I try to access the NTFS partition. No error windows come up, it just stops responding right after I try to go to a different directory while in the partition (it doesn't matter if I try to access a folder outside or inside it). I can restart the Caja after the crash, but I still can't fully access files in sdb1, since it would crash again.

Quote:
If the suggestions in the recent posts don't resolve your problem, posting what that error message was would be useful
.

The error was about Windows still hibernating (I guess it wasn't fully shut down when I did the installation) and that the cache is not allowing it to mount properly.

Last edited by AAGaming; 05-27-2017 at 01:42 PM.
 
Old 05-27-2017, 01:35 PM   #28
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Sorry to hear that. Never heard of that happening before to be honest.

You need to run a Windows chkdsk on that NTFS disk. Now that you have got rid of your Windows partition, you're probably going to have to do that by using the chkdsk facility on a tools CD e.g. Hiren's CD - http://us.informatiweb.net/tutorials...xp.html#chkdsk

Running ntfsfix from Linux isn't sufficient to properly check and rectify any problems that the NTFS filesystem has.

Last edited by hydrurga; 05-27-2017 at 02:35 PM. Reason: Removed Windows install/recovery media option as may need existing Windows installation
 
Old 05-27-2017, 01:39 PM   #29
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Also, can you please paste here the output from

Code:
sudo fdisk -l
so that we can check the situation regarding your new partitions.
 
Old 05-27-2017, 01:49 PM   #30
AAGaming
LQ Newbie
 
Registered: May 2017
Posts: 24

Original Poster
Rep: Reputation: Disabled
Disk /dev/sda: 111,8 GiB, 120034123776 bytes, 234441648 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
Disklabel type: dos
Disk identifier: 0x536e66ee

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 60000255 59998208 28,6G 83 Linux


Disk /dev/sdb: 931,5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xa8ec4f79

Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 1743806463 1743804416 831,5G 7 HPFS/NTFS/exFAT
/dev/sdb2 1935525888 1953523711 17997824 8,6G 82 Linux swap / Solaris
/dev/sdb3 1807525886 1935525887 128000002 61G 5 Extended
/dev/sdb5 1807525888 1935525887 128000000 61G 83 Linux

Partition 3 does not start on physical sector boundary.
Partition table entries are not in disk order.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Advice on partitioning drives anon091 Linux - Newbie 11 09-16-2009 07:52 AM
Partitioning two hard drives for slackware m.vanes Slackware 9 09-23-2005 08:35 AM
Partitioning drives Muze Linux - Software 5 09-15-2003 03:14 AM
Partitioning drives and what not vexer Slackware 1 01-12-2003 05:53 PM
partitioning hard drives Ingrid Linux - Software 2 11-23-2000 07:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration