Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Took over administration for some RedHat 7.2 servers and they are currently using LILO as their boot loader and I want to change to GRUB.
Not having very much luck. Am attempting to run
/sbin/grub-install /dev/cciss/c0d0 and it comes back with the following error:
"expr: non-numeric argument
/dev/cciss/c0d0p1 does not have any corresponding BIOS drive."
Was just wondering if anyone else has ever seen this or had any ideas or suggestions as what to try next.
I use Mdk so can't help you with RH syntax but if grub-install works in RH, it must install to a /dev/hda or /dev/sda etc that can be found in your /etc/fstab file.
Can you post that file so RH gurus can have a peek?
Since I did not set up these systems I am really not sure how they were setup...exactly. But I assumed that at install the MBR was installed on c0d0p1.
i had troubles before where i would mount / from a rescue cd, chroot into it, and /dev/hda wouldn't have a bios drive. i had to simply gruib-install /dev/ide/host0/bus0/target0/lun0/disc and that was essentially /dev/hda without the short convenience symlink. try ls -l /dev/cciss and see where the devs really lie, if not exactly there...
just did a search for /dev/cciss, looks like a scsi controller. if there's no bios drive after all, i'm not sure what you'd do... in an emergency, you can actually go into grub from a grub floppy and use the 'shell' to install to a bootsector. grub-install is really only good for MBR installs, and grub shell's install command is good for superblock installs. that may in fact be what you need anyway...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.