LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 01-21-2009, 09:16 PM   #1
essdeeay
Member
 
Registered: Aug 2004
Location: United Kingdom
Distribution: Debian
Posts: 88

Rep: Reputation: 15
Question Error during 8.04/8.10 server installation (can't install grub)


When I try to install 8.04/8.10 server, it's failing when trying to install grub. It fails on lilo too. I've checked the BIOS and boot sector protection is disabled. The disk controller is a Mylex DAC960, has 4 x 73Gb HDDs in RAID-5. dmesg shows them all being detected ok, as is the 210Gb logical drive. What can I do?

Many thanks,
Steve
 
Old 01-21-2009, 09:47 PM   #2
cheftec
Member
 
Registered: Jan 2009
Location: Pennsyltucky
Distribution: Debian, Ubuntu, DeLiLinux, others
Posts: 144

Rep: Reputation: 19
Are you doing this through the installation menu, or manually?

If it's through the menu, try doing it manually.

Basically you should be able to do a grub-install /dev/hda after installing it manually. You might find the tarball on the CD, or you can download it.

Resources here:

http://www.linuxtopia.org/online_boo...l#Installation
 
Old 01-23-2009, 12:07 PM   #3
essdeeay
Member
 
Registered: Aug 2004
Location: United Kingdom
Distribution: Debian
Posts: 88

Original Poster
Rep: Reputation: 15
Smile [RESOLVED] Error during 8.04/8.10 server installation (can't install grub)

I resolved the problem, but can't remember my *exact* steps. However, I'll post what I did in case it helps others.

1.
Go through the installation, and choose to continue without a boot loader when you see the error, but don't restart.

2.
Press ALT+F2 to get a console.

3.
Enter the following commands:
mount -o bind /proc /target/proc
mount -o bind /dev /target/dev
mount -o bind /sys /target/sys
chroot /target

4.
At this point I manually copied the a package from a memory stick (grub_0.97-29ubuntu21_i386.deb), but you could just as easily copy it using a floppy.

5.
dpkg -i grub_0.97-29ubuntu21_i386.deb

6.
Delete the directory /boot/grub

7.
Run install-grub or grub-update (or both - I can't remember!). Basically it will copy the relevant files into the right place, and create a menu.lst file for you.

Incidentally I also found that using the rescue mode from the CD, and jumping straight to the install bootloader section, worked successfully once it could see that the bootloader had already been installed once before (but be careful not to allow the rescue CD to format your existing partitions as you go - you'll see what I mean!).

I hope this can help someone - because it was a major headache for me.

Steve

Last edited by essdeeay; 01-23-2009 at 12:09 PM. Reason: Change subject to show resolved
 
  


Reply



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
New FC5 Installation: grub error 15 rps63ifid Fedora 10 05-30-2009 07:48 AM
install kubuntu 8.10 with lilo rather than grub (because of grub error 18) dukeinlondon Ubuntu 7 12-27-2008 06:53 PM
Ubuntu 8.04 Installation: Grub Error no15 sroych Ubuntu 4 09-07-2008 08:03 AM
GRUB error 21 upon installation viticus Linux - Newbie 7 07-21-2007 03:17 AM
Grub error 17, and wont reinstall using grub-install! chiefreborn Linux - General 6 06-06-2007 10:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:11 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration