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, maybe a random data loss or a system update. Is there any way to rebuild the grub.conf from he live CD? The server … Read more

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+ 80×25 during boot. To /etc/default/grub I added GRUB_GFXMODE=1920×1200 GRUB_GFXPAYLOAD_LINUX=keep giving me the boot messages: vesafb: mode is 1920x1200x16, … fbcon: VESA VGA (fb0) is primary device Console: switching to colour frame buffer device 240×75 fb0: VESA … Read more

centos 6.2 grub fails with a black screen with a blinking cursor, but works when manually entering boot command line

At $work we have a custom install of CentOS 6.2 (a pre-prepped image with a reduced set of packages). The normal CentOS 6.2 install works fine. The custom one fails to boot as follows: grub starts up and displays the defined boot options if we let it continue and try to boot, it gives the … Read more

Unable to boot into Windows Vista, gets into grub prompt

I have the following scenario: I had a dual boot option on my laptop with Windows Vista Home Premium and Red Hat Linux Enterprise Edition 5.0. In order to install Ubuntu on the partition having RHEL, I deleted that partition using windows disk management. Then I installed Ubuntu using Wubi on a drive other than … Read more

How can you change the grub default operating system from the grub menu? (i.e. without booting further)

As frankly the computer I’m trying to adjust is in a very difficult and public place so the less keystrokes the better! Answer is there any reason you cant let it boot manually into the correct OS, then ssh’ing into to the system and editing /boot/grub/menu.lst to change the default settings AttributionSource : Link , … Read more

sed + replace value default in grub.conf [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 5 years ago. Improve this question I want to change the default value on all machines to default=0 default value could be any integer number how to set in … Read more

How to install Debian Lenny using Grub 1

I’m trying to install Debian on my macbook without using rEFIt. Fedora worked just fine before, and Debian installs allright, but it uses grub2, and the EFI just won’t see it. I’ve tried the expert install, but it doesn’t give me the option to choose which grub version I want. So, how can I install … Read more

Random Grub Error 2

The problem started today after a restart to switch power sources. Before today it would reboot fine everytime. I recently did update Ubuntu before the problem started. I have tried the find /boot/grub/stage1 from an ubuntu live cd but it didn’t find anything. I have tried editing the bios. I have tried countless online solutions … Read more

grub2 error : out of disk

I recently install ArchBang on a machine with Ubuntu and XP. I ran update-grub from Ubuntu and it found the new install and created an entry. However, when I try to boot it, I get: error: out of disk error: you need to load kernel first I’ve tried several things, including adding a new entry … Read more