Displaying 20 results from an estimated 42 matches for "40_custom".
2019 Nov 18
1
40_custom be the default option
Hi All - I have my 40_custom file setup. What is a good way to make that
the default boot option ?
I'd rather not count menu option lines and change GRUB_DEFAULT to that - as
I am doing this remote.
Thanks
Jerry
2018 Nov 11
1
Multiple grub2 Users with Passwords
...with passwords for modifying grub2
menu entries at boot. I know I can set a "root" user grub2 password with
grub2-setpassword. I have also been able to make a grub2 user password
using the grub2-mkpasswd-pbkdf2 command and adding
??? set superusers="user1"
to the /etc/grub.d/40_custom file. However, I have multiple user
administrators that will possibly need access to grub at boot (i.e. to
boot to single user mode to fix a broken configuration file). I've tried
generating two different passwords with grub2-mkpasswd-pbkdf2 and adding:
??? set superusers="user1, user2&qu...
2012 Apr 19
5
Xen on EC2 | Debian Squeeze AMD 64
...5-xen-amd64
config-2.6.32-5-xen-amd64
vmlinuz-2.6.32-5-xen-amd64
grub
xen-4.0-amd64.gz
And my menu.lst looks like this :
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/40_custom ###
default 0
timeout 1
title 2.6.32-5-xen-amd64
root (hd0)
kernel /boot/vmlinuz-2.6.32-5-xen-amd64 root=/dev/xvda1 ro
initrd /boot/initrd.img-2.6.32-5-xen-amd64
### END /etc/grub.d/40_custom ###
I have been trying to get around this but ... nothing works !
Any help would be much appreciat...
2010 Sep 27
1
Installing Xen4.0.1 on Ubuntu 10.04 LTS issues (VGA crashes at boot-up)
...e controller: Intel Corporation 4 Series Chipset
Integrated Graphics Controller (rev 03)
I did some Google search and people had suggested to use the "nomodeset" and
the "i915.modeset=0" options in the grub file in order to disable the KMS.
Accordingly, I changed my /etc/grub.d/40_custom file to:
$ more /etc/grub.d/40_custom
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type
the
# menu entries you want to add after this comment. Be careful not to change
# the ''exec tail'' line above.
menuentry ''Xen 4.0...
2015 Mar 02
0
installing C7 on a laptop with Win7, dual boot
...he user in
this sort of madness. On Linux, it's like, we step on our own tails, we
step on every distro's tails, we make this completely crazy complex and
things don't work (automatically).
What *I* would do >> I would use the Fedora GRUB instance as primary. And I
would have its 40_custom include the proper lines for Windows 7, and an
additional entry in 40_custom for CentOS using the configfile command to
point to the CentOS grub.cfg.
That way you have a single GRUB menu that always has up-to-date kernels.
The kernel updater only updates the distro specific grub.cfg, so using
con...
2015 Mar 02
3
installing C7 on a laptop with Win7, dual boot
...when one of those rare occasions pops up.
>> >
>> > Thanks in advance!
>> >
>> > Fred
>>
>> I too encountered this issue putting centos7 on a win7 machine.
>> The solution is to:
>>
>> edit:
>>
>> /etc/grub.d/40_custom
>>
>> putting in:
>>
>> menuentry 'name' {
>>
>> insmod ntfs
>>
>> set root=(hd0,2)
>>
>> chainloader +1
>>
>> }
>>
>> note: "name" can be anything you want (within reaso...
2014 Jul 19
1
installer and os-prober not finding Windows XP installation
...39;t set up a Grub2 entry for
the existing Windows XP installation in the first partition (MBR).
Running os-prober generates no output.
fdisk shows that the NTFS partition is still present as /dev/sda1, and
still has the bootable flag set.
I added a menuentry for Windows to the end of /etc/grub.d/40_custom:
menuentry "Windows" {
set root=(hd0,1)
chainloader +1
}
and ran:
grub2-mkconfig >/boot/grub2/grub.cfg
and that lets me boot Windows, but I thought this was supposed to be
taken care of automatically. Is there any known problem that prevents
the installer or Grub2 from finding Win...
2011 Aug 10
2
memdisk - grub2
...ial ramdisk...'
}
I've done a lot of google searches and even downloaded the source trying to get a glimmer of the
syntax - so far with out joy...
I've verified the set root and lvm part is right with normal boot setups..
I tried putting a copy of memdisk in /boot/
If anyone has a 40_custom file that boots iso using in memdisk.mod - please post it. Everything I
find is for grub1..
--------------------------------------------------------------------------------
Karl Schmidt EMail Karl at xtronics.com
Transtronics, Inc....
2013 Sep 29
2
Bug#603391: Workaround PyGrub issue
...gle
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.2.0-4-amd64
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ];...
2016 Apr 19
6
Dual boot C7 with Window 10
...y)
I installed C7, went fine. About the time it was done I realized I never
saw anything about "other" boot options (seems I saw that in the past).
Anyway sure enough, got done and C7 boots fine - no option there for
Windows. I did searching and found I needed to add to the
/etc/grub.d/40_custom the following:
menuentry "Windows 10" {
set root='(hd0,1)'
chainloader +1
}
then re-run the grub2-mkconfig -o /boot/grub2/grub.cfg
I then rebooted and sure enough I got the menu item for "Windows 10"
however when I select it it does not boot.
How do I get Wind...
2011 Jan 28
3
Transitioning from multi-boot to Xen
...the debian wiki.
Now, I am a confused as to what to do next.
The laptop currently boots off of the default grub2 bootloader installed
in the /dev/sda5 ubuntu 10.10 partition. I understand I need to manually
add a ‘Xen’ stanza pointing to /dev/sda7 and the Xen kernel to for
instance /etc/grub.d/40_custom - and run ‘update-grub’ so that I end up
with the corresponding entry in /boot/grub/grub.cfg, but I can''t seem to
find any sample or description of how I should code this additional
stanza.
By fiddling with grub interactively, I eventually came up with a stanza
that looks something like:...
2019 Oct 15
3
Hiding a grub menuentry?
Does anyone know if it is possible to 'hide' a grub menuentry with
CentOS 7 ?
I have a custom menuentry that I don't want to be seen on the grub
screen - but it needs to be selectable as the entry to boot via
'grub2-reboot'
I've scanned the grub2 documentation - but I can't find anything obvious
- so I'm guessing it can't be done - unless someone knows
2010 Jul 13
9
Xen 4 Ubuntu Lucid panics
I have tried 4 time unsuccessfully to install Xen 4 on Ubuntu Lucid (10.4) 64
bit version using the tutorial at
http://bderzhavets.wordpress.com/2010/04/24/set-up-ubuntu-10-04-server-pv-domu-at-xen-4-0-dom0-pvops-2-6-32-10-kernel-dom0-on-top-of-ubuntu-10-04-server/
on a Lenovo thinkcentre workstation.
When I boot I get a kernel panic. If I boot the Linux kernel that I compiled
using the
2013 Jun 26
1
[PATCH] pygrub: add fedora 19 grub.cfg example
...D /etc/grub.d/10_linux ###
+
+### BEGIN /etc/grub.d/20_linux_xen ###
+
+### END /etc/grub.d/20_linux_xen ###
+
+### BEGIN /etc/grub.d/20_ppc_terminfo ###
+### END /etc/grub.d/20_ppc_terminfo ###
+
+### BEGIN /etc/grub.d/30_os-prober ###
+### END /etc/grub.d/30_os-prober ###
+
+### BEGIN /etc/grub.d/40_custom ###
+# This file provides an easy way to add custom menu entries. Simply type the
+# menu entries you want to add after this comment. Be careful not to change
+# the ''exec tail'' line above.
+### END /etc/grub.d/40_custom ###
+
+### BEGIN /etc/grub.d/41_custom ###
+if [ -f ${con...
2013 Sep 22
0
UEFI boot - no console will be available to OS
...9;'Loading initial ramdisk ...''
initrd /boot/initramfs-linux.img
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the ''exec tail'' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_dir...
2013 Oct 10
1
[PATCH] pygrub: Support (/dev/xvda) style disk specifications
...initial ramdisk ...''
+ initrd /boot/initrd.img-3.2.0-4-amd64
+}
+### END /etc/grub.d/10_linux ###
+
+### BEGIN /etc/grub.d/20_linux_xen ###
+### END /etc/grub.d/20_linux_xen ###
+
+### BEGIN /etc/grub.d/30_os-prober ###
+### END /etc/grub.d/30_os-prober ###
+
+### BEGIN /etc/grub.d/40_custom ###
+# This file provides an easy way to add custom menu entries. Simply type the
+# menu entries you want to add after this comment. Be careful not to change
+# the ''exec tail'' line above.
+### END /etc/grub.d/40_custom ###
+
+### BEGIN /etc/grub.d/41_custom ###
+if [ -f $pref...
2015 Mar 02
1
installing C7 on a laptop with Win7, dual boot
...t;
> It's not that I use the win7 installation much, but I do want to
> be able to do so when one of those rare occasions pops up.
>
> Thanks in advance!
>
> Fred
I too encountered this issue putting centos7 on a win7 machine. The
solution is to:
edit:
/etc/grub.d/40_custom
putting in:
menuentry 'name' {
insmod ntfs
set root=(hd0,2)
chainloader +1
}
note: "name" can be anything you want (within reason), and is the
name that will show in the boot menu.
the values here:
root=(hd0,2)
will vary based on your disk setup....
2011 Oct 09
3
GRUB2 configuration for Xen 4 on Ubuntu Linux 10.04
Hello,
I have installed the Xen 4.1.1 and a working kernel 2.6.32.43 which supports
Xen on a Ubuntu Linux 10.04 LTS. However, I have never successfully booted
the Hypervisor and Dom0. The screen is always black after some kernel
messages rapidly go by. I think that I may pass the wrong parameters to the
kernel or Hypervisor with GRUB2.
Can any one share his/her working grub.cfg for GRUB2 with
2013 Oct 01
0
Bug#603391: Bug#603391: Workaround PyGrub issue
...ding initial ramdisk ...'
+ initrd /boot/initrd.img-3.2.0-4-amd64
+}
+### END /etc/grub.d/10_linux ###
+
+### BEGIN /etc/grub.d/20_linux_xen ###
+### END /etc/grub.d/20_linux_xen ###
+
+### BEGIN /etc/grub.d/30_os-prober ###
+### END /etc/grub.d/30_os-prober ###
+
+### BEGIN /etc/grub.d/40_custom ###
+# This file provides an easy way to add custom menu entries. Simply type the
+# menu entries you want to add after this comment. Be careful not to change
+# the 'exec tail' line above.
+### END /etc/grub.d/40_custom ###
+
+### BEGIN /etc/grub.d/41_custom ###
+if [ -f $prefix/custom....
2015 Dec 15
2
boot thumbdrive with CentOS 7 ISO???
On 12/14/2015 06:32 PM, Johnny Hughes wrote:
> On 12/14/2015 04:53 PM, ken wrote:
>> On 12/14/2015 05:29 PM, Frank Cox wrote:
>>> On Mon, 14 Dec 2015 17:16:42 -0500 ken wrote:
>>>
>>>> How? I downloaded two (larger) of the three Centos 7 ISOs I could
>>>> find... the only ones I could find. (I listed on names of the ISOs
>>>> in my