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 07-04-2010, 11:38 AM   #1
Wed
Member
 
Registered: Sep 2005
Location: Sweden
Distribution: Slackware
Posts: 249

Rep: Reputation: 45
can't install lilo


I have been given a new old computer, Asus K8N-E with a 2GHz AMD Athlon 64.

OpenBSD and Debian works like a charm. But with Slackware 13.1, LILO won't be installed properly. There are two disks: a 10GB ATA-drive with the system and a 250GB SATA-drive as a data repository.

Apparently the computer insists that the SATA is the first disk. Subsequently the bootable partition is not on the first disk and disables LILO to be installed. This is when I try to install LILO to a partition.

When it is installed to MBR, it says something about overlapping and can't boot.

Help is greatly appreciated!
 
Old 07-04-2010, 11:50 AM   #2
zirias
Member
 
Registered: Jun 2010
Posts: 361

Rep: Reputation: 59
Did you try GRUB? I didn't follow LILO development any more, as GRUB seams to be "mainstream" for at least 3 years now -- so maybe it will just work for you
 
0 members found this post helpful.
Old 07-04-2010, 11:55 AM   #3
Wed
Member
 
Registered: Sep 2005
Location: Sweden
Distribution: Slackware
Posts: 249

Original Poster
Rep: Reputation: 45
I haven't seen an option for that. Else I would try.
 
Old 07-04-2010, 12:26 PM   #4
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware
Posts: 573

Rep: Reputation: 59
What's the boot sequence in the BIOS? Also, have you tried marking the first partition on the ATA drive as bootable, and ensured that none on the SATA are marked as such?
 
Old 07-04-2010, 12:52 PM   #5
Wed
Member
 
Registered: Sep 2005
Location: Sweden
Distribution: Slackware
Posts: 249

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by Eternal_Newbie View Post
What's the boot sequence in the BIOS? Also, have you tried marking the first partition on the ATA drive as bootable, and ensured that none on the SATA are marked as such?
The boot order has been tried backwards as well as forwards. The SATA-drive is /dev/sda regardless.

Only the 500MB /boot partition of the ATA-drive is bootable.
 
Old 07-04-2010, 02:35 PM   #6
Wed
Member
 
Registered: Sep 2005
Location: Sweden
Distribution: Slackware
Posts: 249

Original Poster
Rep: Reputation: 45
The SATA-drive was disconnected and the ATA-drive was installed in a normal fashion. So far, so good. Now comes the part where I want to add the SATA-drive. But what is it called? The ATA is now /dev/sda
 
Old 07-04-2010, 03:15 PM   #7
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Rep: Reputation: 120Reputation: 120
I had the exact same problem. I could setup 13.1 and lilo with the ide drive only connected but the moment I attached a sata drive used for multimedia storage I could not boot. Changing the boot order in the BIOS did not help but eventually I googled up a solution.

With slack 13.1 my sata drive is named sda and my ide drive is named sdb. With /boot on partition sdb1 and the following commands did the job:
Code:
lilo -b /dev/sdb1
lilo -M /dev/sdb
lilo -A /dev/sdb 1
Note that there has to be a space between "sdb" and "1" in the third command.
 
Old 07-04-2010, 03:21 PM   #8
tallship
Member
 
Registered: Jul 2003
Location: On the Beaches of Super Sunny Southern San Clemente, California USA
Distribution: Slackware - duh!
Posts: 534
Blog Entries: 3

Rep: Reputation: 118Reputation: 118
Question libata in Slackware?

Quote:
Originally Posted by justwantin View Post
With slack 13.1 my sata drive is named sda and my ide drive is named sdb...
I haven't u/g'd to 13.1 but, we aren't using libata in this version are we? If not, I would think that the IDE (PATA) drive would still be referred to as /dev/hdX instead of /dev/sdX.
 
Old 07-04-2010, 03:44 PM   #9
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Rep: Reputation: 120Reputation: 120
I don't have libata onboard with a full install of 13.1
Code:
rick@rick:~$ ls /var/log/packages/ | grep liba  
libaio-0.3.109-i486-1
libao-0.8.8-i486-1
libarchive-2.8.0-i486-1
libart_lgpl-2.3.20-i486-1
libassuan-1.0.5-i486-1
As for naming, ATM I have two ide drives and one sata drive plugged in. The sata drive is named sda even though it was changed in BIOS to last in order. The two ide drives follow in order to deive connection on mobo.
Code:
rick@rick:~$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root              5855432    386880   5468552   7% /
/dev/sdb10            11718996     32972  11686024   1% /mnt/sdb10
/dev/sdb11            11718996  10139272   1579724  87% /mnt/sdb11
/dev/sdb3             96691440  79588096  17103344  83% /mnt/sda3
/dev/sdb6              5855432   4511872   1343560  78% /usr
/dev/sdb7              5855432   1252756   4602676  22% /usr/local
/dev/sdb8              4883556    749892   4133664  16% /opt
/dev/sdb9             11718996   8857296   2861700  76% /home
/dev/sdc1              5859272    280472   5578800   5% /mnt/sdc1
/dev/sdc3             46766512      5848  46760664   1% /mnt/sdc3
/dev/sda1            244057272  16136644 227920628   7% /multimedia
 
Old 07-05-2010, 09:23 AM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Quote:
So you want to be a Slacker! What do I do next?
I've noticed a problem for some new users that are attempting to use 'Slackware 13.1 BETA1'.

'libata_switchover' has been around since 13.0 but some new users are not aware.
A new user should look at rworkman's 'libata_switchover HOWTO';

Quote:
excerpt 'libata_switchover HOWTO';
This is written to provide one of several ways to retain a working
system after upgrading from Slackware 13.0's kernel to the newer
kernel in -current (which removes support for the "old" ide subsytem,
thereby causing all /dev/hd* devices to have /dev/sd* names.
I also suggest that everyone looks at CHANGES_AND_HINTS.TXT and the other text files. Hopefully this will keep the gotcha clown away.

'libata_switchover HOWTO' is the link to check out!
 
Old 07-05-2010, 04:11 PM   #11
Z038
Member
 
Registered: Jan 2006
Location: Dallas
Distribution: Slackware
Posts: 910

Rep: Reputation: 174Reputation: 174
Just FYI - If you have a LUKS-encrypted root on an LVM drive, the root you specify in step 4 at the prompt after hitting the tab key will be something like /dev/vg00/root, where the vg00 will be whatever you called your LVM volume group where /root resides. At least, I think so. Even that didn't work for me when I upgraded one of my systems, but it was my fault. I had built the initrd incorrectly (late night, too tired, fingercheck). Perhaps on my next upgrade I'll get to find out if that will work.

Last edited by Z038; 07-05-2010 at 04:13 PM.
 
  


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
[SOLVED] How to run lilo from install dvd to reinstall lilo to MBR? timetraveler Slackware - Installation 5 04-28-2010 01:48 PM
[SOLVED] Before Install: Slackware over Ubuntu (Grub to LILO), Dual w/Vista: LILO question Ubunoob001 Slackware - Installation 3 03-01-2010 03:01 PM
Cent OS install on an Optiplex 320... installed lilo... need help with lilo.conf hcervan Linux - Newbie 7 01-18-2008 08:07 AM
lilo ntldr missing after running lilo after slackware install SeriousArnoud Slackware 1 08-16-2005 09:07 AM
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 05:00 PM

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

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