- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Possible to set Boot Controller Order (Prolian...
Operating System - Linux
1752685
Members
5599
Online
108789
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2011 04:49 AM
05-18-2011 04:49 AM
Re: Possible to set Boot Controller Order (Proliant) from Linux Command Line?
Hi Alzhy,
At the risk of going off topic , but answering your question here.
>>Surely there is a way to change whatever >>BIOS settings from the OS - Linux or >>WIndows. Or is there ?
Short answer: possible , but very difficult unless you know the particular hardware very well :( . The x86 system starts an mode known as the real mode and you are limited to 1 MB of memory. When you are in BIOS you are typically in real mode, but GRUB actually puts into protected mode ( enable a20 , install a dummy GDT , set LSB of CR0 register to 1 ). Once the grub has started its initialization the ebx register will point to the multiboot information, you can use this info to get info like where total amount of memory installed etc . The problem is that you cannot actually execute real mode code from protected mode straight away!
x86 actually provides a segmentation and paging memory management schemes and linux acutally really do not take advantage of the segmentation mechanism ( mainly because it needs to be as portable as possible ! , not all architectures support segmentation).
I know this is'nt very helping , but it is *very* difficult to change bios settings from windows /linux if you do not know the hardware platform really well :). Also hope that something in my rambling interests you as well :)
--Lucifer
At the risk of going off topic , but answering your question here.
>>Surely there is a way to change whatever >>BIOS settings from the OS - Linux or >>WIndows. Or is there ?
Short answer: possible , but very difficult unless you know the particular hardware very well :( . The x86 system starts an mode known as the real mode and you are limited to 1 MB of memory. When you are in BIOS you are typically in real mode, but GRUB actually puts into protected mode ( enable a20 , install a dummy GDT , set LSB of CR0 register to 1 ). Once the grub has started its initialization the ebx register will point to the multiboot information, you can use this info to get info like where total amount of memory installed etc . The problem is that you cannot actually execute real mode code from protected mode straight away!
x86 actually provides a segmentation and paging memory management schemes and linux acutally really do not take advantage of the segmentation mechanism ( mainly because it needs to be as portable as possible ! , not all architectures support segmentation).
I know this is'nt very helping , but it is *very* difficult to change bios settings from windows /linux if you do not know the hardware platform really well :). Also hope that something in my rambling interests you as well :)
--Lucifer
"To Denouce the Evils of Truth and Love. To cause may hem and destruction and necromancy , Lucifer is here"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2011 07:23 AM
05-18-2011 07:23 AM
Re: Possible to set Boot Controller Order (Proliant) from Linux Command Line?
Thanks.
I have not downloaded the SSToolkit yet but I am pretty sure there is that utility there as other X86 platforms - IBM, DELL, SUN have similar tools.
But for my needs, I found out that simply disabling the FC_HBA BIOS will give me the fix I need. So with Boot Controller Order FIXED to FC-HBAs first, P410i SAS Controller 3rd - disabling the BIOS will set the Bootable HDD to the local RAIDed Disk.
So while booted in SANBOOT, disable the FC-HBA BIOSES as follows (True only for QLOGIC Based HBAs!!!):
for FC in `scli -i all|grep "Port Name"|awk '{print $NF}'`;do
scli -n $FC EB 0
sleep 30
done
Reboot and Server will boot off the local disk.
Now to switch to SAN BOOT, just do the above - this time doing an "scli -n $FC EB 1". ANd Server will boot off the SAN Boot Lun.
Problem fixed!
I have not downloaded the SSToolkit yet but I am pretty sure there is that utility there as other X86 platforms - IBM, DELL, SUN have similar tools.
But for my needs, I found out that simply disabling the FC_HBA BIOS will give me the fix I need. So with Boot Controller Order FIXED to FC-HBAs first, P410i SAS Controller 3rd - disabling the BIOS will set the Bootable HDD to the local RAIDed Disk.
So while booted in SANBOOT, disable the FC-HBA BIOSES as follows (True only for QLOGIC Based HBAs!!!):
for FC in `scli -i all|grep "Port Name"|awk '{print $NF}'`;do
scli -n $FC EB 0
sleep 30
done
Reboot and Server will boot off the local disk.
Now to switch to SAN BOOT, just do the above - this time doing an "scli -n $FC EB 1". ANd Server will boot off the SAN Boot Lun.
Problem fixed!
Hakuna Matata.
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP