LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 08-30-2007, 10:05 AM   #1
thebiggiantmouse
Member
 
Registered: May 2006
Location: Da Bronx
Distribution: Arch Linux, Sackware, Gentoo
Posts: 255

Rep: Reputation: 31
how to get back lilo


I am using two hardrives slack 12 on hdb winxp on hda. I had to reinstall winxp after a crash. Now my system boots directly into windows without the lilo prompt.Is there anyway to get back lilo? thanx for any help. and a good xp activation crack would be nice too.....just kidding not really

Last edited by thebiggiantmouse; 08-30-2007 at 10:15 AM.
 
Old 08-30-2007, 10:24 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,670

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
boot your system using Slackware's CD 1
mount your root partition on some mount points, and ran chroot to that directory
next, ran /sbin/lilo and you will have your lilo back
 
Old 08-30-2007, 03:42 PM   #3
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
did you get your LILO back?

when you boot your Slackware CD type in as follows:

bare.i root=/dev/hdb1 noinitrd ro (then press enter)

assuming slackware is on the first partition of /dev/hdb (adjust accordingly if needed)

if you have an initrd.img then leave the noinitrd out,

once slackware is booted logon as root and type in /sbin/lilo and you should get your lilo bootloader back...
 
Old 08-30-2007, 04:21 PM   #4
Road_map
Member
 
Registered: Jan 2007
Distribution: Slackware
Posts: 341

Rep: Reputation: 31
Quote:
Originally Posted by Okie View Post
when you boot your Slackware CD type in as follows:

bare.i root=/dev/hdb1 noinitrd ro (then press enter)

assuming slackware is on the first partition of /dev/hdb (adjust accordingly if needed)

if you have an initrd.img then leave the noinitrd out
And for Slackware 12.0
Code:
hugesmp.s root=/dev/hdb1 rdinit= ro
 
Old 08-30-2007, 04:30 PM   #5
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
lol, roadmap i guess i am behind the times for booting an installed system with Slackware-12, i have not actually had to do it in a long long time, Thanks...
 
Old 08-30-2007, 04:41 PM   #6
Road_map
Member
 
Registered: Jan 2007
Distribution: Slackware
Posts: 341

Rep: Reputation: 31
Quote:
Originally Posted by thebiggiantmouse View Post
I am using two hardrives slack 12 on hdb winxp on hda. I had to reinstall winxp after a crash. Now my system boots directly into windows without the lilo prompt.Is there anyway to get back lilo? thanx for any help. and a good xp activation crack would be nice too.....just kidding not really
Quote:
Originally Posted by Okie View Post
lol, roadmap i guess i am behind the times for booting an installed system with Slackware-12, i have not actually had to do it in a long long time, Thanks...
Your command is for 11.0, mine is for Slackware 12.0. If I made a mistake, I beg you pardon, but it's not necessary to be ironic.

Last edited by Road_map; 08-30-2007 at 04:49 PM.
 
Old 08-31-2007, 09:54 AM   #7
geek745
Member
 
Registered: Jul 2004
Location: Alton, IL
Distribution: Linux Mint; Slackware; Ubuntu; Slax
Posts: 172
Blog Entries: 2

Rep: Reputation: 34
might want to save your master boot record that contains the xp loader just in case.. i think it's 512kb - copy it out like this, from a linux prompt:

dd if=/dev/hda bs=1024 count=512 of=/root/hda.mbr.20070831

or something like that. assuming hda is the hard drive with the xp boot record on it.

read other posts about saving the master boot record, and arguments about the partition table if you want to restore it in the future.

but the instructions given above should get your lilo loader up and running - using the install cd.
 
Old 09-01-2007, 01:12 PM   #8
thebiggiantmouse
Member
 
Registered: May 2006
Location: Da Bronx
Distribution: Arch Linux, Sackware, Gentoo
Posts: 255

Original Poster
Rep: Reputation: 31
ok thanx for your help. I loaded up my slack dvd booted into root and typed in the command /sbin/lilo and voila lilo is back in effect. thanx for your help everyone.
 
  


Reply



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
How to get LILO back? Ook Slackware 3 05-22-2005 09:27 PM
How do I get Lilo back? mngmd Linux - Newbie 2 04-06-2005 12:56 PM
How to get LILO back from windows :( 5KIDMA Linux - Software 7 11-05-2004 05:15 PM
How to get back my LILO finnysamuel Fedora 1 10-28-2004 07:23 PM
XP killed lilo and i'm not sure how to get it back edfinegan Linux - Software 2 09-12-2003 04:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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