LinuxQuestions.org
Visit Jeremy's Blog.
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 02-15-2007, 02:51 PM   #1
rondrae96
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

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

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


Quote:
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, 03:02 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
For GRUB:

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, 04:13 PM   #3
v00d00101
Member
 
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, 04:38 PM   #4
rondrae96
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, 04:47 PM   #5
v00d00101
Member
 
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, 05:34 PM   #6
saikee
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".
 
  


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
wireless Keyboard not working to select boot options (Grub boot loader) psrini_vasan Fedora 7 12-16-2009 05: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 10:19 AM
To load/boot Red Hat Enterprise Linux 4 WS from Microsoft's Boot Loader (NTLDR) dhawal Linux - General 1 09-25-2005 07:07 AM
Grub boot loader menu shows two linux boot options pramos Linux - Newbie 3 09-12-2004 11:40 PM
How to add a boot record which used to startup windows under my Grub boot loader? yunxiang Linux - Newbie 6 02-01-2003 02:22 AM


All times are GMT -5. The time now is 09:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration