Change in GRUB menu.lst does not take effect
I'm working on a system (Ubuntu 9.04) which has RAID 10 on 6x1TB disks. Over this there is a LVM setup. I needed to install a new kernel on this system and everything went smoothly. I updated the /boot/grub/menu.lst file to boot with the new kernel.
However, while booting, the newly installed kernel is not seen in the list and the system still boots with the old kernel.
I re-checked the installation logs of the new kernel and there were no errors. I ran 'update-grub' and it selects all the kernels available in /boot. However, when I run 'grub-install' it throws the following error:
/dev/mapper/vg-root does not have any corresponding BIOS drive.
I tried to do this from the grub command line:
grub> find /grub/stage1
grub> find /grub/stage2
grub> find /grub/menu.lst
grub> root (hd0,0)
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... yes
Checking if "/grub/stage2" exists... yes
Checking if "/grub/e2fs_stage1_5" exists... yes
Running "embed /grub/e2fs_stage1_5 (hd0)"... failed (this is not fatal)
Running "embed /grub/e2fs_stage1_5 (hd0,0)"... failed (this is not fatal)
Running "install /grub/stage1 (hd0) /grub/stage2 p /grub/menu.lst "... succeeded
However, it still doesn't work. The groot in menu.lst is shown as "groot=(hd0,0)" (used by update-grub) and the /boot is on LVM:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/vg-root 19223252 1140336 17106432 7% /
.. and the device.map file looks like:
I'm running out of ideas. Any help on this will be highly appreciated.
Fast/Flexible Linux OS Recovery
On Demand Now
In this live one-hour webinar, learn how to enhance your existing backup strategies for complete disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible full-system recovery solution for UNIX and Linux systems.
Join Linux Journal's Shawn Powers and David Huffman, President/CEO, Storix, Inc.
Free to Linux Journal readers.Register Now!
|Working with Command Arguments||May 28, 2016|
|Secure Desktops with Qubes: Installation||May 28, 2016|
|CentOS 6.8 Released||May 27, 2016|
|Secure Desktops with Qubes: Introduction||May 27, 2016|
|Chris Birchall's Re-Engineering Legacy Software (Manning Publications)||May 26, 2016|
|ServersCheck's Thermal Imaging Camera Sensor||May 25, 2016|
- Secure Desktops with Qubes: Introduction
- Working with Command Arguments
- Secure Desktops with Qubes: Installation
- Download "Linux Management with Red Hat Satellite: Measuring Business Impact and ROI"
- CentOS 6.8 Released
- The Italian Army Switches to LibreOffice
- Linux Mint 18
- ServersCheck's Thermal Imaging Camera Sensor
- Chris Birchall's Re-Engineering Legacy Software (Manning Publications)
- Oracle vs. Google: Round 2
Until recently, IBM’s Power Platform was looked upon as being the system that hosted IBM’s flavor of UNIX and proprietary operating system called IBM i. These servers often are found in medium-size businesses running ERP, CRM and financials for on-premise customers. By enabling the Power platform to run the Linux OS, IBM now has positioned Power to be the platform of choice for those already running Linux that are facing scalability issues, especially customers looking at analytics, big data or cloud computing.
￼Running Linux on IBM’s Power hardware offers some obvious benefits, including improved processing speed and memory bandwidth, inherent security, and simpler deployment and management. But if you look beyond the impressive architecture, you’ll also find an open ecosystem that has given rise to a strong, innovative community, as well as an inventory of system and network management applications that really help leverage the benefits offered by running Linux on Power.Get the Guide