- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- grub and cciss - how?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
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
Discussion Boards
Community
Resources
Forums
Blogs
- 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
09-10-2003 07:19 PM
09-10-2003 07:19 PM
grub and cciss - how?
Setting up a batch of DL380 G3's with the 5i controller... Try as I might, I can't seem to get grub to see the disks on it (well, techincally, disk, as it's a RAID 0+1 setup).
I have a devices.map like so:
(fd0) /dev/fd0
(hd0) /dev/cciss/c0d0
(doesn't work with just (hd0), either - already tried that)
and some relevant (?) sections of the menu.lst:
## default kernel options
## e.g. kopt=root=/dev/hda1 ro
# kopt=root=/dev/cciss/c0d0 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)
title Debian GNU/Linux, kernel 2.4.21-uni
root (hd0,0)
kernel /boot/vmlinuz-2.4.21-uni root=/dev/cciss/c0d0p1 ro
savedefault
etc, with several more kernel options....
Running grub, this is the result:
grub> root (hd0,0)
Error 21: Selected disk does not exist
Anyone have any good resources for setting this thing up? I've read that grub may not really like RAID, but I've also seen some indications that people are doing it... just not really being specific on HOW.
Oh, just in case, we are using Debian 3.0r1 as the OS.
The only reason I'm trying grub is because Ghost breaks LILO, and I have to fix it with a boot floppy. Someone suggested that grub played better with Ghost, so I'm willing to try it.
As an aside, has anyone had luck with Ghost and getting a working LILO upon installation of an image?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2003 07:57 PM
09-10-2003 07:57 PM
Re: grub and cciss - how?
I've not had enough experience playing with DL series or the on-board 5i.
Here's a grub.conf from an ML with a SA6402 (U320, it's big brother *grin*):
----------------------------------------------
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-14)
root (hd0,0)
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/
initrd /initrd-2.4.18-14.img
----------------------------------------------
So from what I can tell, your config file is ok.
The '(hd0,0)' reference is for BIOS referenced fixed disk 0, partition 0 (i.e. DOS' C:). If your system BIOS is using something other than the 5i for it's primary boot device, the sort of issue you are describing could occur.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 12:19 AM
09-11-2003 12:19 AM
Re: grub and cciss - how?
title Red Hat Linux (2.4.9-e.3smp)
root (hd0,0)
kernel /vmlinuz-2.4.9-e.3smp ro root=/dev/cciss/c0d0p2 hda=ide-scsi
initrd /initrd-2.4.9-e.3smp.img
Regards,
Vitaly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 03:48 AM
09-11-2003 03:48 AM
Re: grub and cciss - how?
I found this LG article, explains grubs well
http://www.linuxgazette.com/issue64/kohli.html
J-P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 07:04 AM
09-11-2003 07:04 AM
Re: grub and cciss - how?
I was following the docs on the GNU site, as well as supplied with the debian grub package to install grub from the OS. Everything installed fine, but it appears that there is a problem seeing the drives from within the OS when running the grub shell, even with the proper devices.map.
So, now that I am back into the office, I decided to reboot and see what happened. Even tho from the OS grub couldn't see things, it can when booting. Go figure.
So, just tweaking my drive/partition settings, and everything looks good now. Next is trying to Ghost the darn thing.
Thanks again for taking the time to reply!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 07:52 AM
09-11-2003 07:52 AM
Re: grub and cciss - how?
Just one thing As I notice your are a new memnber to theses forums, most people reply to theses forums on volontary base and a way to let the replier know to what degree the answers they gave is usefull is to assign them points depending on the value to you of the answers.
Now get me right you are not oblige to do this it
it is just a feedback mechanism ... we get rewarded by hat at certain level of points.
but mostly whe are pleased to be of help and a thanks does that.
J-P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 08:32 AM
09-11-2003 08:32 AM
Re: grub and cciss - how?
thanks again!