Questions tagged [grub]
Console application permitting the user to choose between several installed operating systems.
363
questions
1
vote
0
answers
215
views
GRUB "USB lock" for Linux Full Disk Encryption
Hy everyone.
I'm investigating the possibility of using something like USB hardware locking dongles (like these ones used for software locking and licensing) to provide the key that Grub asks for ...
1
vote
1
answer
89
views
Centos 5.4 wont boot
I have three disks in a centos server but it won boot,I have no grub at all.I tried to install grub with super grub and fix the system with rescatux but in vain.Is there a way to boot into centos?Here ...
0
votes
1
answer
159
views
How can I get into debian to edit grub settings when grub is hidden and shift key does not bring up menu?
I wanted to hide GRUB during boot, so that I can access the list of OS whenever I want to boot something other than the default. I hid GRUB by specifying in /etc/default/grub that
GRUB_TIMEOUT=0
...
0
votes
1
answer
149
views
Centos 6.8 failed reboot dedicated server
Ok so I bought/rent a dedicated server from nocix with Centos 6.8 installed, also came with 2 hard drives sda - 128GB SSD & sdb - 2TB HDD and I think I made a mistake by partitioning the second ...
1
vote
2
answers
6k
views
PXE boot with grub: root variable unset
I configured a dhcp and tftp server, for my tests, I used at first time, syslinux to boot over PXE network successfully.
Now I want to use grub instead of syslinux to boot, in order to do that, I ...
3
votes
2
answers
3k
views
Kernel Panic on CentOS - Google Compute Engine Instance
I'm getting a kernel panic error in a CentOS instance of Google Compute Engine. I'm able to see the error and already figure out how to solve it, but I can't get into the GRUB menu trough the serial ...
0
votes
1
answer
1k
views
How to change boot drive on server with RAID 5 software raid
I have my hardware-owned dedicated server hosted in remote datacenter, running CentOS release 6.4 (Final) with grub (GNU GRUB 0.97). Server has 6 2TB drives with 2 software raids on them - md0 raid 1 ...
1
vote
0
answers
2k
views
Debian 7 can not boot, grub rescue show error: out of partition
Debian 7 amd64 running in VirtualBox 5.0.10, on Windows 8.1 ent x64 host. This VM running more than 1 years. Use basic partition, NOT LVM or any Raid.
Today it's suddenly auto umount all disk, and ...
0
votes
0
answers
259
views
Grub loading error 21
I have a 2-disk software RAID CentOS 6 system that I just installed. When I boot from the disk I get "Error 21" from GRUB. I have run this command on sda and sdb, after booting from the rescue DVD ...
0
votes
1
answer
47
views
How can I start grub using grub on my new installation
I have installed a Scientific Linux 6 (like Centos 6) on my first drive sda and use it as my working linux, in order to continue to user my working ditribution I have Installed a Scientific Linux 7 on ...
2
votes
1
answer
2k
views
Solaris 10 x86 hangs on boot
I have an old server running Solaris 10 x86 64 bit. Haven't had issues with it but recently it was powered off without a clean shutdown. That hasn't been an issue in the past with reboots from the ...
0
votes
1
answer
542
views
Cannot Boot Centos Machine on GCP (Google Compute)
I have a Centos 6 server that's been running fine for 6mths on Google Compute Platform for the past 6mths.
Without a restart - it froze this morning and on reboot is producing the following errors ...
-1
votes
1
answer
909
views
sed + replace value default in grub.conf [closed]
I want to change the default value on all machines to default=0
default value could be any integer number
how to set in the sed syntax that default could be any number
my example ( not working )
...
2
votes
0
answers
399
views
How to ignore ttyS0 in GRUB
I've got some systems that have serial devices attached; when these systems boot, the serial device may be sending data, so GRUB sees this, assumes it's a request to manage the boot process, and sits ...
1
vote
2
answers
5k
views
Linux + how to clean /boot and stay only with the current kernel version files
Under /boot we have the following files ( red-hat Linux version 6.6 )
cd /boot
# ls -ltr
drwx------ 2 root root 12288 Oct 15 2015 lost+found
-rwxr-xr-x 1 root root 4152624 Oct 15 2015 ...
3
votes
2
answers
17k
views
how to configure the grub.cfg file on redhat 7 in order to boot from specific kernel
In Red Hat EL versions 5 and 6 we can easily to update the /etc/grub.conf in case we want to change the kernel by default variable
For example , grub.conf on redhat 5
default=0
timeout=5
#...
2
votes
1
answer
2k
views
Why does my server not boot after moving root fs, inside LVM, to raid?
I'm trying to move my root partition to raid based physical volumes, and
I seem to be failing.
The procedure I'm using is somewhat complicated, but that's because my
hosting provider has very limited ...
3
votes
3
answers
8k
views
Change kernel of Centos OVH
I'm using a server of OVH with OS centos7. OVH has its own linux kernel:
3.14.32-xxxx-grs-ipv6-64
Now I try to configure another Centos7 kernel.
I installed the other kernel(s).
yum install kernel
...
4
votes
0
answers
372
views
How to modify the grub default timeout for CoreOS?
I am trying to reset the root password for my CoreOS machine for which I need access to the machine's grub. However, I don't see the grub at all and the machine boots up. I am on CoreOS stable (1010.5....
2
votes
1
answer
1k
views
GPT, grub and mdadm. sda drive replaced, raid rebuilt in recovery mode, but now server won't boot
This is how partition table loooks like:
(parted) print
Model: ATA TOSHIBA DT01ACA2 (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/...
0
votes
2
answers
63
views
issues booting fresh install of UbuntuOS
I have 2 hard drives on my server and i have previously installed CentOS on one of the hard drives(not sure which but i am guessing the second)
I install fresh Ubuntu 14.04LTS on the first one i ...
1
vote
1
answer
2k
views
linux red hat + how to start as single user mode from grub
I have this in my linux machine
grub>
how from this I start the linux machine as single user mode?
in order to update some file after boot
2
votes
0
answers
941
views
How to validate grub boot environment parameters with grubby
I am updating grub parameters in RHEL 7.0 with grubby command using
/usr/sbin/grubby --update-kernel=ALL --args='isolcpus=14-24'
followed by /usr/sbin/grub2-install /dev/sda and reboot
I very well ...
5
votes
3
answers
8k
views
Converting Linux machine from XenServer to Hyper-V
I'm in the process of converting the last few on my XenServer VMs over to Hyper-V.
The majority of them have been Windows machines and I've done a backup and restore using Windows Backup. For some of ...
4
votes
1
answer
5k
views
Is it possible and wise to put the grub bios partition on a software raid?
in a two disk setup
/dev/sda
/dev/sdb
i created per disk 3 partitions
bios_grub 1mb
linux raid 512mb md0 (/boot - ext3)
linux raid rest md1 (physical volume for lvm)
the answer on https://...
1
vote
0
answers
498
views
Problems installing software on AWS EC2 instance (Debian 7.8 'hvm')
After some issues due to the lack of support in required kernel for the network card in my machine (though I'm aware of how to compile the driver for my card, I don't want to do that, based on some ...
2
votes
2
answers
2k
views
Debian software RAID1 is not working when I remove hard drive
I have been trying all weekend to get RAID working on an old server computer with the Intel ICH7 / ICH7-R SATA-II controller running dual hard-drive with RAID 1.
After giving up in hardware raid, I ...
2
votes
1
answer
708
views
Replaced SATA controller, software RAID (mdadm) stopped booting: grub rescue> no such disk
I have a relatively old server machine which has no SATA ports on the motherboard (Dell Precision Workstaion 650). Also have a cheap FakeRAID controller (VIA VT6421 Chipset) and two Seagate 3TB drives ...
0
votes
1
answer
456
views
Copy centos 6 modify mdadm raid 1 and clone to new mdadm raid 1 ssd
I have: Centos 6.7
grub-install -v
grub-install (GNU GRUB 0.97)
lsblk
two new SSD 128gb
Live usb with Parted_Magic_2015.03.06
/boot/grub/device.map
# this device map was generated by anaconda
(...
1
vote
0
answers
432
views
Cloudlinux, GRUB 0.97, software RAID, won't automatically boot
My server is running Cloudlinux as has a software RAID mirror (/dev/md2 made from /dev/sda and /dev/sdb) mounted on /
It's been running fine, but after simulating a raid failure and rebuilding the ...
2
votes
2
answers
819
views
EXTLINUX warns to install grub
While doing apt-get dist-upgrade on a Debian GNU/Linux Jessie EXTLINUX warned me that now was mandatory to install grub.
The system was installed after an image not done by me: is it safe to ignore ...
2
votes
1
answer
622
views
grub 0.97 (legacy) confusion between menu.lst and grub.cfg
I've been looking through documentation but am still utterly confused. I'm used to using menu.lst to configure grub but grub.cfg seems to be the way to do it for grub2. My Debian 8 server has grub 0....
6
votes
3
answers
8k
views
No volume groups found - CentOS
I have migrated a CentOS 5.11 server from VmWare to Hyper-V and when trying to boot the server. I'm getting the following error messages:
"No volume groups found" ""VolumeGroup00" not found" and ...
0
votes
1
answer
516
views
How to save output from grub-md5-crypt to a file ?
I am using Cent OS 6.5 and I want to save the generated output and md5 hash from grub-md5-crypt command to a file.
The grub-md5-crypt command asks us to set a password. I want the password(which I ...
2
votes
2
answers
2k
views
Intel NUC5CPYH - Ubuntu Server 14.04.2 and 15.04 post-install crash
I've experienced this problem with Intel NUC model NUC5CPYH using both Ubuntu Server 14.04.2 and Ubuntu Server 15.04.
After completing the installation (which in my experience is best done from an ...
0
votes
1
answer
303
views
How can I modify the bootloader config on debian 7
I want to install Debian 7 remotely. I've followed this tutorial:
https://wiki.debian.org/DebianInstaller/Remote
How can I execute Step 8?
I found the command update-grub but I don't know where to ...
0
votes
1
answer
251
views
Deleted MBR on virtual machine on purpose, but entries are preserved
I'm playing with Master boot record. I decided to delete and restore it on my vmware machine.
With Ubuntu LiveCD I'm trying to erase partition entries and signature with command:
dd if=/dev/zero of=/...
0
votes
1
answer
1k
views
Debian/Installer Preseed Remove Post Install Kernel Options + Multi NIC Preseed Tip
In light of recent automation trends, I would like to be able to fully automate an install of Ubuntu. My my first problem was auto selection of the bootif with multiple NICs break Ubuntu/Debians ...
9
votes
5
answers
9k
views
Disable THP and THP defrag on CentOS 7 EC2 instance
I want to disable transparent_hugepage (THP) on a CentOS 7 EC2 instance, which is enabled by default:
# cat /sys/kernel/mm/transparent_hugepage/enabled
[always] madvise never
# cat /sys/kernel/mm/...
1
vote
1
answer
231
views
XEN - Does pygrub alter grub on dom0
I apologize for question but I did not really understand the idea behind pygrub. I've downloaded VM from stacklet.com. The image is shipped as a ext4 file and pygrub config. My question is if I can ...
1
vote
0
answers
1k
views
Unable to install grub to software Raid array in Ubuntu
How do you ensure Grub is properly installed on a software RAID array in Ubuntu?
I have a failed RAID array on an Ubuntu 14.04 server. When I first tried booting it, the Grub screen came up, but ...
1
vote
1
answer
1k
views
How do I replace a disk with LUKS on LVM2 - no raid, no span
I have LUKS on LVM (LVM Partitions created first, then each partition is encrypted separately, following this guide on Arch Wiki).
I am using two volume groups, and each is isolated to a drive. This ...
2
votes
1
answer
3k
views
Default kernel boot parameter on Red Hat 6 / CentOS 6
I would like to understand if, and how, it is possible to configure default kernel boot parameters on Red Hat 6 / CentOS 6 (grub legacy bootloader).
I very well understand how to manually configure ...
0
votes
1
answer
7k
views
How to fix when grub no longer mounts the boot partition at start up?
This system has a boot partition on a dm-raid device.
I updated the system by standard methods from an older Ubuntu to the latest LTS. Now, if the kernel is updated by "apt-get upgrade", the new ...
2
votes
1
answer
2k
views
How to boot to shell with Solaris?
I would like to boot Solaris to shell (root prompt) directly for recovery purposes.
On linux I would pass a kernel option init=/bin/bash and it would directly boot me into shell without asking for ...
1
vote
1
answer
3k
views
Install grub on mounted kvm image?
I am trying to mount a KVM image on the host machine in order to fix a grub issue however seem to be going wrong somewhere.
I have tried the following steps:
mount -o loop,offset=32256 /var/lib/...
-2
votes
1
answer
1k
views
framebuffer loads under Linux, but not Xen
I recently built a Debian "Wheezy" system,
which booted via GRUB to a non-framebuffer console, printing
Console: colour VGA+ 80x25
during boot. To /etc/default/grub I added
GRUB_GFXMODE=1920x1200
...
-2
votes
1
answer
2k
views
Empty /boot/grub/grub.conf of a remote server, how to recrete it from recovery?
My remote server (running CentOS 6.6 x64) can't boot anymore.
Using the emergency recovery (a LIVE CD) i can actually look that /etc/boot/grub/grub.conf and it's empty (0 bytes). I don't know why, ...
3
votes
1
answer
893
views
How to keep specific old kernels around after a yum update
I know that in CentOS 6.x, you can put the following line in /etc/yum.conf which tells yum to keep the last N kernels (by default this is set to five):
installonly_limit=5
However, there are cases ...
1
vote
3
answers
1k
views
Grub CLI Arrow Keys Don't Work With IPMI SOL
When I am using the Grub CLI via IPMI sol I am unable to use the arrow keys, as well as some keys such as delete. What happens when I press the Left key I get random 'D' characters appearing, even ...