Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-30-2003, 11:11 AM
|
#1
|
|
LQ Newbie
Registered: Oct 2003
Location: United States
Posts: 3
Rep:
|
Switching to GRUB from LILO
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.
Thanks in advance.
|
|
|
|
10-30-2003, 11:18 AM
|
#2
|
|
Senior Member
Registered: Oct 2003
Location: Australia
Posts: 4,424
Rep: 
|
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?
|
|
|
|
10-30-2003, 11:21 AM
|
#3
|
|
LQ Newbie
Registered: Oct 2003
Location: United States
Posts: 3
Original Poster
Rep:
|
Here is my /etc/fstab file:
###############
/dev/cciss/c0d0p1 / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
/dev/cciss/c0d0p3 /dump ext3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/cciss/c0d0p5 /usr/local ext3 defaults 1 2
/dev/cciss/c0d0p6 /var ext3 defaults 1 2
/dev/cciss/c0d0p2 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
###############
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.
Thanks
|
|
|
|
11-01-2003, 11:57 PM
|
#5
|
|
Member
Registered: Jan 2002
Location: Ohio
Distribution: Slackware 9.1 (and some 9.0)
Posts: 181
Rep:
|
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...
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:32 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|