parent
  • Saltystew
    +1
    @kyurama -

    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.

  • kyurama
    +1
    @Saltystew -

    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.

  • Saltystew
    +1
    @kyurama -

    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.

  • kyurama (edited 8 years ago)
    +1
    @Saltystew -

    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.

  • Saltystew
    +1
    @kyurama -

    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.

  • kyurama (edited 8 years ago)
    +2
    @Saltystew -

    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.

  • Saltystew (edited 8 years ago)
    +1
    @kyurama -

    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.

  • kyurama (edited 8 years ago)
    +2
    @Saltystew -

    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.

  • Saltystew
    +1
    @kyurama -

    No, I've definitely never seen that menu.

  • kyurama
    +1
    @Saltystew -

    And not even one similar, asking what you want to launch?

  • Saltystew
    +2
    @kyurama -

    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.

  • kyurama
    +1
    @Saltystew -

    Well, crap. So that means you're never seeing grub. Guessing it's still using Windows to boot the system then, instead of grub.

  • Saltystew (edited 8 years ago)
    +2
    @kyurama -

    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?

  • kyurama
    +1
    @Saltystew -

    It should be, but it seems like grub isn't being called on boot for some reason.

  • Saltystew (edited 8 years ago)
    +1
    @kyurama -

    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?

  • kyurama
    +1
    @Saltystew -

    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.

  • Saltystew
    +1
    @kyurama -

    Alright then, guess I'll reinstall it just to be safe. Sorry about all the confusion.

  • Saltystew (edited 8 years ago)
    +2
    @kyurama -

    It works now. Looks like I never set it to boot through grub during installation. Sorry for the trouble.

    • kyurama
      +1
      @Saltystew -

      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!