Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-15-2007, 03:51 PM   #1
LQ Newbie
Registered: Aug 2004
Posts: 7

Rep: Reputation: 0
boot loader help

i installed open suse 10.2 but when it tries to install a boot loader i get and error. i booted up suse using the installation dvd and tried installing a boot loader again i get the same error

the error i get with LILO is

Value expected for 'default' at or above line 8 in file '/etc/lilo.conf'
this is what my lilo.conf looks like

# Modified by YaST2. Last modification on Thu Feb 15 13:42:27 EST 2007
menu-scheme = Wb:kw:Wb:Wb
boot = /dev/hda
timeout = 0
the error i get with grub is

GNU GRUB version 0.97 (640K lower / 3072K upper memory)

[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> setup --stage2=/boot/grub/stage2 (hd0) (/dev/hda,1)

Error 23: Error while parsing number
grub> quit
I have 2 hds in my computer a 40gb ide thats what i installed suse on and a 160 sata, thats where my windows install is.

what do u guys recommend?
Old 02-15-2007, 04:02 PM   #2
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738

I don't understand the syntax you are using, so I'll use what I know works...

You need to know which drive is being seen as #1 (GRUB will let you know if you guess wrong)
Lets assume Windows is #1 and Linux is #2
Also assuming that the Linux /boot directory is on partition 1 of drive #2

grub starts the grub shell
root (hd1,0) tells grub that /boot is on drive 2, partition 1---at this point grub will confirm that it finds a Linux filesystem there.
setup (hd0) puts grub on the mbr of drive 1

Next, you have to edit /boot/grub/menu.lst

Go here for the GRUB manual
Old 02-15-2007, 05:13 PM   #3
Registered: Jun 2003
Location: UK
Distribution: Fedora 8, Centos 5.1
Posts: 480

Rep: Reputation: 30
I dont understand how you have both grub and lilo running at the same time. AFAIK you have one bootloader for linux, which i'd recommend is grub (because its so easy to use compared to lilo). If you have somehow installed both, then im unsure of what would happen.

My best guess based on the lilo.conf is it specifies a hard drive, but not the partition where / or /boot is stored (i havent used lilo for years), the grub problem is you've overwritten /boot with something else but not written over the MBR (also speculation). Im no Suse Linux expert, but i'd say you need to redo the part where it installs lilo and this time write the MBR to /dev/hda.
Old 02-15-2007, 05:38 PM   #4
LQ Newbie
Registered: Aug 2004
Posts: 7

Original Poster
Rep: Reputation: 0
I dont have grub or lilo runnin at the same time because none of them are installed. the errors i get is when i am tryin to install either of them. No matter where i try installing it(grub or lilo), i get the same errors.

Im wondering if a clean install will fix the problem
Old 02-15-2007, 05:47 PM   #5
Registered: Jun 2003
Location: UK
Distribution: Fedora 8, Centos 5.1
Posts: 480

Rep: Reputation: 30
Might be the best plan.

Start from a clean slate.
Old 02-15-2007, 06:34 PM   #6
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
I think many big distros, like Suse, Knoppix and Mandriva, do allow a user to select either Lilo or Grub.

The OP tried Grub and it failed so he tried Lilo but that failed too.

It is quite acceptable for one Linux to have both boot loaders installed and select either to boot. I do it frequently when I was green but I now manage to fix either one if it doesn't behave.

The Lilo.conf for example looks like truncated. It is most likely due to the installer not able to cope and abandoned a half-baked template. The installer doesn't write a lilo.conf from scractch but use a standard template.

On the Grub message I don't know if the error was caused by the installer or by the OP.

It is not uncommon for an installer to fail to install a boot loader but two in a row is rare. That means the installer is having a real difficulty with installing the boot loader.

I believe rondrae96 suggestion of doing a clean install, meaning requiring the installer to format the partitions first, is possibly the best course of action forward.

To rescue the system we need to see the output of terminal command "fdisk -l".


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
wireless Keyboard not working to select boot options (Grub boot loader) psrini_vasan Fedora 7 12-16-2009 06:45 PM
Create a boot CD (start up disc) to reinstall boot loader Red Hat 9 johnnylinux Linux - Laptop and Netbook 2 08-03-2006 11:19 AM
To load/boot Red Hat Enterprise Linux 4 WS from Microsoft's Boot Loader (NTLDR) dhawal Linux - General 1 09-25-2005 08:07 AM
Grub boot loader menu shows two linux boot options pramos Linux - Newbie 3 09-13-2004 12:40 AM
How to add a boot record which used to startup windows under my Grub boot loader? yunxiang Linux - Newbie 6 02-01-2003 03:22 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:00 PM.

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