LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 10-29-2004, 09:21 AM   #1
Ryuji Yamazaki
Member
 
Registered: Oct 2004
Location: Singapore
Distribution: Slackware, FreeBsd
Posts: 43

Rep: Reputation: 15
Help With Lilo


I am using windows2k and i just installed slackware 10, problem is after installation and configuration , lilo wont run.... my pc just goes straight to win2k without any options to boot slackwre. I tried the automatic lilo setup and the advance lilo setup and specified which hda windows and linux is in but it still wont work..Is it because i went through the installation process wrongly? This is my first slackware installation and i am quite new to linux so please explain to me in simple terms... any help would be greatly appreciated..Btw i choosed to install lilo in root..

Last edited by Ryuji Yamazaki; 10-29-2004 at 09:23 AM.
 
Old 10-29-2004, 09:33 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Go back and run liloconfig and install lilo in the MBR
 
Old 10-29-2004, 09:39 AM   #3
Ryuji Yamazaki
Member
 
Registered: Oct 2004
Location: Singapore
Distribution: Slackware, FreeBsd
Posts: 43

Original Poster
Rep: Reputation: 15
Go back to where? i cant get to the shell .. it just boots into windows .. i booted up with my cd and i cant run liloconfig from there so i ran setup.. choose configure and nothing happens the highlight just goes back to help.
 
Old 10-29-2004, 09:51 AM   #4
iluvatar
Member
 
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403

Rep: Reputation: 30
Boot from the slackware CD, make a mount point (mkdir hd), mount your slack partition (mount /dev/hdxx hd), and enter it with the chroot command (chroot hd). now you can run liloconfig and lilo. Follow Chinaman's suggestion to install lilo in the MBR.
check the man page (man chroot) to see what this actually does

greetz,
.-=~ iluvatar ~=-.
 
Old 10-29-2004, 09:54 AM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Boot with the Slack CD1 and at the prompt which says boot: enter
bare.i root=/dev/hdxx noinitrd ro
where the xx is the / partition of Slack.

In case you don't know, this is how IDE drives are numbered:

/dev/hda = IDE0 master
/dev/hdb = IDE0 slave
/dev/hdc = IDE1 master
/dev/hdd = IDE1 slave

So if you have Slackware and W2K on the same hard drive and it's
the only one in your system, it's more than likely /dev/hda and then
you need to know which partition is the Slackware / (root) partition.

There's a bit of a tutorial in this thread post #7.
 
Old 10-29-2004, 09:55 AM   #6
Ryuji Yamazaki
Member
 
Registered: Oct 2004
Location: Singapore
Distribution: Slackware, FreeBsd
Posts: 43

Original Poster
Rep: Reputation: 15
Thanx guys im gonna get right to it, i'll let yall know how it turns out.. thanx agian..
 
Old 10-29-2004, 09:59 AM   #7
mAineAc
Member
 
Registered: Nov 2000
Location: Hermon, ME
Distribution: slackware
Posts: 201

Rep: Reputation: 30
when you get the boot prompt with your cd just tel it to boot your slackware partition instead of just hitting enter. the directions fordoing itare right there when itcomes up to the prompt. When you get your slack partition up then look at /etc/lilo.conf make sure it has a section for your windows partition as wel as your linux partition. You can find a lot of articles to tell you how to do this on the internet. Once you have it set up correctly run /sbin/lilo as root and it will install to your MBR. Or you can just create a boot disk which might be safer.
 
Old 10-29-2004, 10:16 AM   #8
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
With all due respect, how will running "lilo" put it in the MBR
once he's installed it in / ?
 
Old 10-29-2004, 11:24 AM   #9
Ryuji Yamazaki
Member
 
Registered: Oct 2004
Location: Singapore
Distribution: Slackware, FreeBsd
Posts: 43

Original Poster
Rep: Reputation: 15
Ok i managed to get it up and running thanx for the help ..booted with my cd rom and specified it to boot the partition my linux was on , reinstalled lilo to mbr and it worked.. thanx guys .. another problem ive been having is connecting to the net.. im using cable. ran pkgtool, static ip and set up my network..entered the ip ,gateway and mask but i still cant connect.. got all the info from ipconfig in windows, i have no idea what my dns is though so i specified not to use a name server.. could that be the problem? I've been told by my isp that i dont need a dns.

Ok guys i got it running , thanx for all your help ..

Last edited by Ryuji Yamazaki; 10-29-2004 at 11:48 AM.
 
Old 10-29-2004, 05:28 PM   #10
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Start a new thread with this topic. You've solved the problem of
"Help with Lilo" and no one is going to read this thread to try to
help someone get an internet connection setup. For the new one
choose "Need help with cable internet connection in Slack 10" or
something like that.

Update your LQ UserCP and put that your distribution is Slackware-10.0.
This will help you get better help.

Post your new thread to the Slackware forum, as what you're
trying to do is get your system configured properly. Each Linux
distro configures things differently, and you'll get better support
for Slackware issues in the Slackware forum.

Glad you got your problem fixed. Stay with Slack and learn Linux!
 
  


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
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 01:15 PM
Upgraded kernel, lilo.conf, didn't run /sbin/lilo dtashima Linux - Newbie 4 10-18-2004 11:21 AM
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 05:00 PM
new kernel causes lilo crash; /sbin/lilo = Warning: device 0x0305 exceeds 1024 cylind dandysf Linux - Software 0 08-26-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

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

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