LinuxQuestions.org
Visit Jeremy's Blog.
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 11-11-2007, 02:55 PM   #1
oneof7
LQ Newbie
 
Registered: Nov 2007
Location: the big smoke, ontario
Distribution: slackware, ubuntu,mandriva
Posts: 4

Rep: Reputation: 0
Slackware 12...internet not working, Lilo will no install


System crashed and so decided to try a new distro.
Was running xp pro, ubuntu 6 and mandriva 10...all accessed the net with no problem

Re-installed xp pro and decided to try slackware 10. Had many problems with slackware. XP pro is on the first hard drive and Slackware on the second...both in their first partition.

1) Could not install Lilo. It is asking me to boot from a floppy. I do not have one. The file exists and I could see nothing wrong. I am using a shareware version of the boot manager Bootit and Slack boots OK with it. I uninstalled Bootit and tried again but still cannot install Lilo. Tried the expert install, tried to install to the MBR..it will not install.

2) While in slackware I cannot access the internet. Ran netconfig. The file /etc/rc.d/rcinet1.conf exists but I am not sure how to interpret what I see.

Any help with both the above would be great. I did not post any messages because I am not sure what is relevant at this stage.
 
Old 11-11-2007, 05:16 PM   #2
Vincent_Vega
Member
 
Registered: Nov 2003
Location: Jacksonville, FL
Distribution: Slackware & Arch
Posts: 825

Rep: Reputation: 31
You could start by posting your /etc/lilo.conf file so we can see what might be keeping it from installing correctly.
 
Old 11-11-2007, 09:25 PM   #3
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
LILO, I belive, can only install to an active parition, and there can only be one of those per drive
 
Old 11-11-2007, 09:46 PM   #4
Vincent_Vega
Member
 
Registered: Nov 2003
Location: Jacksonville, FL
Distribution: Slackware & Arch
Posts: 825

Rep: Reputation: 31
I just install to the MBR so I have never dealt with that limitation. For more complex setups I use Grub which is, hands down, a better bootloader.
 
Old 11-11-2007, 10:48 PM   #5
oneof7
LQ Newbie
 
Registered: Nov 2007
Location: the big smoke, ontario
Distribution: slackware, ubuntu,mandriva
Posts: 4

Original Poster
Rep: Reputation: 0
The active lines in my lilo.conf file:

boot=/dev/hdb1
message=/boot/boot_message.txt
prompt
timeout=1200
vga 773

other=/dev/hda1
label=windows
table=/dev/hda

image=boot/vmlinuz
root=/dev/hdb1
label=linux
read-only

I have seen grub mentioned. I will try to get an install and see if it helps. Would however rather solve the current problem and also the internet problem.

Also in replying to a previous post, I only have one active partition per hard drive.

Thanks for the suggestions so far
 
Old 11-12-2007, 02:14 AM   #6
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
did you install LILO to the mbr though?
 
Old 11-12-2007, 07:19 AM   #7
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.1 (multilib)
Posts: 1,220

Rep: Reputation: 57
If you are managing to boot into slackware with your floppy, what happens when you run /etc/lilo? Do you get any error messages
 
Old 11-12-2007, 09:25 AM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,549
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Quote:
Originally Posted by oneof7 View Post
The active lines in my lilo.conf file:

boot=/dev/hdb1
message=/boot/boot_message.txt
prompt
timeout=1200
vga 773

other=/dev/hda1
label=windows
table=/dev/hda

image=boot/vmlinuz
root=/dev/hdb1
label=linux
read-only

I have seen grub mentioned. I will try to get an install and see if it helps. Would however rather solve the current problem and also the internet problem.

Also in replying to a previous post, I only have one active partition per hard drive.

Thanks for the suggestions so far
Hi,

Your 'boot=/dev/hdb1' should be 'boot=/dev/hdb'. I would also include the 'lba32' in the global section of the '/etc/lilo.conf'. Edit the '/etc/lilo.conf' then as root;
Code:
~#lilo -v -t -b /dev/hdb          #test the lilo.conf
~#lilo -v -b /dev/hdb             #if no error then write to MBR
 
Old 11-12-2007, 09:27 AM   #9
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,549
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Quote:
Originally Posted by AceofSpades19 View Post
LILO, I belive, can only install to an active parition, and there can only be one of those per drive
Hi,

You don't need to have the partition set as active to install.
 
Old 11-12-2007, 10:49 AM   #10
konqi
Member
 
Registered: Oct 2007
Distribution: Gentoo, Slackware
Posts: 162

Rep: Reputation: 16
For lilo:
Boot your system with the slackware cd/dvd, follow the instructions to boot the install on your harddrive (at the point where you have to chose the kernel). When its ready booting, just login as root and type:
Code:
lilo
if you get any errors, post them here. If you don't get any errors just reboot.

Why do you install slackware 10, when the current version is 12.0? In 12.0 your network card whil already work (my card works out of the box).

If you want to use slackware 10, then you maybe need to download the driver for your network card and install them. (I have to this in the time I used slackware 10.2)

Hope it helps
 
