Re: grub2-mkconfig

2024-06-05 Thread Tim via users
On Wed, 2024-06-05 at 13:37 +0200, Patrick Dupre via users wrote: > Sorry for all this mail exchanges for a simple thing. Multi-boot isn't a simple thing, there's a lot of hurdles. If you needed to ask, you needed to ask. That's what the list is for. -- NB: All unexpected mail to my mailbo

Re: grub2-mkconfig

2024-06-05 Thread Patrick Dupre via users
Thank for all these comments > > Patrick Dupre composed on 2024-06-04 23:57 (UTC+0200): > > > Disklabel type: gpt > > Disk identifier: 5975BF99-78B4-4807-9CE4-C2BB0B8FE075 > > > > Device Start End Sectors Size Type > > /dev/sda1 2048 6143 4096 2M BIOS boot > >

Re: grub2-mkconfig

2024-06-05 Thread Felix Miata
Patrick Dupre composed on 2024-06-04 23:57 (UTC+0200): > Disklabel type: gpt > Disk identifier: 5975BF99-78B4-4807-9CE4-C2BB0B8FE075 > > Device Start End Sectors Size Type > /dev/sda1 2048 6143 4096 2M BIOS boot > /dev/sda2 6144 33560575 335544321

Re: grub2-mkconfig

2024-06-05 Thread Patrick Dupre via users
> On 6/5/24 1:04 AM, Patrick Dupre via users wrote: > > Samuel S said > > > >> Number Start End Size Type File system Flags > >> 2 1049kB 470MB 469MB primary ext4 boot > >> 3 470MB 25.4GB 24.9GB primary ext4 > >> 4 25.4GB 82.0GB 56.6GB extended > >> 5 25.4GB 82.0GB 56.6GB logical ext4 > > > > You

Re: grub2-mkconfig

2024-06-05 Thread Samuel Sieb
On 6/5/24 1:04 AM, Patrick Dupre via users wrote: Samuel S said Number Start End Size Type File system Flags 2 1049kB 470MB 469MB primary ext4 boot 3 470MB 25.4GB 24.9GB primary ext4 4 25.4GB 82.0GB 56.6GB extended 5 25.4GB 82.0GB 56.6GB logical ext4 You don't have an EFI partition on this di

Re: grub2-mkconfig

2024-06-05 Thread Patrick Dupre via users
> > On Tue, 4 Jun 2024 22:15:33 +0200, Patrick Dupre via users wrote: > > > I guess that when I run grub2-mkconfig there was a UBS key what connected > > on the usb poer. > > > > I made some progresses, but not enough > > I mounted the Fedora 40 / and >

Re: grub2-mkconfig

2024-06-04 Thread Michael Schwendt
On Tue, 4 Jun 2024 22:15:33 +0200, Patrick Dupre via users wrote: > I guess that when I run grub2-mkconfig there was a UBS key what connected on > the usb poer. > > I made some progresses, but not enough > I mounted the Fedora 40 / and > cp -a /mnt/fedrao40/boot/loader/entr

Re: grub2-mkconfig

2024-06-04 Thread Felix Miata
Samuel Sieb composed on 2024-06-04 15:03 (UTC-0700): > You don't have an EFI partition on this disk. It's not even a GPT > partition table. So both installations will be fighting over the EFI > partition on sda. And there's no easy way to add a boot entry for this > installation. A multiboo

Re: grub2-mkconfig

2024-06-04 Thread Felix Miata
Samuel Sieb composed on 2024-06-04 15:03 (UTC-0700): > You don't have an EFI partition on this disk. It's not even a GPT > > partition table. So both installations will be fighting over the EFI > > partition on sda. And there's no easy way to add a boot entry for this > > installation. A mul

Re: grub2-mkconfig

2024-06-04 Thread Samuel Sieb
On 6/4/24 2:57 PM, Patrick Dupre via users wrote: Model: ATA Maxtor 6Y080M0 (scsi) Disk /dev/sdc: 82.0GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End SizeType File system Flags 2 1049kB 470MB 469MB primary ext4

Re: grub2-mkconfig

2024-06-04 Thread Patrick Dupre via users
Disklabel type: gpt Disk identifier: 5975BF99-78B4-4807-9CE4-C2BB0B8FE075 Device Start End Sectors Size Type /dev/sda1 2048 6143 4096 2M BIOS boot /dev/sda2 6144 33560575 3355443216G Linux swap /dev/sda3 33560576 34584575 1024000 500M EFI Sy

Re: grub2-mkconfig

2024-06-04 Thread Felix Miata
Samuel Sieb composed on 2024-06-04 13:49 (UTC-0700): > Patrick Dupre via users wrote: >> I am maintaining this machine for numerous years, it always passed the >> updates, >> but from 38 to 40, the same approach fails! > You haven't given a full explanation of your disk layout, If you provide

Re: grub2-mkconfig

2024-06-04 Thread Patrick Dupre via users
> On 6/4/24 1:39 PM, Patrick Dupre via users wrote: > >> > >> On 6/4/24 1:15 PM, Patrick Dupre via users wrote: > >>> I made some progresses, but not enough > >>> I mounted the Fedora 40 / and > >>> cp -a /mnt/fedrao40/boot/loader/entries/* /boot/loader/entries > >>> > >>> cat > >>> /boot/loader/

Re: grub2-mkconfig

2024-06-04 Thread Patrick Dupre via users
> Patrick Dupre via users composed on 2024-06-04 22:15 (UTC+0200): > > > I do not understand, because every thing seems OK > > The file is at the right place as well as > > System.map-6.8.11-300.fc40.x86_64 > > initramfs-6.8.11-300.fc40.x86_64.img > > config-6.8.11-300.fc40.x86_64 > > symvers-6.8.1

Re: grub2-mkconfig

2024-06-04 Thread Felix Miata
Patrick Dupre via users composed on 2024-06-04 22:15 (UTC+0200): > I do not understand, because every thing seems OK > The file is at the right place as well as > System.map-6.8.11-300.fc40.x86_64 > initramfs-6.8.11-300.fc40.x86_64.img > config-6.8.11-300.fc40.x86_64 > symvers-6.8.11-300.fc40.x86_

Re: grub2-mkconfig

2024-06-04 Thread Samuel Sieb
On 6/4/24 1:39 PM, Patrick Dupre via users wrote: On 6/4/24 1:15 PM, Patrick Dupre via users wrote: I made some progresses, but not enough I mounted the Fedora 40 / and cp -a /mnt/fedrao40/boot/loader/entries/* /boot/loader/entries cat /boot/loader/entries/dcdc9ed7e87243ec91d6d876cf7c3384-6.8

Re: grub2-mkconfig

2024-06-04 Thread Patrick Dupre via users
> > On 6/4/24 1:15 PM, Patrick Dupre via users wrote: > > I made some progresses, but not enough > > I mounted the Fedora 40 / and > > cp -a /mnt/fedrao40/boot/loader/entries/* /boot/loader/entries > > > > cat > > /boot/loader/entries/dcdc9ed7e87243ec91d6d876cf7c3384-6.8.9-100.fc38.x86_64.conf > >

Re: grub2-mkconfig

2024-06-04 Thread Samuel Sieb
On 6/4/24 1:15 PM, Patrick Dupre via users wrote: I made some progresses, but not enough I mounted the Fedora 40 / and cp -a /mnt/fedrao40/boot/loader/entries/* /boot/loader/entries cat /boot/loader/entries/dcdc9ed7e87243ec91d6d876cf7c3384-6.8.9-100.fc38.x86_64.conf title Fedora Linux (6.8.11-

Re: grub2-mkconfig

2024-06-04 Thread Patrick Dupre via users
> You can run e.g. blkid -U "0ab8c5a6-a344-48f8-afca-e6187c589cde" to find > > > out. > > > Or run "blkid" and skim over the output. > > This is sda4 where Fedora 38 is installed (sda4) > > There are two entries! What about the second entry with

Re: grub2-mkconfig

2024-06-04 Thread Michael Schwendt
On Tue, 4 Jun 2024 14:11:22 +0200, Patrick Dupre via users wrote: > > On Tue, 4 Jun 2024 13:11:03 +0200, Patrick Dupre via users wrote: > > > > > search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 > > > --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 > > > 0ab8c5a6-a344-48f8-afca-

Re: grub2-mkconfig

2024-06-04 Thread Barry
> On 4 Jun 2024, at 13:39, Patrick Dupre wrote: > >  > > > On 4 Jun 2024, at 13:11, Patrick Dupre via users > wrote: > > Fedora 38 when I will be sure that I can have control on the full > installation. > The risk is that I lost more control, typically on the installation of sda4 >

Re: grub2-mkconfig

2024-06-04 Thread Patrick Dupre via users
    On 4 Jun 2024, at 13:11, Patrick Dupre via users wrote:   Fedora 38 when I will be sure that I can have control on the full installation. The risk is that I lost more control, typically on the installation of sda4   The way I test out new Fedora releases is to see if the live image w

Re: grub2-mkconfig

2024-06-04 Thread Barry Scott
> On 4 Jun 2024, at 13:11, Patrick Dupre via users > wrote: > > Fedora 38 when I will be sure that I can have control on the full > installation. > The risk is that I lost more control, typically on the installation of sda4 The way I test out new Fedora releases is to see if the live image

Re: grub2-mkconfig

2024-06-04 Thread Patrick Dupre via users
> > On Tue, 4 Jun 2024 13:11:03 +0200, Patrick Dupre via users wrote: > > > search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 > > --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 > > 0ab8c5a6-a344-48f8-afca-e6187c589cde > > else > > search --no-floppy --fs-uuid --set=root > > 0ab8

Re: grub2-mkconfig

2024-06-04 Thread Michael Schwendt
On Tue, 4 Jun 2024 13:11:03 +0200, Patrick Dupre via users wrote: > search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 > --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 > 0ab8c5a6-a344-48f8-afca-e6187c589cde > else > search --no-floppy --fs-uuid --set=root 0ab8c5a6-a344-48f8-afca-

Re: grub2-mkconfig

2024-06-04 Thread Patrick Dupre via users
-rw-r--r--. 1 root root 362 Jun  4 12:26 11b839ed895a4a55a8ef89bc2dcec102-6.8.8-100.fc38.x86_64.conf -rw-r--r--. 1 root root 362 Jun  4 12:26 11b839ed895a4a55a8ef89bc2dcec102-6.8.9-100.fc38.x86_64.conf     As anticipate no Fedora 40 while grub2-mkconfig says Found Fedora Linux 40 (Forty) on /dev

Re: grub2-mkconfig

2024-06-04 Thread Patrick Dupre via users
Spec files that use this variable work correctly even # without a grubenv file, define a fallback kernelopts variable if this has not been set. # # The kernelopts variable in the grubenv file can be modified using the grubby tool or by # executing the grub2-mkconfig tool. For t

Re: grub2-mkconfig

2024-06-04 Thread Michael Schwendt
On Tue, 4 Jun 2024 12:35:37 +0200, Patrick Dupre via users wrote: > but in the generated file (grub.cfg) there is no reference to Fedora 40 > or sdc3 What do you see in the grub2.cfg file section with the "10_linux" header? -- ___ users mailing list --

Re: grub2-mkconfig

2024-06-04 Thread Barry Scott
> On 4 Jun 2024, at 11:35, Patrick Dupre via users > wrote: > > but in the generated file (grub.cfg) there is no reference to Fedora 40 > or sdc3 Fedora use BLS (boot loader specifcations) that are in /boot/loader/entries. grub, by default, scans that folder and adds all the entries to the me

grub2-mkconfig

2024-06-04 Thread Patrick Dupre via users
Hello, I am still stuck with my installation. Question Why grub2-mkconfig says Found Fedora Linux 36 (Workstation Edition) on /dev/sdb11 Found Fedora Linux 40 (Forty) on /dev/sdc3 Found Fedora Linux 36 (Workstation Edition) on /dev/mapper/VolSys_2-root Adding boot menu entry for UEFI Firmware

Re: grub2-mkconfig Strange Message

2023-06-16 Thread George N. White III
38, having not put any on for a week or so, after upgrading from F37 via >> dnf system-upgrade a couple of weeks ago. >> After putting on the maintenance I used grub2-mkconfig to build the >> grub.cfg file and got the message below after it notified of finding the >> l

Re: grub2-mkconfig Strange Message

2023-06-15 Thread Stephen Morris
couple of weeks ago.     After putting on the maintenance I used grub2-mkconfig to build the grub.cfg file and got the message below after it notified of finding the linux kernels, does anyone know what this means and why they are being produced from the released version of grub2

Re: grub2-mkconfig Strange Message

2023-06-15 Thread Stephen Morris
On 10/6/23 11:11, Tom Horsley wrote: On Sat, 10 Jun 2023 10:53:58 +1000 Stephen Morris wrote: fgrep: warning: fgrep is obsolescent; using grep -F It means OCD linux geeks have decided they ought to remove an option used for decades in uncounted thousands of shell scripts because they don't lik

Re: grub2-mkconfig Strange Message

2023-06-11 Thread Michael D. Setzer II via users
On 11 Jun 2023 at 16:24, George N. White III wrote: From: "George N. White III" Date sent: Sun, 11 Jun 2023 16:24:45 -0300 Subject: Re: grub2-mkconfig Strange Message To: Community support for Fedora users Send reply to: Community support for Fedora users > &g

Re: grub2-mkconfig Strange Message

2023-06-11 Thread George N. White III
e maintenance I used grub2-mkconfig to build the > grub.cfg file and got the message below after it notified of finding the > linux kernels, does anyone know what this means and why they are being > produced from the released version of grub2-mkconfig, the process I ran > after the mainte

Re: grub2-mkconfig Strange Message

2023-06-10 Thread Tom Horsley
On Sat, 10 Jun 2023 19:41:34 +0200 Ralf Corsépius wrote: > You mean, after a 15 years period of deprecation Yes, I always examine ever single shell script I have and google for any potential deprecations for every command I use every time there is an update. _

Re: grub2-mkconfig Strange Message

2023-06-10 Thread Ralf Corsépius
Am 10.06.23 um 03:11 schrieb Tom Horsley: On Sat, 10 Jun 2023 10:53:58 +1000 Stephen Morris wrote: fgrep: warning: fgrep is obsolescent; using grep -F It means OCD linux geeks have decided they ought to remove an option used for decades in uncounted thousands of shell scripts because they d

Re: grub2-mkconfig Strange Message

2023-06-09 Thread Tom Horsley
On Sat, 10 Jun 2023 10:53:58 +1000 Stephen Morris wrote: > fgrep: warning: fgrep is obsolescent; using grep -F It means OCD linux geeks have decided they ought to remove an option used for decades in uncounted thousands of shell scripts because they don't like it. They've done the same with egrep

grub2-mkconfig Strange Message

2023-06-09 Thread Stephen Morris
Hi,     I have just used dnf to put on the currently available maintenance in F38, having not put any on for a week or so, after upgrading from F37 via dnf system-upgrade a couple of weeks ago.     After putting on the maintenance I used grub2-mkconfig to build the grub.cfg file and got the

Re: grub2-mkconfig

2023-06-04 Thread Stephen Morris
" To: "Community support for Fedora users" Cc: "stan" Subject: Re: grub2-mkconfig try typing vgs/lvs/pvs and see if that also gets the warning. Some prior centos version did also have this error for a while, I never noticed any real issue with the programs reporting

Re: grub2-mkconfig

2023-06-03 Thread Patrick Dupre
> Sent: Saturday, June 03, 2023 at 8:11 PM > From: "Roger Heflin" > To: "Community support for Fedora users" > Cc: "stan" > Subject: Re: grub2-mkconfig > > try typing vgs/lvs/pvs and see if that also gets the warning. > Some prior centos

Re: grub2-mkconfig

2023-06-03 Thread Roger Heflin
240388]) leaked on vgs invocation. Parent > > PID 75317: grub2-probe > > > > when I run grub2-mkconfig > > I have /boot/efi (UEFI) on /dev/sda3 (in fat16) > > and > > grub2 core.img on /dev/sda1 > > > > Can I fix this? > > > > In addition, > >

Re: grub2-mkconfig

2023-06-03 Thread stan via users
On Fri, 2 Jun 2023 13:18:47 +0200 Patrick Dupre wrote: > Hello, > > On a machine with a triple boot (an 3 HD, all fedora), I get a > bunches of > > File descriptor 3 (pipe:[240388]) leaked on vgs invocation. Parent > PID 75317: grub2-probe > > when I run grub2-

grub2-mkconfig

2023-06-02 Thread Patrick Dupre
Hello, On a machine with a triple boot (an 3 HD, all fedora), I get a bunches of File descriptor 3 (pipe:[240388]) leaked on vgs invocation. Parent PID 75317: grub2-probe when I run grub2-mkconfig I have /boot/efi (UEFI) on /dev/sda3 (in fat16) and grub2 core.img on /dev/sda1 Can I fix this

Re: F30 Grub2-mkconfig and Grub2-install not Working Correctly?

2019-05-29 Thread Stephen Morris
On 28/5/19 3:17 am, ja wrote: On Mon, 2019-05-27 at 19:10 +0200, Tom H wrote: On 23/5/19 9:07 pm, Tom H wrote: I haven't tried it but setting "GRUB_ENABLE_BLSCFG=false" "/etc/default/grub" _should_ (given the variable's name) allow "grub2-mkconfig&qu

Re: F30 Grub2-mkconfig and Grub2-install not Working Correctly?

2019-05-27 Thread Chris Murphy
On Mon, May 27, 2019 at 10:37 PM Chris Murphy wrote: > > On Thu, May 23, 2019 at 5:08 AM Tom H wrote: > > > > I haven't tried it but setting "GRUB_ENABLE_BLSCFG=false" > > "/etc/default/grub" _should_ (given the variable's name) allow >

Re: F30 Grub2-mkconfig and Grub2-install not Working Correctly?

2019-05-27 Thread Chris Murphy
On Thu, May 23, 2019 at 5:08 AM Tom H wrote: > > I haven't tried it but setting "GRUB_ENABLE_BLSCFG=false" > "/etc/default/grub" _should_ (given the variable's name) allow > "grub2-mkconfig" give you an upstream-style "grub.cfg". It

Re: F30 Grub2-mkconfig and Grub2-install not Working Correctly?

2019-05-27 Thread ja
On Mon, 2019-05-27 at 19:10 +0200, Tom H wrote: > > On 23/5/19 9:07 pm, Tom H wrote: > > > I haven't tried it but setting "GRUB_ENABLE_BLSCFG=false" > > > "/etc/default/grub" _should_ (given the variable's name) allow > > > "gr

Re: F30 Grub2-mkconfig and Grub2-install not Working Correctly?

2019-05-27 Thread Tom H
> On 23/5/19 9:07 pm, Tom H wrote: >> >> I haven't tried it but setting "GRUB_ENABLE_BLSCFG=false" >> "/etc/default/grub" _should_ (given the variable's name) allow >> "grub2-mkconfig" give you an upstream-style "grub.cfg"

Re: F30 Grub2-mkconfig and Grub2-install not Working Correctly?

2019-05-27 Thread Stephen Morris
. Grub2-mkconfig and grub2-install no longer seem to generate the grub menu as they did under F29, the menu seems to be that generated by grubby (it could be that turning off the suppression of sub-menu creation is now being ignored). Looking at /boot/grub2/grub.cfg I cannot see any references in

Re: F30 Grub2-mkconfig and Grub2-install not Working Correctly?

2019-05-23 Thread Tom H
On Thu, May 23, 2019 at 11:12 AM Stephen Morris wrote: > On 23/5/19 3:49 pm, Tom H wrote: >> On Thu, May 23, 2019 at 12:55 AM Stephen Morris >> wrote: >>> >>> I have upgraded from F29 to F30 via the recommenced dnf method. I >>> have Fedora running i

Re: F30 Grub2-mkconfig and Grub2-install not Working Correctly?

2019-05-23 Thread Stephen Morris
On 23/5/19 3:49 pm, Tom H wrote: On Thu, May 23, 2019 at 12:55 AM Stephen Morris wrote: I have upgraded from F29 to F30 via the recommenced dnf method. I have Fedora running in a vm under vmware player. Grub2-mkconfig and grub2-install no longer seem to generate the grub menu as they did under

Re: F30 Grub2-mkconfig and Grub2-install not Working Correctly?

2019-05-22 Thread Tom H
On Thu, May 23, 2019 at 12:55 AM Stephen Morris wrote: > > I have upgraded from F29 to F30 via the recommenced dnf method. I > have Fedora running in a vm under vmware player. Grub2-mkconfig and > grub2-install no longer seem to generate the grub menu as they did > under F29, the m

F30 Grub2-mkconfig and Grub2-install not Working Correctly?

2019-05-22 Thread Stephen Morris
Hi,     I have upgraded from F29 to F30 via the recommenced dnf method. I have Fedora running in a vm under vmware player. Grub2-mkconfig and grub2-install no longer seem to generate the grub menu as they did under F29, the menu seems to be that generated by grubby (it could be that turning

Re: F28 server boots to the grub prompt even after dnf update and grub2-mkconfig

2018-11-28 Thread Berend De Schouwer
On Tue, 2018-11-27 at 16:17 -0700, linux guy wrote: > Interesting. /boot/efi/EFI/fedora/grub.cfg didn't exist on my > workstation. But /etc/grub2-efi.cfg points to it ! /boot/efi > existed, but it was empty. This means that either /boot/efi/ isn't mounted after you reboot (check /etc/fstab)

Re: F28 server boots to the grub prompt even after dnf update and grub2-mkconfig

2018-11-27 Thread Samuel Sieb
On 11/27/18 3:17 PM, linux guy wrote: Interesting.  /boot/efi/EFI/fedora/grub.cfg didn't exist on my workstation.  But /etc/grub2-efi.cfg points to it !   /boot/efi existed, but it was empty. How are you booting into it right now to do this? Btw, both grub.cfg symlinks are always created whet

Re: F28 server boots to the grub prompt even after dnf update and grub2-mkconfig

2018-11-27 Thread linux guy
Interesting. /boot/efi/EFI/fedora/grub.cfg didn't exist on my workstation. But /etc/grub2-efi.cfg points to it ! /boot/efi existed, but it was empty. I created /boot/efi/EFI/fedora/. I ran grub2-mkconfig -o/boot/grub2/grub.cfg It ran without error. I rebooted using shutdown -r n

Re: F28 server boots to the grub prompt even after dnf update and grub2-mkconfig

2018-11-27 Thread linux guy
Thank you. On Mon, Nov 26, 2018 at 11:12 PM Samuel Sieb wrote: > On 11/26/18 7:56 PM, linux guy wrote: > > It still boots to the grub prompt, even when I use -o > /boot/grub2/grub.cfg > > That is still the wrong file. You need either > /boot/efi/EFI/fedora/grub.cfg > or > /etc/grub2-efi.cfg whi

Re: F28 server boots to the grub prompt even after dnf update and grub2-mkconfig

2018-11-26 Thread Samuel Sieb
On 11/26/18 7:56 PM, linux guy wrote: It still boots to the grub prompt, even when I use -o /boot/grub2/grub.cfg That is still the wrong file. You need either /boot/efi/EFI/fedora/grub.cfg or /etc/grub2-efi.cfg which is a symlink to the first one. __

Re: F28 server boots to the grub prompt even after dnf update and grub2-mkconfig

2018-11-26 Thread linux guy
)/initramfs-0-rescueimg > > grub>boot > > > > I can get networking working > > #ls /sys/call/net <- find Ethernet device is enp3s0 > > # ifup enp3s0 > > # ping www.google.com > > > > Now update it > > # dnf update > > Does dnf

Re: F28 server boots to the grub prompt even after dnf update and grub2-mkconfig

2018-11-26 Thread linux guy
It still boots to the grub prompt, even when I use -o /boot/grub2/grub.cfg On Thu, Nov 1, 2018 at 1:33 PM linux guy wrote: > I was running grub2-mkconfig. I did not use -o. > > I never even thought of that. I was running it from the wrong directory > ! Good catch. Thanks

Re: F28 server boots to the grub prompt even after dnf update and grub2-mkconfig

2018-11-01 Thread linux guy
I was running grub2-mkconfig. I did not use -o. I never even thought of that. I was running it from the wrong directory ! Good catch. Thanks for replying. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users

Re: F28 server boots to the grub prompt even after dnf update and grub2-mkconfig

2018-10-31 Thread Tom H
s0 > # ifup enp3s0 > # ping www.google.com > > Now update it > # dnf update > > Regenerate the grub2 config file > # grub2-mkconfig Are you running this exact command? Or are you running "grub2-mkconfig -o /boot/grub2/grub.cfg"? > Reboot > # shutdown -r no

Re: F28 server boots to the grub prompt even after dnf update and grub2-mkconfig

2018-10-30 Thread stan
net device is enp3s0 > # ifup enp3s0 > # ping www.google.com > > Now update it > # dnf update Does dnf give any errors because of the interrupted update? > > Regenerate the grub2 config file > # grub2-mkconfig > > Reboot > # shutdown -r now > > It still b

F28 server boots to the grub prompt even after dnf update and grub2-mkconfig

2018-10-30 Thread linux guy
. root=/dev/mapper/fedora-root grub>initrdefi (hd0,gpt2)/initramfs-0-rescueimg grub>boot I can get networking working #ls /sys/call/net <- find Ethernet device is enp3s0 # ifup enp3s0 # ping www.google.com Now update it # dnf update Regenerate the grub2 config file # grub2-m

Re: grub2-mkconfig

2018-07-27 Thread Samuel Sieb
On 07/27/2018 11:44 AM, Patrick Dupre wrote: On 07/27/2018 11:19 AM, Patrick Dupre wrote: On 07/27/2018 04:14 AM, Patrick Dupre wrote: If I run a system on VolSys1-root, and if I run grub2-mkconfig with GRUB_CMDLINE_LINUX="rd.lvm.lv=VolSys0/root nouveau.modeset=0" in /etc/default/gru

Re: grub2-mkconfig

2018-07-27 Thread Patrick Dupre
> On 07/27/2018 11:19 AM, Patrick Dupre wrote: > >> > >> On 07/27/2018 04:14 AM, Patrick Dupre wrote: > >>> If I run a system on VolSys1-root, and if I run grub2-mkconfig > >>> with > >>> GRUB_CMDLINE_LINUX="rd.lvm.lv=VolSys0/roo

Re: grub2-mkconfig

2018-07-27 Thread Samuel Sieb
On 07/27/2018 11:19 AM, Patrick Dupre wrote: On 07/27/2018 04:14 AM, Patrick Dupre wrote: If I run a system on VolSys1-root, and if I run grub2-mkconfig with GRUB_CMDLINE_LINUX="rd.lvm.lv=VolSys0/root nouveau.modeset=0" in /etc/default/grub I get in grub.cfg linux16 /vmlinuz-4.16.1

Re: grub2-mkconfig

2018-07-27 Thread Patrick Dupre
> > On 07/27/2018 04:14 AM, Patrick Dupre wrote: > > If I run a system on VolSys1-root, and if I run grub2-mkconfig > > with > > GRUB_CMDLINE_LINUX="rd.lvm.lv=VolSys0/root nouveau.modeset=0" > > in /etc/default/grub > > I get in grub.cfg > > &g

Re: grub2-mkconfig

2018-07-27 Thread Samuel Sieb
On 07/27/2018 04:14 AM, Patrick Dupre wrote: If I run a system on VolSys1-root, and if I run grub2-mkconfig with GRUB_CMDLINE_LINUX="rd.lvm.lv=VolSys0/root nouveau.modeset=0" in /etc/default/grub I get in grub.cfg linux16 /vmlinuz-4.16.11-100.fc26.x86_64 root=/dev/mapper/VolSy

grub2-mkconfig

2018-07-27 Thread Patrick Dupre
Hello, If I run a system on VolSys1-root, and if I run grub2-mkconfig with GRUB_CMDLINE_LINUX="rd.lvm.lv=VolSys0/root nouveau.modeset=0" in /etc/default/grub I get in grub.cfg linux16 /vmlinuz-4.16.11-100.fc26.x86_64 root=/dev/mapper/VolSys1-root ro rd.lvm.lv=VolSys0/root nouveau

Re: grub2-mkconfig

2018-02-25 Thread Ed Greshko
On 02/26/18 07:48, Celso Viana wrote: > Is there no more "grub2-mkconfig" in Fedora 27? dnf is your friend egreshko@meimei system]$ dnf whatprovides *bin/grub2-mkconfig Last metadata expiration check: 0:56:28 ago on Mon 26 Feb 2018 06:54:20 AM CST. grub2-tools-1:2.02-2

grub2-mkconfig

2018-02-25 Thread Celso Viana
Hi all, Is there no more "grub2-mkconfig" in Fedora 27? Thanks -- Celso Vianna BSD User: 51318 http://www.bsdcounter.org Palmas/TO ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email t

Re: Interaction between grubby and grub2-mkconfig

2018-01-21 Thread Tom H
On Sat, Jan 20, 2018 at 10:47 AM, Tom Horsley wrote: > On Sat, 20 Jan 2018 10:24:26 -0500 > Sam Varshavchik wrote: >> >> Did anyone use grub2-mkconfig before, to generate a new grub.cfg, and then >> subsequently installed kernels new without grubby causing any issues? >

Re: Interaction between grubby and grub2-mkconfig

2018-01-21 Thread Tom H
doesn't know anything about it. "/etc/default/grub" is used by "grub2-mkconfig" and not by "grubby". > If I run grub2-mkconfig, it generates something completely different > from the existing grub.cfg. I have not analyzed the differences, but >

Re: Interaction between grubby and grub2-mkconfig

2018-01-21 Thread Stephen Morris
On 21/1/18 12:50 pm, stan wrote: On Sun, 21 Jan 2018 11:30:46 +1100 Stephen Morris wrote: I have always used grub2-mkconfig and the old grub equivalent as I have never liked the boot menus that grubby generates. The one thing I don't like about this process is that I also boot Ubunt

Re: Interaction between grubby and grub2-mkconfig

2018-01-20 Thread stan
On Sun, 21 Jan 2018 11:30:46 +1100 Stephen Morris wrote: > I have always used grub2-mkconfig and the old grub equivalent as I > have never liked the boot menus that grubby generates. The one thing > I don't like about this process is that I also boot Ubuntu and > Windows from

Re: Interaction between grubby and grub2-mkconfig

2018-01-20 Thread Stephen Morris
On 21/1/18 4:58 am, stan wrote: On Sat, 20 Jan 2018 10:24:26 -0500 Sam Varshavchik wrote: Did anyone use grub2-mkconfig before, to generate a new grub.cfg, and then subsequently installed kernels new without grubby causing any issues? Yes, I've done this without any problems. Grubby

Re: Interaction between grubby and grub2-mkconfig

2018-01-20 Thread stan
On Sat, 20 Jan 2018 10:24:26 -0500 Sam Varshavchik wrote: > Did anyone use grub2-mkconfig before, to generate a new grub.cfg, and > then subsequently installed kernels new without grubby causing any > issues? Yes, I've done this without any problems. Grubby puts the latest en

Re: Interaction between grubby and grub2-mkconfig

2018-01-20 Thread Tom Horsley
On Sat, 20 Jan 2018 10:24:26 -0500 Sam Varshavchik wrote: > Did anyone use grub2-mkconfig before, to generate a new grub.cfg, and then > subsequently installed kernels new without grubby causing any issues? I never use /etc/default/grub, I always edit the grub.cfg file by hand. The whole

Interaction between grubby and grub2-mkconfig

2018-01-20 Thread Sam Varshavchik
appears to be responsible for updating grub.cfg, and it does that, apparently (not 100% sure) by cloning existing kernel entries; and the /etc/default/grub file comes from the grub2-tool package, and grubby doesn't know anything about it. If I run grub2-mkconfig, it generates something compl

Re: parallel of grub2-mkconfig in older fedora release which has grub and not grub2

2016-07-12 Thread Stephen Morris
On 13/07/16 04:24, Tom H wrote: On Mon, Jul 11, 2016 at 3:55 PM, Chris Murphy wrote: The built-in method to discover and create menu entries for other Linux's is suboptimal. If you update the kernel on any of those distros, it's not reflected in the GRUB menu because each distro only updates it

Re: parallel of grub2-mkconfig in older fedora release which has grub and not grub2

2016-07-12 Thread Tom H
On Mon, Jul 11, 2016 at 3:55 PM, Chris Murphy wrote: > > The built-in method to discover and create menu entries for other > Linux's is suboptimal. If you update the kernel on any of those > distros, it's not reflected in the GRUB menu because each distro only > updates its own grub.cfg; and the G

Re: parallel of grub2-mkconfig in older fedora release which has grub and not grub2

2016-07-12 Thread Samuel Sieb
On 07/11/2016 01:19 PM, stan wrote: In the old grub, there used to be a command to switch immediately to the configuration file for another installation. I looked for how I used to do that, but I haven't got any installations with old grub left. It's been years since fedora switched to grub2.

Re: parallel of grub2-mkconfig in older fedora release which has grub and not grub2

2016-07-11 Thread stan
On Mon, 11 Jul 2016 16:45:55 +0300 Kevin Wilson wrote: > Hi, > Thanks Todd. > The thing is that now CentOS is installed and it is the current > control and it indeed uses an older grub. So what do you suggest ? In the old grub, there used to be a command to switch immediately to the configuratio

Re: parallel of grub2-mkconfig in older fedora release which has grub and not grub2

2016-07-11 Thread Tod Merley
of the Fedora 24 net installs or server DVD, go > to Troubleshooting in the boot menu, then choose to rescue a fedora > system, and that will help assemble Fedora from fstab at /mnt/sysimage > and then just 'chroot /mnt/sysimage' rather than assembling it by > hand. > >

Re: parallel of grub2-mkconfig in older fedora release which has grub and not grub2

2016-07-11 Thread Chris Murphy
4 net installs or server DVD, go to Troubleshooting in the boot menu, then choose to rescue a fedora system, and that will help assemble Fedora from fstab at /mnt/sysimage and then just 'chroot /mnt/sysimage' rather than assembling it by hand. grub2-install grub2-mkconfig -o /boot/gr

Re: parallel of grub2-mkconfig in older fedora release which has grub and not grub2

2016-07-11 Thread Chris Murphy
dev/sdX Try including the patch in this bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1353026 And then run grub2-mkconfig -o /boot/grub2/grub.cfg > That I will reinstall Ubuntu on Fedora on the current machine so they > will the "current control"? It is quite a hassle as ther

Re: parallel of grub2-mkconfig in older fedora release which has grub and not grub2

2016-07-11 Thread Tod Merley
If you have a Fedora live disk you can boot to that and use the chroot method to install grub from your Fedora install on your disk. A bit more complicated but good tutorials out there. Things are always complicated when you do several distros on a single disk. A bit easier if separate disks. Y

Re: parallel of grub2-mkconfig in older fedora release which has grub and not grub2

2016-07-11 Thread Tod Merley
Ok, I meant to say "Google is our friend". I consider myself your friend but the time to put together tutorials on procedures where many already exist is not what I plan to do today. On Mon, Jul 11, 2016 at 10:36 AM, Tod Merley wrote: > It sounds like your "most recent" distro is Fedora - so -

Re: parallel of grub2-mkconfig in older fedora release which has grub and not grub2

2016-07-11 Thread Tod Merley
It sounds like your "most recent" distro is Fedora - so - re-install grub from Fedora. Google is your friend. On Mon, Jul 11, 2016 at 6:45 AM, Kevin Wilson wrote: > Hi, > Thanks Todd. > The thing is that now CentOS is installed and it is the current > control and it indeed uses an older grub. S

Re: parallel of grub2-mkconfig in older fedora release which has grub and not grub2

2016-07-11 Thread Kevin Wilson
Hi, Thanks Todd. The thing is that now CentOS is installed and it is the current control and it indeed uses an older grub. So what do you suggest ? That I will reinstall Ubuntu on Fedora on the current machine so they will the "current control"? It is quite a hassle as there is no free partition fo

Re: parallel of grub2-mkconfig in older fedora release which has grub and not grub2

2016-07-10 Thread Tod Merley
I mean run "update-grub" from the Ubuntu distribution. It is the control. On Sun, Jul 10, 2016 at 11:38 AM, Tod Merley wrote: > On a multi-boot machine the big question is “who controls the boot > process”. > > > My “big box” has two SSD (Ubuntu, CentOS) a 1T HDD (eight Linux partitions > if me

Re: parallel of grub2-mkconfig in older fedora release which has grub and not grub2

2016-07-10 Thread Tod Merley
On a multi-boot machine the big question is “who controls the boot process”. My “big box” has two SSD (Ubuntu, CentOS) a 1T HDD (eight Linux partitions if memory serves) and a small clunky HDD with W7. In this case I choose Ubuntu to control the boot process and understand that if I update the

parallel of grub2-mkconfig in older fedora release which has grub and not grub2

2016-07-10 Thread Kevin Wilson
Hello, On a machine with Fedora 23 grub2, I use "grub2-mkconfig -o /boot/grub2/grub.cfg" in order to update /boot/grub2/grub.cfg if there are changes in /etc/default/grub. Running this command also sees to it that if there are other installations of Linux on the machine, and if the

Re: grub2-mkconfig

2015-02-08 Thread Chris Murphy
And even *better* would be to disable 30_os-prober, and instead of copy pasting corrected grub2-mkconfig output into /etc/grub.d/40_custom, would be to create menuentries using the configfile command that point to the real grub.cfg for each distro on your system. That way you use that distro&#

Re: grub2-mkconfig

2015-02-08 Thread Chris Murphy
run grub2-mkconfig. This will cause it to use the statically generated /etc/grub.d/40_custom corrected contents, and not run /etc/grub.d/30_os-prober. You can disable 30_os-prober by editing /etc/default/grub and adding GRUB_DISABLE_OS_PROBE="true" The next time you run grub2-mkconfi

Re: grub2-mkconfig

2015-02-08 Thread Patrick Dupre
ue, France === > Sent: Sunday, February 08, 2015 at 5:41 PM > From: "Chris Murphy" > To: "Community support for Fedora users" > Subject: Re: grub2-mkconfig > > On S

Re: grub2-mkconfig

2015-02-08 Thread Chris Murphy
n16 > rd.lvm.lv=VolGrpSys0/root LANG=en_US.UTF-8 What the hell? Every Fedora 20 entry says VolGrpSys2-root in the description, but the kernel parameter line uses VolGrpSys0-root. This is why I hate multibooting and find it fundamentally flawed and perilous. Better to use VMs. Anyway, you might get

Re: grub2-mkconfig

2015-02-08 Thread Patrick Dupre
x27; x = x ']' + pkgdatadir=/usr/share/grub + grub_cfg= + grub_mkconfig_dir=/etc/grub.d ++ basename grub2-mkconfig + self=grub2-mkconfig + grub_probe=/usr/sbin/grub2-probe + grub_file=/usr/bin/grub2-file + grub_editenv=/usr/bin/grub2-editenv + grub_script_check=/usr/bin/grub2-script-check + ex

  1   2   >