LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-22-2014, 03:03 PM   #1
notapro
LQ Newbie
 
Registered: Jun 2014
Posts: 2

Rep: Reputation: Disabled
Lilo installs but not bootup


Hi. My first problem is i format my entire disk but something is not right.i install lilo each time in MBR was working fine i was installed even dualboot with windows 7.But now i cant even see lilo just boot failed.I use fdisk to format my disk.So my question is how can i format everything and install slackware 14.0? My second question is how can i fix lilo?

Last edited by notapro; 06-23-2014 at 04:25 PM.
 
Old 06-22-2014, 03:39 PM   #2
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
Blog Entries: 3

Rep: Reputation: 297Reputation: 297Reputation: 297
Did you install windows before installing slackware?
I had a similar issue with lilo complaining about not knowing the video driver (not sure why it throws that), and refusing to install. I temporarily found a fix, using grub2 like you. I ende dup using boot-recovery-disk to install grub2.

I noticed that windows 7 uses a different partition table, and lilo throws errors about it. Assuming grub2 knows how to deal with it, is why it can be installed.

I ended up wiping the disk, installing slackware first (using the classic partition table: msdos), then installing windows 7 on a seperate partition afterwards.

It may not be a solution for you though, as it involves completely wiping the partition table...
 
Old 06-22-2014, 11:20 PM   #3
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
If you use periods and upper case letters to mark the end of one sentence and the beginning of another, people would be inclined to read your post. I stopped reading about halfway through, because piecing the sentences, and the problem/question together, was to laborious.
 
Old 06-23-2014, 04:13 PM   #4
notapro
LQ Newbie
 
Registered: Jun 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by coralfang View Post
Did you install windows before installing slackware?
I had a similar issue with lilo complaining about not knowing the video driver (not sure why it throws that), and refusing to install. I temporarily found a fix, using grub2 like you. I ende dup using boot-recovery-disk to install grub2.

I noticed that windows 7 uses a different partition table, and lilo throws errors about it. Assuming grub2 knows how to deal with it, is why it can be installed.

I ended up wiping the disk, installing slackware first (using the classic partition table: msdos), then installing windows 7 on a seperate partition afterwards.

It may not be a solution for you though, as it involves completely wiping the partition table...
First of all thanks for reply.i am completely format my computer but some how it doesnt give me solution.My lilo was working fine then when i delete windows 7 and change the lilo.conf file i messed up. So i reformat it and lilo even not load at first it give me video error at first (in installation)then it didnt give me any just boot failed.
Quote:
Originally Posted by Randicus Draco Albus View Post
If you use periods and upper case letters to mark the end of one sentence and the beginning of another, people would be inclined to read your post. I stopped reading about halfway through, because piecing the sentences, and the problem/question together, was to laborious.
Thanks i will change my post then.
 
Old 06-24-2014, 12:21 AM   #5
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Quote:
Originally Posted by notapro View Post
Thanks i will change my post then.
Looks beautiful. Much easier to read.
 
Old 06-24-2014, 07:40 PM   #6
selfprogrammed
Member
 
Registered: Jan 2010
Location: Minnesota, USA
Distribution: Slackware 13.37, 14.2, 15.0
Posts: 635

Rep: Reputation: 154Reputation: 154
Read this first: http://en.wikipedia.org/wiki/LILO_%28boot_loader%29

Format your Linux partition first, Install Linux, then install LILO.
You must reinstall Lilo anytime you change the partitions, or the Linux partition filesystem, the Linux binary, or any of the booted systems. You must reinstall Lilo after installing a new Linux.
When Lilo is installed it looks where to find stuff on the Linux partition. When it writes the MBR it also writes the disk addresses within the Linux partition where it finds other things, specifically files it stored in the /boot directory.
It must be able to get to the Lilo boot map file stored in the Linux filesystem.
When you wiped the disk you wiped out the Lilo boot map file.
Do not erase or move Lilo boot files in /boot on the Linux partition.
If you do then you must reinstall Lilo.

If you installed Lilo to a partition and that partition is not active (not bootable) then nothing will happen as Lilo does not get executed.

It is not as completely stand-alone as GRUB which uses more hidden disk blocks.

Some Windows disk management may try to rewrite the MBR, which will wipe out the LILO MBR.
That only messes up the Lilo MBR, which can be restored.
/sbin/lilo -M

The easiest way to fix most problems is to boot a CDROM Linux and reinstall Lilo using the /etc/lilo.conf on the Linux filesystem. This will write a new MBR, and the Lilo boot map.
 
  


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
no LILO bootloader on bootup after install LoyalSoldier Mandriva 5 02-27-2005 05:25 PM
Lilo bootup doesnt change afer running lilo zulfilee Linux - Software 7 12-17-2004 09:28 AM
LILO Bootup Order avaris15 Linux - General 8 03-26-2004 05:51 PM
Dont get LILO splash screen on bootup eroica Mandriva 5 02-26-2004 07:55 PM
LILO hung up after RH installs? r_jensen11 Linux - Newbie 1 05-16-2003 10:30 PM

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

All times are GMT -5. The time now is 09:00 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