Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #173700 > unrolled thread
| Started by | Mark Neidorff <mark@neidorff.com> |
|---|---|
| First post | 2016-10-21 21:00 +0200 |
| Last post | 2016-10-23 23:30 +0200 |
| Articles | 9 — 4 participants |
Back to article view | Back to linux.debian.user
Reconfiguring grub2 UFEI system Mark Neidorff <mark@neidorff.com> - 2016-10-21 21:00 +0200
Re: Reconfiguring grub2 UFEI system Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-10-21 22:30 +0200
Re: Reconfiguring grub2 UFEI system Mark Neidorff <mark@neidorff.com> - 2016-10-22 23:20 +0200
Re: Reconfiguring grub2 UFEI system Laruibasar <laruibasar@gmail.com> - 2016-10-23 11:10 +0200
Re: Reconfiguring grub2 UFEI system **SOLVED** Mark Neidorff <mark@neidorff.com> - 2016-10-23 21:10 +0200
Re: Reconfiguring grub2 UFEI system **SOLVED** Laruibasar <laruibasar@gmail.com> - 2016-10-23 22:20 +0200
Re: Reconfiguring grub2 UFEI system Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-10-23 17:50 +0200
Re: Reconfiguring grub2 UFEI system Dominic Knight <dominicknight@gmx.com> - 2016-10-23 23:10 +0200
Re: Re: Reconfiguring grub2 UFEI system Dominic Knight <dominicknight@gmx.com> - 2016-10-23 23:30 +0200
| From | Mark Neidorff <mark@neidorff.com> |
|---|---|
| Date | 2016-10-21 21:00 +0200 |
| Subject | Reconfiguring grub2 UFEI system |
| Message-ID | <suNcR-16b-19@gated-at.bofh.it> |
Hi, In setting up a new system, The new system is a UFEI one. I started with an internal 750Gb SATA drive for the OS, and a 2Tb drive for backups. I tried a couple of distros and finally settled on Debian Jesse 8.6. I had installed a distro on the 2Tb drive, and a couple of others (one of which is Jesse) on the 750Gb drive. I settled on using Jesse for this project. So, the next step was to clean out the other distros. I used gparted to delete no longer needed partitions and to expand other partitions to fill the space. All is now good. I then ran #update-grub hoping that would regenerate the grub boot menu, (I also tried #update-grub2) but the old entries still appear when the system boots. How do I make the system show an updated grub2 menu on boot? I feel like I have not provided some information which would be helpful in helping me. If that is the case, please ask and I will provide it. Many thanks, Mark
[toc] | [next] | [standalone]
| From | Pascal Hambourg <pascal@plouf.fr.eu.org> |
|---|---|
| Date | 2016-10-21 22:30 +0200 |
| Message-ID | <suOBY-2ad-9@gated-at.bofh.it> |
| In reply to | #173700 |
Le 21/10/2016 à 20:56, Mark Neidorff a écrit : > > So, the next step was to clean out the other distros. I used gparted to > delete no longer needed partitions and to expand other partitions to fill the > space. All is now good. > > I then ran > > #update-grub > > hoping that would regenerate the grub boot menu, (I also tried #update-grub2) > but the old entries still appear when the system boots. Are you talking about entries in GRUB's menu or in the UEFI boot menu ? update-grub only updates the former. What is the output of "os-prober" ? Are you sure the GRUB that shows up is the one from Debian ?
[toc] | [prev] | [next] | [standalone]
| From | Mark Neidorff <mark@neidorff.com> |
|---|---|
| Date | 2016-10-22 23:20 +0200 |
| Message-ID | <svbRT-ej-5@gated-at.bofh.it> |
| In reply to | #173708 |
On Friday, 10/21/16 10:19:47 PM Pascal Hambourg wrote: > Le 21/10/2016 à 20:56, Mark Neidorff a écrit : > > So, the next step was to clean out the other distros. I used gparted to > > delete no longer needed partitions and to expand other partitions to fill > > the space. All is now good. > > > > I then ran > > > > #update-grub > > > > hoping that would regenerate the grub boot menu, (I also tried > > #update-grub2) but the old entries still appear when the system boots. > > Are you talking about entries in GRUB's menu or in the UEFI boot menu ? Grub menu. (I don't see a UEFI menu) > update-grub only updates the former. Good. > What is the output of "os-prober" ? No output. (yes, I ran it as root) > Are you sure the GRUB that shows up is the one from Debian ? I'm not sure how to answer that question. The first OS I installed was OpenSUSE. Then I installed Debian 8.6 twice (on the two separate drives in the system). All three of these entries are still there even after running update-grub. I wouldn't care about the extra entries except that the OpenSUSE entry is the default. I want Debian to be the default (and, yes there is only one instance of Debian installed). Yes I tried changing the value of the default before I ran update-grub, but that didn't help. Thanks for any help, Mark
[toc] | [prev] | [next] | [standalone]
| From | Laruibasar <laruibasar@gmail.com> |
|---|---|
| Date | 2016-10-23 11:10 +0200 |
| Message-ID | <svmWZ-7qI-1@gated-at.bofh.it> |
| In reply to | #173748 |
Em sábado, 22 de Outubro de 2016 22:17:35 WEST, Mark Neidorff <mark@neidorff.com> escreveu: > On Friday, 10/21/16 10:19:47 PM Pascal Hambourg wrote: >> Le 21/10/2016 à 20:56, Mark Neidorff a écrit : >> > So, the next step was to clean out the other distros. I >> used gparted to >> > delete no longer needed partitions and to expand other >> partitions to fill >> > the space. All is now good. >> > >> > I then ran >> > >> > #update-grub >> > >> > hoping that would regenerate the grub boot menu, (I also tried >> > #update-grub2) but the old entries still appear when the system boots. >> >> Are you talking about entries in GRUB's menu or in the UEFI boot menu ? > > Grub menu. (I don't see a UEFI menu) > >> update-grub only updates the former. > > Good. > >> What is the output of "os-prober" ? > > No output. (yes, I ran it as root) > >> Are you sure the GRUB that shows up is the one from Debian ? > > I'm not sure how to answer that question. The first OS I installed was > OpenSUSE. Then I installed Debian 8.6 twice (on the two > separate drives in > the system). All three of these entries are still there even > after running > update-grub. Have you mounted the EFI partition? Update-grub change grub, I don't think it changes the FIE partitions. And check motherboard bios/uefi for the default entry > > I wouldn't care about the extra entries except that the > OpenSUSE entry is the > default. I want Debian to be the default (and, yes there is only one > instance of Debian installed). Yes I tried changing the value > of the default > before I ran update-grub, but that didn't help. > > Thanks for any help, > > Mark > > Bandarra -- Enviado do Dekko através do meu dispositivo Ubuntu.
[toc] | [prev] | [next] | [standalone]
| From | Mark Neidorff <mark@neidorff.com> |
|---|---|
| Date | 2016-10-23 21:10 +0200 |
| Subject | Re: Reconfiguring grub2 UFEI system **SOLVED** |
| Message-ID | <svwjD-4V2-19@gated-at.bofh.it> |
| In reply to | #173756 |
On Sunday, 10/23/16 10:05:43 AM Laruibasar wrote: > Em sábado, 22 de Outubro de 2016 22:17:35 WEST, Mark Neidorff > > <mark@neidorff.com> escreveu: > > On Friday, 10/21/16 10:19:47 PM Pascal Hambourg wrote: > >> Le 21/10/2016 à 20:56, Mark Neidorff a écrit : > >> > So, the next step was to clean out the other distros. I > >> > >> used gparted to > >> > >> > delete no longer needed partitions and to expand other > >> > >> partitions to fill > >> > >> > the space. All is now good. > >> > > >> > I then ran > >> > > >> > #update-grub > >> > > >> > hoping that would regenerate the grub boot menu, (I also tried > >> > #update-grub2) but the old entries still appear when the system boots. > >> > >> Are you talking about entries in GRUB's menu or in the UEFI boot menu ? > > > > Grub menu. (I don't see a UEFI menu) > > > >> update-grub only updates the former. > > > > Good. > > > >> What is the output of "os-prober" ? > > > > No output. (yes, I ran it as root) > > > >> Are you sure the GRUB that shows up is the one from Debian ? > > > > I'm not sure how to answer that question. The first OS I installed was > > OpenSUSE. Then I installed Debian 8.6 twice (on the two > > separate drives in > > the system). All three of these entries are still there even > > after running > > update-grub. > > Have you mounted the EFI partition? Update-grub change grub, I don't think > it changes the FIE partitions. And check motherboard bios/uefi for the > default entry > > > I wouldn't care about the extra entries except that the > > OpenSUSE entry is the > > default. I want Debian to be the default (and, yes there is only one > > instance of Debian installed). Yes I tried changing the value > > of the default > > before I ran update-grub, but that didn't help. > > > > Thanks for any help, > > > > Mark > > Bandarra I went into the UEFI bios, and changed the default entry. Now I get the correct Debian grub boot screen without the extra entries. Once I get the rest of this system configured, I'm going to have to go back and really understand what goes on in the UEFI. I'm marking this as SOLVED. Many thanks for the help. Mark
[toc] | [prev] | [next] | [standalone]
| From | Laruibasar <laruibasar@gmail.com> |
|---|---|
| Date | 2016-10-23 22:20 +0200 |
| Subject | Re: Reconfiguring grub2 UFEI system **SOLVED** |
| Message-ID | <svxpo-5zq-7@gated-at.bofh.it> |
| In reply to | #173768 |
Hi! Em domingo, 23 de Outubro de 2016 20:10:05 WEST, Mark Neidorff <mark@neidorff.com> escreveu: > On Sunday, 10/23/16 10:05:43 AM Laruibasar wrote: >> Em sábado, 22 de Outubro de 2016 22:17:35 WEST, Mark Neidorff >> >> <mark@neidorff.com> escreveu: >> > On Friday, 10/21/16 10:19:47 PM Pascal Hambourg wrote: >> >> Le 21/10/2016 à 20:56, Mark Neidorff a écrit : >> >> > So, the next step was to clean out the other distros. I >> >> >> >> used gparted to >> >> >> >> > delete no longer needed partitions and to expand other >> >> >> >> partitions to fill >> >> >> >> > the space. All is now good. >> >> > >> >> > I then ran >> >> > >> >> > #update-grub >> >> > >> >> > hoping that would regenerate the grub boot menu, (I also tried >> >> > #update-grub2) but the old entries still appear when the >> system boots. >> >> >> >> Are you talking about entries in GRUB's menu or in the UEFI >> boot menu ? >> > >> > Grub menu. (I don't see a UEFI menu) >> > >> >> update-grub only updates the former. >> > >> > Good. >> > >> >> What is the output of "os-prober" ? >> > >> > No output. (yes, I ran it as root) >> > >> >> Are you sure the GRUB that shows up is the one from Debian ? >> > >> > I'm not sure how to answer that question. The first OS I installed was >> > OpenSUSE. Then I installed Debian 8.6 twice (on the two >> > separate drives in >> > the system). All three of these entries are still there even >> > after running >> > update-grub. >> >> Have you mounted the EFI partition? Update-grub change grub, I >> don't think >> it changes the FIE partitions. And check motherboard bios/uefi for the >> default entry >> >> > I wouldn't care about the extra entries except that the >> > OpenSUSE entry is the >> > default. I want Debian to be the default (and, yes there is only one >> > instance of Debian installed). Yes I tried changing the value >> > of the default >> > before I ran update-grub, but that didn't help. >> > >> > Thanks for any help, >> > >> > Mark >> >> Bandarra > > I went into the UEFI bios, and changed the default entry. Now I get the > correct Debian grub boot screen without the extra entries. Once I get the > rest of this system configured, I'm going to have to go back and really > understand what goes on in the UEFI. > > I'm marking this as SOLVED. Glad you solve it! If you are going to use several OS on you PC with UEFI, check a solution call rEFInd (uefi boot manager). I use it for dual boot and it was once upon a time the way I use to transition Debian to uefi. > > Many thanks for the help. > > Mark > > -- Enviado do Dekko através do meu dispositivo Ubuntu.
[toc] | [prev] | [next] | [standalone]
| From | Pascal Hambourg <pascal@plouf.fr.eu.org> |
|---|---|
| Date | 2016-10-23 17:50 +0200 |
| Message-ID | <svtc5-2Nj-5@gated-at.bofh.it> |
| In reply to | #173748 |
Le 22/10/2016 à 23:17, Mark Neidorff a écrit : > On Friday, 10/21/16 10:19:47 PM Pascal Hambourg wrote: > >> What is the output of "os-prober" ? > > No output. (yes, I ran it as root) Then no other system was detected and added to the GRUB menu when you ran update-grub. >> Are you sure the GRUB that shows up is the one from Debian ? > > I'm not sure how to answer that question. The first OS I installed was > OpenSUSE. Then I installed Debian 8.6 twice (on the two separate drives in > the system). All three of these entries are still there even after running > update-grub. > > I wouldn't care about the extra entries except that the OpenSUSE entry is the > default. Is openSUSE the first entry in the menu ? AFAICS, by default the first entry in the menu is the OS which installed the active GRUB. So it looks like it is openSUSE's GRUB, not Debian's one. From Debian, what it the ouput of the following commands ? efibootmgr ls /boot/ ls /boot/efi/EFI
[toc] | [prev] | [next] | [standalone]
| From | Dominic Knight <dominicknight@gmx.com> |
|---|---|
| Date | 2016-10-23 23:10 +0200 |
| Message-ID | <svybL-65C-17@gated-at.bofh.it> |
| In reply to | #173758 |
On Sun, 2016-10-23 at 17:49 +0200, Pascal Hambourg wrote: > Le 22/10/2016 à 23:17, Mark Neidorff a écrit : > > On Friday, 10/21/16 10:19:47 PM Pascal Hambourg wrote: > > > > > What is the output of "os-prober" ? > > > > No output. (yes, I ran it as root) > > Then no other system was detected and added to the GRUB menu when > you > ran update-grub. > > > > Are you sure the GRUB that shows up is the one from Debian ? > > > > I'm not sure how to answer that question. The first OS I installed > > was > > OpenSUSE. Then I installed Debian 8.6 twice (on the two separate > > drives in > > the system). All three of these entries are still there even after > > running > > update-grub. > > > > I wouldn't care about the extra entries except that the OpenSUSE > > entry is the > > default. > > Is openSUSE the first entry in the menu ? AFAICS, by default the > first > entry in the menu is the OS which installed the active GRUB. So it > looks > like it is openSUSE's GRUB, not Debian's one. > > From Debian, what it the ouput of the following commands ? > > efibootmgr > ls /boot/ > ls /boot/efi/EFI Last time I used this (update-grub on fully updated Debian testing) a few weeks back it did nothing for me either, however as a workaround you can re-install/re-configure grub-pc and/or grub-pc-bin (via apt- get, synaptic or your personal favourite installer) and that will install the grub menu for you. I think it was the first of these two options (re-install grub-pc) that did the trick but just in case I remember wrongly, I mention the other software too. However, it probably needs tracking down as to why this no longer works for all, so if you are willing, please continue to work through other processes first.
[toc] | [prev] | [next] | [standalone]
| From | Dominic Knight <dominicknight@gmx.com> |
|---|---|
| Date | 2016-10-23 23:30 +0200 |
| Message-ID | <svyv9-6dd-59@gated-at.bofh.it> |
| In reply to | #173758 |
oops, I notice it is solved now, must have missed those posts in the digest somehow, I was thinking however that maybe it was a case of 'I never installed that version of grub so I'm not going to write to it' as you probably had a slightly different version from the one on SuSE, I am no expert however so may be talking out of turn here.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web