LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-13-2013, 11:48 AM   #1
mutexe
Member
 
Registered: May 2009
Location: Malvern, UK
Distribution: Slackware 13.0
Posts: 225

Rep: Reputation: 32
Tried to be 'clever' with lilo and now cant boot


Hiya,
installed slack on 5 or 6 machines over last few years with no problem but this time decided to install lilo to the superblock of my linux partition and not to the MBR.

Clearly on reboot nothing happened because it's still got grub there from a previous linux installation.
The thing that's fustrating me is that i've booted back off the installation drive, mounted my linux partition and have tried to edit the lilo.conf file but the system cant run lilo for some reason. Thread i've read say stuff like "from root partition run /sbin/lilo", but all i get back is "sh: lilo: command not found".
Does anyone have any ideas please?
 
Old 04-13-2013, 11:58 AM   #2
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 800

Rep: Reputation: 100Reputation: 100
Have you tried to boot from the install disc, chroot into your install and reinstall lilo?
 
Old 04-13-2013, 12:03 PM   #3
mutexe
Member
 
Registered: May 2009
Location: Malvern, UK
Distribution: Slackware 13.0
Posts: 225

Original Poster
Rep: Reputation: 32
thanks for the reply dude.
all i've done is try and add "lba32" into my lilo.conf and try and run lilo.

Wouldn't know how to chroot and re-install sorry.
 
Old 04-13-2013, 12:10 PM   #4
solarfields
Member
 
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: Slackware
Posts: 471

Rep: Reputation: 118Reputation: 118
you can boot the install CD/DVD, set swap, set target partition WITHOUT formatting it, then skip installing any packages and go directly to the configuration part in the installer to configure and reinstall lilo from there. Remember not to format your partitions!
 
Old 04-13-2013, 12:17 PM   #5
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 800

Rep: Reputation: 100Reputation: 100
You don't even need to do that. Just boot the install disc, mount your ROOT partition on /mnt. Mount your BOOT partition (if any) on /mnt/boot. After those are mounted, you can just chroot /mnt as root. Et, voila! Now you are in your install. Edit your lilo.conf to need and reinstall lilo where you want it
 
Old 04-13-2013, 12:31 PM   #6
mutexe
Member
 
Registered: May 2009
Location: Malvern, UK
Distribution: Slackware 13.0
Posts: 225

Original Poster
Rep: Reputation: 32
cheers guys. All working now.

Thanks again.
 
  


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
LILO ERROR #1 - Lilo boot loader not installing in VectorLinux 7.0 Light edition. Vexe VectorLinux 4 02-09-2013 09:41 AM
Clever person to write clever parsing bash script nishilmistry Programming 9 12-02-2012 10:42 AM
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 05:00 PM
I install Slackware on small HDD with LILO, can't boot LILO? kleptophobiac Slackware 4 08-10-2003 04:50 PM
Made a bootdisk with RedHat 7.1 to boot: Gave me SYSLINUX, not LILO:Want to use LILO Colonel Panic Linux - Software 0 08-17-2001 06:21 PM


All times are GMT -5. The time now is 07:39 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration