Author Topic: Grub-install problem that manjaro-howto can't solve  (Read 9620 times)

0 Members and 1 Guest are viewing this topic.

Offline Kalimba

  • Neuling
  • *
  • Posts: 5
  • I'm new. Be nice!
  • Skill: Novice
Re: Grub-install problem that manjaro-howto can't solve
« Reply #15 on: 16. July 2015, 17:07:11 »
Just a observation bios reset will set all bios settings to default so if its a modern machine it will not boot linux till the op changes BIOS settings to legacy 
quote
 "He's not on uefi because drives are msdos (with extended partition too)".  hence this.
quote
"I did a bios reset, had a look at the boot order to ensure that both, the hdd and the sdd (sda and sdb) are in the boot order and just let bios select the boot device. By itself it selected the network boot, which is the last option after both the hdd and the sdd".
So it will try to boot from the only available method unless network boot is the top option selected.
It would be best to manually boot to the selected partition the other worry is a mac partition
Found Mac OS X on /dev/sdc3 as that surly needs  uefi ? gpt.?
Just my thoughts
I had a look at my bios: Legacy and UEFI are both enabled with bios trying Legacy first. Network boot is the last option. I tried booting manually in both drives, representing /dev/sda and /dev/sdb.

/dev/sdc is only the usb drive with super grub disk.

Offline Kalimba

  • Neuling
  • *
  • Posts: 5
  • I'm new. Be nice!
  • Skill: Novice
Re: Grub-install problem that manjaro-howto can't solve
« Reply #16 on: 19. July 2015, 14:20:42 »
Does anyone have another idea?  :-\

Offline gohlip

  • Held Mitglied
  • *****
  • Posts: 1689
  • Desktop: OpenBox
  • GPU Card: nvidia
  • GPU driver: nonfree
  • Kernel: linux46 - x64
  • Skill: Intermediate
Re: Grub-install problem that manjaro-howto can't solve
« Reply #17 on: 19. July 2015, 18:09:19 »
Alright, did not see your grub.cfg and fstab earlier. (if you just edit- we won't know you had a new post)
And its' confusing because I thought you messed up and cannot boot windows. And in trying to fix it you messed up manjaro.
Never mind, we start again....


To recap, there is no longer any windows (and don't mind).
Objective - You are trying to boot to sdb6 (uuid 2a77xxxxxx)
Your sda drive - ? what do you want? what linux and you want to boot this also?
But let's start with just booting sdb6 as our final objective.

You have an sdc (super grub - you say). Remove that and just make sure its just sda and sdb only.
sdb is external usb or internal hard drive?

Start here
Make sure sda and sdb is always connected. remove other drives like sdc.
Boot up a livecd dvd. (can be any linux with grub2) and in boot-legacy mode.

When booted, at terminal  check where the sdb6 is by "sudo blkid": meaning is it listed as sdb6 with that uuid?
Then if trully is sdb6, then
Code: [Select]
sudo mount /dev/sdb6 /mnt
sudo grub-install --boot-directory=/mnt/boot /dev/sda

Remove livecd and boot normally (do not need to set boot to any drive- just let boot from computer start - do not adjust bios settings)

If your grub.cfg is okay, you will get to grub menu and bootup.
If not, you will get to grub prompt (grub>) and it's okay. Don't worry.
If grub prompt, type and press enter afeter each line.
Code: [Select]
grub> insmod part_msdos
grub> insmod ext2
grub> search --fs-uuid --set=root 2a772c73-63db-4668-a69b-af6e295954e2
grub> linux /boot/vmlinuz-3.16-x86_64 root=UUID=2a772c73-63db-4668-a69b-af6e295954e2 rw
grub> initrd /boot/initramfs-3.16-x86_64.img
grub> boot

When booted, open terminal and
Code: [Select]
sudo grub-install /dev/sda
sudo update-grub

NOTE: if grub menu appears, and pressing enter at entry does not boot,
boot again and this time, press 'c' to go to grub prompt, and type manually as above.

[tip] - use <tab> for auto-completion but make sure initramfs-3.16-x86_64.img end with .img (easy to miss out if using <tab>)


« Last Edit: 19. July 2015, 19:09:24 by gohlip »
Life is a sexually transmitted disease with a 100% mortality rate.

Offline expos3

  • Neuling
  • *
  • Posts: 21
  • I'm new. Be nice!
  • Skill: Novice
Re: Grub-install problem that manjaro-howto can't solve
« Reply #18 on: 30. July 2015, 00:04:49 »
i had windows 10 and want install mandjaro dual boot, can i go usual process like windows 7 dual boot or?

Offline TruWrecks

  • Neuling
  • *
  • Posts: 20
  • I'm new. Be nice!
  • Branch: Stable
  • Desktop: KDE
  • GPU Card: GTX770M
  • GPU driver: non-free
  • Kernel: 4.0.3
  • Skill: Intermediate
Re: Grub-install problem that manjaro-howto can't solve
« Reply #19 on: 31. July 2015, 22:47:54 »
i had windows 10 and want install mandjaro dual boot, can i go usual process like windows 7 dual boot or?

You can but it's very painful. I had to remove all my other drives and boot from a DVD to do a clean install. Then I put my Linux drives back in and adjusted the UEFI boot files. Even after all that the damn thing doesn't want to boot correctly into Windows 0. I had Windows 8.1 running beautifully and now it doesn't boot no either.

I did the best thing I should have done long ago. I formatted the Windows drive to EXT4 and linked it to /home in Manjaro. My laptop is no longer tied to Microshaft in any way. It is now 100% Linux and it runs better than WIndows ever did on it.

Offline expos3

  • Neuling
  • *
  • Posts: 21
  • I'm new. Be nice!
  • Skill: Novice
Re: Grub-install problem that manjaro-howto can't solve
« Reply #20 on: 02. August 2015, 03:40:18 »
You can but it's very painful. I had to remove all my other drives and boot from a DVD to do a clean install. Then I put my Linux drives back in and adjusted the UEFI boot files. Even after all that the damn thing doesn't want to boot correctly into Windows 0. I had Windows 8.1 running beautifully and now it doesn't boot no either.

I did the best thing I should have done long ago. I formatted the Windows drive to EXT4 and linked it to /home in Manjaro. My laptop is no longer tied to Microshaft in any way. It is now 100% Linux and it runs better than WIndows ever did on it.

lenovo thinkpad t530 alredy setup everything just need make bootabile usb/cd install MANJARO uefi boot /legacy boot after go clear no issue no additional setup in Manjaro beautiful

Offline stevedude

  • Neuling
  • *
  • Posts: 41
  • I'm new. Be nice!
  • Branch: Stable
  • Desktop: Deepin
  • GPU Card: NVidia GTS 450
  • GPU driver: Non-Free
  • Kernel: linux41-x64
  • Skill: Novice
Re: Grub-install problem that manjaro-howto can't solve
« Reply #21 on: 03. March 2016, 14:18:02 »
@Kalimba, this is a little out of my scope, but whenever I have had GRUB issues I used Boot-Repair utility although there is another that may be useful too.

Boot-Repair: https://sourceforge.net/p/boot-repair/home/Home/

SuperGrub 2: http://www.supergrubdisk.org/


Offline tuxracer

  • Neuling
  • *
  • Posts: 5
  • I'm new. Be nice!
  • Desktop: kde i3 jwm
  • GPU Card: nvidia 950m
  • GPU driver: non-free
  • Kernel: x86_64
  • Skill: Intermediate
Re: Grub-install problem that manjaro-howto can't solve
« Reply #22 on: 15. April 2016, 15:44:48 »
you said

$ grub-install /dev/sdb

did you not mean to do

$ grub-install /dev/sda

duh?

Offline Heart Of A Lion

  • Sr. Mitglied
  • ****
  • Posts: 313
  • I'm new. Be nice!
  • Branch: Stable
  • Desktop: Xfce, Enlightenment
  • GPU Card: ATi 7770 . . . . . . . CPU: AMD octacore 4GHz
  • GPU driver: Free (video-ATI)
  • Kernel: 4.6 (x64)
  • Skill: Intermediate
Re: Grub-install problem that manjaro-howto can't solve
« Reply #23 on: 15. April 2016, 17:03:28 »
Does anyone have another idea?  :-\

You could look into this tutorial of mine:

https://forum.manjaro.org/index.php?topic=33021.0

You can create a boot partition in gParted and set its flag to 'bios_grub'.

Then install Grub to your disk using the listed commands.