LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-07-2007, 04:36 PM   #1
iAlta
Member
 
Registered: Oct 2005
Distribution: Ubuntu 7.10, OpenSUSE 10.3, Linux Mint, Arch
Posts: 92

Rep: Reputation: 15
Lilo/grub installing and configuration


I just used all day setting up a xp/Feisty Fawn dual boot, only to find that Ubuntu hadn't installed a bootloader.

It just boots directly into xp.

I was wondering if there is a LiveCD distro, ala GParted, that will let me install and configure eihter grub or lilo.

iAlta
 
Old 05-07-2007, 05:02 PM   #2
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
Quote:
Originally Posted by iAlta
I just used all day setting up a xp/Feisty Fawn dual boot, only to find that Ubuntu hadn't installed a bootloader.

It just boots directly into xp.

I was wondering if there is a LiveCD distro, ala GParted, that will let me install and configure eihter grub or lilo.

iAlta
It's probable that you have installed the bootloader to the wrong place i.e. to the first part of the linux partition - it's a very easy mistake to make.

It needs to be on the first part of the MBR (major boot record) on the first part of the first hard drive (if more than one).

You should be able to boot the Ubuntu from the install disc - though you might have to dig around for how thats done i.e. when booting mandriva I used to just go for the "more options" and then "rescue" which would enable me to start the linux partition as well as "re-install linux bootloader" and things like that. I should suspect that the *buntus offer something similar.

Theres got to be a way of running grub again, so that you can tell it where you want it to go - I can't tell you what it is though, I suspect that you'd have had to be in linux first anyway - can you not change the boot order in the BIOS settings until you get it sorted out ???

Sorry, I know thats not definitive advice, just ideas of where I'd be looking.

regards

John

p.s. Oh and this looks like the "definitive" answer, though it'd take a fair bit of reading.

Last edited by bigjohn; 05-07-2007 at 05:05 PM.
 
Old 05-07-2007, 05:38 PM   #3
iAlta
Member
 
Registered: Oct 2005
Distribution: Ubuntu 7.10, OpenSUSE 10.3, Linux Mint, Arch
Posts: 92

Original Poster
Rep: Reputation: 15
Thanks for your response!

That seems that what you explained is what I've done, however after snooping around, I found a 'RIP Linux', I'll see if that distro will help me..

iAlta
 
Old 05-07-2007, 05:46 PM   #4
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
Quote:
Originally Posted by iAlta
Thanks for your response!

That seems that what you explained is what I've done, however after snooping around, I found a 'RIP Linux', I'll see if that distro will help me..

iAlta
Or you can just run the install again - it should just re-install over the top, you just have to make sure that you tell it the correct place to put the bootloader. I've not heard of RIP linux, and am thinking that any other problems you experience would be easier to correct un the *buntu i.e. theres considerably more knowledge around for it.

regards

John
 
Old 05-08-2007, 01:06 PM   #5
iAlta
Member
 
Registered: Oct 2005
Distribution: Ubuntu 7.10, OpenSUSE 10.3, Linux Mint, Arch
Posts: 92

Original Poster
Rep: Reputation: 15
Or that...

How would a correct location typically be?
 
Old 05-09-2007, 02:46 PM   #6
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
Quote:
Originally Posted by iAlta
Or that...

How would a correct location typically be?
I'm presuming you're asking where the bootloader should go ?

It's quite normal for it to be on the first part of the first hard drive a.k.a. the "MBR" (major boot record).

Yes, that means that it will overwrite the windows bootloader, but it's supposed to do that. So that "it" can see all installed OS and offer you the choice.

It is also possible (apparently, though I've only read about it) to make a windows bootloader boot a linux distribution, but because I understand that that is very involved/convoluted, it's considerably easier to install the linux bootloader (I believe that the *buntus use grub by default) to the MBR and use it to boot all installed OS.

regards

John
 
Old 05-11-2007, 03:03 PM   #7
iAlta
Member
 
Registered: Oct 2005
Distribution: Ubuntu 7.10, OpenSUSE 10.3, Linux Mint, Arch
Posts: 92

Original Poster
Rep: Reputation: 15
I was more looking for what to type into th bootloader-field to get it on the correct place. By default it says '(hd0)'.

I have erased the xp partition, but i haven't erase the problem. (wow, I didn't know I was that poetic.)
It still boot's into xp, which isn't there and it says hal.dll is missing or damaged. there probably is some windows code left on the mbr, so it's basiclly the same porblem.
 
Old 05-11-2007, 03:27 PM   #8
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
I got a feeling this thread may just do the trick for you.

If you don't known whee is the Ubuntu partition post here the output of
Code:
fdisk -l
 
Old 05-12-2007, 07:20 AM   #9
iAlta
Member
 
Registered: Oct 2005
Distribution: Ubuntu 7.10, OpenSUSE 10.3, Linux Mint, Arch
Posts: 92

Original Poster
Rep: Reputation: 15
Red face

Problem solved, and I feel like an f***ing idiot. Ubuntu was installed on hd0, boot sequence was floppy, cdrom, hd1. Idiot!!!
 
  


Reply

Tags
grub, lilo



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
installing grub over lilo (for fc6) mjl3434 Fedora - Installation 8 01-28-2007 06:25 PM
My Lilo/grub lost after installing Win Xp leenuk Linux - Newbie 15 02-05-2006 08:41 PM
Installing Grub over LILO anon209 Linux - Software 3 01-02-2006 06:19 PM
grub/lilo configuration..... Tsudeki Linux - Newbie 2 07-19-2004 08:13 AM
GRUB/LILO not installing... uranologist Red Hat 7 12-17-2003 08:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:01 PM.

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