LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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

Reply
 
Search this Thread
Old 10-30-2003, 11:11 AM   #1
tjtoed
LQ Newbie
 
Registered: Oct 2003
Location: United States
Posts: 3

Rep: Reputation: 0
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.
 
Old 10-30-2003, 11:18 AM   #2
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled
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?
 
Old 10-30-2003, 11:21 AM   #3
tjtoed
LQ Newbie
 
Registered: Oct 2003
Location: United States
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 11-01-2003, 10:47 PM   #4
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled
it looks like you have raid, can't help this can start you you off

http://www.linuxsa.org.au/mailing-li...3-07/1270.html
 
Old 11-01-2003, 11:57 PM   #5
xcon
Member
 
Registered: Jan 2002
Location: Ohio
Distribution: Slackware 9.1 (and some 9.0)
Posts: 181

Rep: Reputation: 30
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting of raw ISO from GRUB/LILO (though preferably GRUB) Orkie Linux - Software 28 12-15-2013 09:37 PM
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 01:15 PM
switching grub from one hd to another... audibel Debian 6 03-26-2005 07:28 AM
Switching to LILO from Grub t-peters1975 Slackware 6 08-23-2004 01:05 PM
Switching from LILO to GRUB magnusprime Mandriva 2 09-10-2003 05:09 AM


All times are GMT -5. The time now is 06:26 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration