LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-14-2003, 05:10 AM   #1
zetox
LQ Newbie
 
Registered: Aug 2003
Location: Sweden
Distribution: Trying to get slackware running
Posts: 16

Rep: Reputation: 0
Lilo problem


I have xp and slackware 9.0.

Se i DON'T want lilo or grub or any other boot managers i want it t boot directly to xp if i don' use a the boot disk for slackware. So during the install i choose not to install lilo. Still lilo loads on boot and i have "Linux" as the only option. I enter and remove lilo and the liloconfig and everything else that has to do with lilo. I restart and the thing is still there.

Help me please.
 
Old 11-14-2003, 05:29 AM   #2
kadaver
Member
 
Registered: Nov 2003
Location: Beautiful Northern-sweden (Luleå)
Posts: 90

Rep: Reputation: 15
I'm assuming you installed slak on another partition than XP is on?

In that case:
I have no idea why lilo installed itself automatically but if you don't want it, boot from a windows bootdisk (preferably win98) and type 'fdisk /mbr'.
This command causes fdisk to overwrite the Master Boot Record, thus destroying lilo. And since the boot-process is unable to read linux-partitions your computer will boot into XP automatically. WARNING: POSSIBLY UNSAFE!!

The other way around is to actually use lilo to boot XP.
Adding this to the /etc/lilo.conf file will enable you to start XP with lilo:
I use the "jed" editor, so:

jed /etc/lilo.conf

Scroll down to the place where your linux root partition is, it should look something like this:

root = /dev/hda1
label = linux
read-only

All you need to do now is to copy that text, paste it below and change the /dev/hda1 option to whatever partition XP houses and change the label to anything you want i.e Windows XP. Save the file, exit the editor and type, at the command prompt:

/sbin/lilo

This command re-installs lilo with the new options.
Good luck!
 
Old 11-14-2003, 07:35 AM   #3
zetox
LQ Newbie
 
Registered: Aug 2003
Location: Sweden
Distribution: Trying to get slackware running
Posts: 16

Original Poster
Rep: Reputation: 0
well first did not work.

The second i do not know how i will do since i do not have lilo installed i do whereis lilo find lilo locate lilo no lilo on computer.....

Should i install lilo and set it up like that ?
 
Old 11-14-2003, 07:49 AM   #4
Kjetil4455
Member
 
Registered: Jul 2003
Location: Norway/Drammen
Distribution: Slackware~
Posts: 250

Rep: Reputation: 30
dude, deleting the files won't make no difference, its installed on your master boot record. to get rid of it you must install Windows' bootloader.
 
Old 11-14-2003, 07:56 AM   #5
kadaver
Member
 
Registered: Nov 2003
Location: Beautiful Northern-sweden (Luleå)
Posts: 90

Rep: Reputation: 15
Dude, all you have to do is to boot from a windows 98 bootdisk and type:
fdisk /mbr

This destroys lilo completely
 
Old 11-14-2003, 08:07 AM   #6
Kjetil4455
Member
 
Registered: Jul 2003
Location: Norway/Drammen
Distribution: Slackware~
Posts: 250

Rep: Reputation: 30
yup yup
 
Old 11-14-2003, 02:48 PM   #7
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
Dude
 
  


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
yet another lilo problem killahsmurf Slackware - Installation 6 04-23-2005 11:33 PM
Lilo vs Grub - PROBLEM with lilo nelsonnery Linux - Software 2 09-09-2004 11:09 AM
LILO problem CommandoHamster Linux - General 4 07-22-2003 11:52 AM
LiLo Installation problem ?and (GNOME and KDE problem) hitesh_linux Linux - Software 1 01-01-2002 04:56 AM
Problem with Lilo not updating (yes I ran lilo after changing the conf) webguy Linux - General 2 06-24-2001 07:12 PM

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

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