Old 11-12-2007, 11:23 AM   #11
Vincent_Vega
Member
 
Registered: Nov 2003
Location: Jacksonville, FL
Distribution: Slackware & Arch
Posts: 825

Rep: Reputation: 31
I would really recommend taking a little time to learn about GRUB and especially the 'chainloader' option. It's a great bootloader and down the road you'll almost definitely want to use it.
Read through this post (one of mine) that isn't exactly the problem you're dealing with but it does explain the usefulness of GRUB and it taught me a lot about the bootloaders. It can only help you understand it all a little better.
http://www.linuxquestions.org/questi...ros-xp-507791/

As for your internet problem, are you using wireless? Post the output of
Code:
ifconfig -a
 
Old 11-13-2007, 12:31 AM   #12
oneof7
LQ Newbie
 
Registered: Nov 2007
Location: the big smoke, ontario
Distribution: slackware, ubuntu,mandriva
Posts: 4

Original Poster
Rep: Reputation: 0
I have installed Slackware 12 and have the same problems.

I am still using a boot manager to access the install

The Lilo file gives 2 error messages.

Warning: LBA addressing assumed
Warning: /dev/hdb1 is not on the first disk
Added Windows *
Added Linux

2 warnings were issued.

How do I add the LBA32 in the lilo.conf file ?

For my internet problem below is the result of running "ifconfig -a"

eth0 Link encap:Ethernet HWaddr 00:13:8F:C3:E2:B8
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:16 Base address:0xb400

eth1 Link encap:Ethernet HWaddr 00:80:C6:E9:80:FC
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:22 Base address:0x4c00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

Again..thanks for all the suggestions. The solution may be simple but I cannot see it.

I will be downloading grub to give it a try to solve the boot problem, though I did see some posts about it causing some grief to some users.

"carpe diem"
 
Old 11-13-2007, 11:14 PM   #13
Vincent_Vega
Member
 
Registered: Nov 2003
Location: Jacksonville, FL
Distribution: Slackware & Arch
Posts: 825

Rep: Reputation: 31
Don't worry so much about the LBA. That won't stop you from getting the LILO menu. But you need to change /dev/hdb1 to /dev/hda. Then LILO is installed to the first MBR.
So, boot into Slackware, edit the /etc/lilo.conf file and, as root, run
Code:
/sbin/lilo
That should fix it for your case.
 
Old 11-13-2007, 11:18 PM   #14
Vincent_Vega
Member
 
Registered: Nov 2003
Location: Jacksonville, FL
Distribution: Slackware & Arch
Posts: 825

Rep: Reputation: 31
With regard to your internet, can you determine which of the two (eth0 or eth1) you are plugged into? I assume this is NOT wireless?
You could try issuing these commands as root:
Code:
ifconfig eth0 up
dhcpcd eth0
The dhcpcd command should return a prompt fairly quickly. Then run 'ifconfig -a' after that and see if there is an IP address. Check for internet connectivity, etc. and let us know what your results are.
 
Old 11-14-2007, 08:08 AM   #15
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,549
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

Quote:
Originally Posted by oneof7 View Post
I have installed Slackware 12 and have the same problems.

I am still using a boot manager to access the install

The Lilo file gives 2 error messages.

Warning: LBA addressing assumed
Warning: /dev/hdb1 is not on the first disk
Added Windows *
Added Linux

2 warnings were issued.

How do I add the LBA32 in the lilo.conf file ?
Just add the lba32 to the global section of the '/etc/lilo.conf' file as I stated in post #8.

If your wanting to chain then write to the superblock of your device. Lilo works fine. Here's a snippet;

Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda         <<<<<yours is /et/hdb
message = /boot/boot_message.txt
prompt
timeout = 100
# Override dangerous defaults that rewrite the partition table:
change-rules
  reset
default=Linux
menu-title="AMOS2"
lba32
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/hda3
  label = Linux
  read-only
# Linux bootable partition config ends
#
# Linux bootable partition config begins
image = /boot/vmlinuz-generic-smp-2.6.21.5-smp
root = /dev/hda3
initrd = /boot/initrd.gz
  label = LinuxGenSMP
  read-only
# Linux bootable partition config ends
#
# Linux bootable partition config begins
# try huge-smp
image = /boot/vmlinuz-huge-smp-2.6.21.5-smp
initrd = /boot/initrd.gz
  label = LnxHugeSMP
  read-only
# Linux bootable partition config ends
As for the network problem. Did you use 'netconfig'?
 
  


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 ntldr missing after running lilo after slackware install SeriousArnoud Slackware 1 08-16-2005 10:07 AM
slackware internet not working eastsuse Slackware 5 03-24-2005 06:35 PM
internet not working after slackware 10.0 install O4_SRT Slackware 8 02-04-2005 03:28 PM
I install Slackware on small HDD with LILO, can't boot LILO? kleptophobiac Slackware 4 08-10-2003 05:50 PM
Lilo not working correctly after installing slackware. jpierce09 Slackware 5 07-15-2003 02:04 PM


All times are GMT -5. The time now is 04:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration