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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
11-11-2007, 01:55 PM
|
#1
|
LQ Newbie
Registered: Nov 2007
Location: the big smoke, ontario
Distribution: slackware, ubuntu,mandriva
Posts: 4
Rep:
|
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.
|
|
|
11-11-2007, 04:16 PM
|
#2
|
Member
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826
Rep:
|
You could start by posting your /etc/lilo.conf file so we can see what might be keeping it from installing correctly.
|
|
|
11-11-2007, 08:25 PM
|
#3
|
Senior Member
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079
Rep:
|
LILO, I belive, can only install to an active parition, and there can only be one of those per drive
|
|
|
11-11-2007, 08:46 PM
|
#4
|
Member
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826
Rep:
|
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.
|
|
|
11-11-2007, 09:48 PM
|
#5
|
LQ Newbie
Registered: Nov 2007
Location: the big smoke, ontario
Distribution: slackware, ubuntu,mandriva
Posts: 4
Original Poster
Rep:
|
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
|
|
|
11-12-2007, 01:14 AM
|
#6
|
Senior Member
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079
Rep:
|
did you install LILO to the mbr though?
|
|
|
11-12-2007, 06:19 AM
|
#7
|
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,358
Rep:
|
If you are managing to boot into slackware with your floppy, what happens when you run /etc/lilo? Do you get any error messages
|
|
|
11-12-2007, 08:25 AM
|
#8
|
Moderator
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,982
|
Quote:
Originally Posted by oneof7
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
|
|
|
11-12-2007, 08:27 AM
|
#9
|
Moderator
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,982
|
Quote:
Originally Posted by AceofSpades19
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.
|
|
|
11-12-2007, 09:49 AM
|
#10
|
Member
Registered: Oct 2007
Distribution: Gentoo, Slackware
Posts: 162
Rep:
|
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:
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
|
|
|
11-12-2007, 10:23 AM
|
#11
|
Member
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826
Rep:
|
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
|
|
|
11-12-2007, 11:31 PM
|
#12
|
LQ Newbie
Registered: Nov 2007
Location: the big smoke, ontario
Distribution: slackware, ubuntu,mandriva
Posts: 4
Original Poster
Rep:
|
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"
|
|
|
11-13-2007, 10:14 PM
|
#13
|
Member
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826
Rep:
|
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
That should fix it for your case.
|
|
|
11-13-2007, 10:18 PM
|
#14
|
Member
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826
Rep:
|
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.
|
|
|
11-14-2007, 07:08 AM
|
#15
|
Moderator
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,982
|
Hi,
Quote:
Originally Posted by oneof7
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'?
|
|
|
All times are GMT -5. The time now is 10:35 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|