Is this where one would ask for help about Linux? If so I have a question about installing Mint.
So I used Ubuntu for about a day or so a couple of months ago, I had to stop using it because I didn't have any time to focus on learning a new OS.
But I have a 500GB HDD connected to my computer and there's nothing in it, and I don't see myself using it for anything in the near future so I thought why not install a distro on it and mess around, but is that the right way to do it? Or should I be installing it on the same drive I have windows on to make it a proper dual boat? I have windows 7 on a separate partition on an SSD.
Edit: Well I installed it and used the driver manager to get the nvidia driver, restarted and then I ran nvidia-xconfig. Not sure if that was necessary but the guide I was reading (few months old) said it was a must. I then used nvidia settings thing to correct my dual monitor setup and all that, and then I (think I fucked up) updated all the packages through the package manager, took a few seconds. Restarted the computer and now it just crashes constantly, says Mint is in fallback mode. Gonna try and fix it later... I think it was just the wrong driver. Purged it and installed nvidia 352 with ppa:mamarley/nvidia, working so far.
Join the Discussion
It's really up to you. I have both of my OS on different SSD. (Windows 7 and Mint 17.2) The installer for Mint is really straghtforward but If you want it to be as simple as possible you can have it automatically install to the 500gb HDD and it will set up your partitions for you, which for mint i think are swap and root by default.
Are you using mate or cinnamon?
Everyone I've talked to says Linux is far lighter than Windows so how much better does Linux, or mint exactly in this case, perform on an ssd compared to a hdd?
I've never used MATE because I don't really think it's as lightweight as it claims to be. I primarily use XFCE, but also use cinnamon occasionally. If you really want a lightweight DE give XFCE a try.
As far as the hard drive speed with Mint, to be completely honest I'm really not the best person to answer that question, but the SSD is faster. My recommendation would be to install on both and then choose from there. If you do choose to install on the SSD just mount the 500gb drive as an additional volume for storage.
I've never heard of XFCE before. Is it part of Mint? Or a package you install? Or is it another distro entirely?
Edit: Before you read anything below, if you only want XFCE just download the 17.1 XFCE edition.
Edit 2: Actually, I wouldn't recommend anything that I said below. I just tried doing this today and it's crashed on me for unknown reasons multiple times. That being said, the Linux Mint 17.1 XFCE edition is great, and I would recommend it. The 17.2 XFCE edition should be coming out soon as well.
There currently isn't an XFCE edition for Mint 17.2 yet as far as I know. Just use the Cinnamon edition, and then install XFCE by using the following guide: http://linoxide.com/linux-how-to/install-xfce-4-12-mint-arch-linux/ This will leave you with both Cinnamon and XFCE, and you can choose between them at the login screen.
Sounds like me on Mint right now, installed nvidia drivers fianlly, set up dual montiors correctly. Updated all packages and then restarted and now it just crashes constantly and says that mint is in fallback mode. Guess I'll try fixing that later.
What version are you using? 17.2 Cinnamon?
Yeah. Installed it with a usb on my hdd.
What kind of gpu do you have? You should be just been able to use driver manager to get the recommended Nvidia driver instead of using the mamarley ppa.
Nvidia GTX 970. I used the driver manager to begin with and after 10 minutes of being on it I crashed like crazy. Haven't crashed using the new one I got from mamarley ppa.
I really don't know what the difference is tbh. Maybe I just did something wrong after using the driver manager that messed up the newly installed driver.
That seems really weird. I have a gtx 960 and everything went fine with driver manager.
Well I'm no expert obviously. So it may have just been my fault.
I doubt it's your fault. There isn't much you can mess up with driver manager.
Then I got nothin. Unless there was some update in the package manager that messed it up, because that's all I did after installing the new driver.
For the time being, I feel it's fine to ask here. Mod team may think otherwise, but I'll try and help.
Either way would be dual booting, since you can choose to boot from Windows 7 or Linux Mint during startup. I'd recommend using the 500GB HDD, since there's nothing on it and nothing to worry about losing by accidentally fubaring the Windows partition during installation. I'll be glad to help more here or via PM if you have more questions about installing it and I'm also sure that the other wonderful users here would be glad to assist you. It's a good idea to backup important files to a USB, in the unlikely event that something does go wrong. Always good to have a backup, plus you'll be able to put them on the linux partition as well.
I guess eventually someone will make some sort of tribe for helping or troubleshooting problems. I couldn't find one so I just thought why not here.
Besides my time, there's actually nothing that I'd have a problem with losing at the moment. All important documents are either on google drive or dropbox. Games are all over steam or gog. Maybe grab some wallpapers or something like that.
I'll keep you in mind in case something goes awry. I just didn't know if installing it on a completely separate hdd would complicate things for me. Already have it on a usb ready to go. Thanks for the help!
If you're ever interested in trying to play some games on Linux, check out /t/linuxgaming. It's a new tribe but questions are welcome, and the user base is slowly growing.
I actually already joined the tribe before making this post, I was looking for any linux tribes that had to do with noobs. Thanks for the invite though!
No problem! Just making sure you knew about it.
Separate drive is fine, GRUB should have no issue with it, in my experience. The only benefit to the SSD is speed, but I don't see that as a huge concern, Linux is fast enough on an HDD.
Alright, thanks for the info. Better safe than sorry.
No problem, glad I could help. :)
I actually do have another question now that I've installed it. Is there a good (easy) way to actually boot into another OS? Instead of going into bios and selecting the boot menu and all that.
It should have installed GRUB as the boot loader when you installed mint, which would allow you to switch on boot. Try running the 'os-prober' and then 'update-grub' (you'll need to use sudo to run those two) and then reboot the system. If it worked correctly, then you should boot to having Windows 7 and Linux Mint show up as boot options when you boot the computer.
After fixing my crashing problem I tried sudo os-prober and it returned this "No volume groups found."
Does it say that because there's only one OS on this HDD? My windows 7 installation is on a SSD if you remember.
So you can currently boot in Linux Mint or Windows 7 by going into the BIOS and changing the boot, right?
Yeah
Try sudo gedit /boot/grub/grub.cfg in the terminal (if you don't have gedit 'sudo apt-get install gedit'). put it into a pastebin document, I want to see if there's an entry for Windows in that file.
Edit: added 'sudo' to the beginning of the gedit command. Be sure not to make changes to that file.
It worked with just sudo gedit /boot/grub/grub.cfg
Try 'sudo grub-mkconfig -o /boot/grub/grub.cfg' and then post up the new results from 'sudo gedit /boot/grub/grub.cfg'. Hopefully that will add the menu entry.
Here
Ah crap. I'm super sorry for the late reply. Ended up getting really busy after class. I'd like to apologize profusely for that man. I think I do have the solution to fix the problem though, whenever you're ready.
No need to apologize. It's not like I'm paying you for tech support, your just helping me out for however long your able. And that's fine. I thank you for that.
And I'm ready whenever you are.
Alright, so first can you run 'sudo fdisk -l' and post the output of that?
Also, a quick question. When you installed mint, did you select "install alongisde Windows 7"? was that an option?
No, it wasn't an option. I chose "something else"
The top default option was something like 'format drive and install'
hm. well that actually could be the issue as to why grub didn't automatically add Windows. Really quickly, try 'sudo update-grub' and reboot?
I'm guessing that was supposed to fix the issue and ask me upon boot what OS I wanted to boot into? If so, it sadly did not do that.
Drats, was hoping it might be that simple. Okay, can you run 'sudo fdisk -l >> blk.txt && gedit blk.txt' and post the results of that? I need to see what your partition scheme is so we can hopefully add a custom entry ourselves.
Yeah I think I fucked up.
It throws this out when I use 'sudo fdisk -l >> blk.txt && gedit blk.txt'
"WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
(gedit:3346): Gtk-WARNING **: Attempting to read the recently used resources file at `/home/saltystew/.local/share/recently-used.xbel', but the parser failed: Failed to open file '/home/saltystew/.local/share/recently-used.xbel': Permission denied."
Here's the file it opened.
I'm pretty sure I got the information I needed, but to be sure first run 'rm blk.txt' in the same directory as you ran the previous command. Then run 'sudo parted -l >> blk.txt'. And posts the results. I also have a question. Which of the first two drives is Windows on? The 240 GB or 250 GB? Oh, and you didn't actually fuck up :) it's just that fdisk doesn't really like or work with GPT partitions.
If 'sudo fdisk -l >> rm blk.txt' is the current thing to run first, was something supposed to happen? Besides it asking for my password. Nothing happened after I ran 'sudo parted -l >> blk.txt' either
Windows is installed on it's own partition in the 250GB drive.
Sorry, should have specified better. 'rm blk.txt' should have been ran on it's own, to delete the original version of blk.txt. Then you do 'sudo parted -l >> blk.txt' to create a new file called blk.txt and send the output of parted -l to it. Then you'll run gedit blk.txt and put the contents of that in a pastebin and post them. I'm going to type up the custom menu entry for your grub menu, just a second.
So I think I did it. I've been sitting here for 25 minutes wondering why nothings coming up. It put it on my desktop, not sure if that was supposed to happen. And it appears to have less stuff inside.
Yep, that had what I needed. Now you're going to want to do 'sudo gedit /etc/grub.d/40_custom' and add the following to the end of the file. After that, save your changes and close gedit. Then run 'sudo update-grub' or 'sudo update-grub2' and reboot your computer. Hopefully that should give you the option for windows 7.
Speedy edit: if that doesn't work, try changing 'msdos4' in the pastebin i sent you to 'msdos3'. Then continue the steps as usual.
Edited the file. Ran the command to update-grub. Got this.
Restarted the computer, it booted into windows without any prompt or question about OS, and then i booted into Linux via BIOS and it booted into Linux without a prompt or question about OS.
I also tried the the other edit, changing the number 4 to 3 didn't do anything.
What is this supposed to look like anyway? Am I supposed to get a prompt when I get past the BIOS screen and start loading into either windows or linux or is it if I'm booting into linux already. I doubt I'm missing it but it'd be nice to know what I'm looking for.
And thank you for helping me with this so far, I honestly thought it would be a simple question lol.
This is what you're looking to get. Have you gotten a menu like that at any point when you turn the system on?
Edit: go ahead and do 'sudo gedit /etc/grub.d/40_custom' and remove the entry I gave you and rerun update-grub. I think I may need to retry the syntax for it.
No, I've definitely never seen that menu.
And not even one similar, asking what you want to launch?
Nothing. If I restart my computer and don't touch anything it boots right into windows. BIOS splash screen>windows logo.
If I restart the computer and go into BIOS and manually select my hard drive to be what I boot into then it goes from the BIOS screen to a black screen for a few seconds and then there's some green dots indicating that its loading I guess and then I'm on my desktop in Linux.
Well, crap. So that means you're never seeing grub. Guessing it's still using Windows to boot the system then, instead of grub.
Yeah that's what I've been saying these last few times. It boots into windows as if windows is the only OS installed. And I can only boot into Linux if I force it to boot into my other HDD in BIOS.
So is it not possible for me to boot through grub with the way it's installed?
It should be, but it seems like grub isn't being called on boot for some reason.
Have you ever installed Linux manually before? Creating each partition yourself? If so, how many partitions was there supposed to be?
Because I think I only made three. Root, home, and swap. But I found another guide that also has a boot partition, which was never talked about in the guide I read. Which means I did not make a boot partition manually, if that makes any difference.
Edit: rereading the guide I used, I may have missed a part. I can't remember if I changed that drop down menu thing.
"8. You can now review the partitions you created before you continue with the installation. Also, you have the option here to select where to install the boot loader. The default is fine if you have no other operating system installed or if you want Linux Mint to ask you at boot time which operating system to boot.
If you want another operating system to ask you at boot time which operating system to boot, then change the device for boot loader installation to your root partition (/dev/sda1 in this example). Note that without additional software, Windows isn't able to ask you which operating system to boot."
So yeah, it's my fault. Do I have to reinstall or can that be changed with the terminal?
I have installed it manually, currently running arch. The number of partitions doesn't actually matter, you can have as few as just one root partition, or a partition for root, home, boot, swap, etc etc. You may be able to change it with the terminal by installing grub to your boot partition, but it may be better to reinstall and let the installer handle it for you.
Alright then, guess I'll reinstall it just to be safe. Sorry about all the confusion.
It works now. Looks like I never set it to boot through grub during installation. Sorry for the trouble.
No problem at all. Sorry my replies slowed down to the end, been working most of the weekend. Glad you got it working though! :) hope you enjoy linux!