LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 04-22-2011, 03:42 AM   #1
porphyry5
Member
 
Registered: Jul 2010
Location: oregon usa
Distribution: Slackware 14.1, Arch, Lubuntu 18.04 OpenSUSE Leap 15.x
Posts: 518

Rep: Reputation: 24
During install, can I make grub the loader instead of lilo


I bought another tower and installed 13.1 as its only os. Unfortunately its bios will not recognize lilo, and gives an error message "no operating system". I've tried lilo in the mbr and on a floppy, the bios gives no option for booting from usb.

But it will recognize grub, because the tower came with ubuntu installed on it. And I know grub is in /extra on the dvd. So, when the install process reaches the lilo set up stage, could I go to another terminal and manually install grub and the grub-config tool, then return to the first terminal and just skip lilo and complete the install?

If so, what procedure should I follow? If not, is there any way it can be done?
 
Old 04-22-2011, 04:47 AM   #2
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
To be honest I think something went wrong when installing lilo inside the MBR cause the BIOS just passes the controll to the MBR after booting. But that's no gold.
Anyways you can change the boot manager anytime. Just either boot into the system (what seems not to work for you) or boot with a live CD and then install the wanted boot manager. To be more precise I would need to know what linux and not just the version you installed.
 
Old 04-22-2011, 05:39 AM   #3
porphyry5
Member
 
Registered: Jul 2010
Location: oregon usa
Distribution: Slackware 14.1, Arch, Lubuntu 18.04 OpenSUSE Leap 15.x
Posts: 518

Original Poster
Rep: Reputation: 24
Slackware 13.1. I booted the system from the dvd and installed grub, but it gives me the same error message as it did for lilo. With both lilo and grub I tried both the automatic and the expert install. Same result with all four.
 
Old 04-22-2011, 05:47 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
I would assume that something went wrong. Please give us a step by step description what you have done to install lilo/grub and what output you got.
 
Old 04-22-2011, 05:59 AM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Did you reset the bios to boot from HD?

Kind regards
 
Old 04-22-2011, 08:02 AM   #6
porphyry5
Member
 
Registered: Jul 2010
Location: oregon usa
Distribution: Slackware 14.1, Arch, Lubuntu 18.04 OpenSUSE Leap 15.x
Posts: 518

Original Poster
Rep: Reputation: 24
Thank you, both TobiSGD and repo, for your help.
Quote:
Originally Posted by TobiSGD View Post
I would assume that something went wrong. Please give us a step by step description what you have done to install lilo/grub and what output you got.
For the auto options to install both lilo and grub I chose the default option at every step. The manual process likewise, except I had to specify /sda2 instead of /sda1. There were no diagnostics from either lilo or grub so I assumed they installed correctly.

When then trying to boot from the mbr or floppy with lilo I got
Code:
PXE-E61: Media test failure, check cable
PXE-M0F: Exiting Broadcom PXE ROM
1962 Boot Sector Error, no operating system installed
With grub I got
Code:
1962 Drive does not contain a valid boot sector
The screen was then replaced with the single word GRUB in top left corner.

Quote:
Originally Posted by repo View Post
Did you reset the bios to boot from HD?

Kind regards
Not sure what you mean. As far as I know the boot process is automatic; it first tries floppy, then cd finally hd. The only change I made to the bios was to activate the floppy boot, the cd and hd options were already active.

Checking my bios setup, it contains the following System Summary:
Code:
Installed Memory  2048 MB
Available Memory  2046 MB
Diskette A  1.44 MB 3 1/2
Hard Disk 0  CD-ROM
Hard Disk 1  None
Hard Disk 2  None
Hard Disk 3  None
Hard Disk 4  None
Hard Disk 5  None
Shouldn't this be showing the actual HD as well?

Last edited by porphyry5; 04-22-2011 at 08:31 AM. Reason: Put previous edit addition at end
 
Old 04-22-2011, 08:10 AM   #7
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Quote:
Originally Posted by porphyry5 View Post
For the auto options to install both lilo and grub I chose the default option at every step. The manual process likewise, except I had to specify /sda2 instead of /sda1. There were no diagnostics from either lilo or grub so I assumed they installed correctly.
If you want to install to the mbr you have to use the harddrive itself and not the partition. SO this would be

Code:
/dev/sda

Quote:
Originally Posted by porphyry5 View Post
When then trying to boot from the mbr or floppy with lilo I got
Code:
PXE-E61: Media test failure, check cable
PXE-M0F: Exiting Broadcom PXE ROM
1962 Boot Sector Error, no operating system installed
To me this looks like your doing a PXE boot and not booting the mbr on a disk

Can you hit us with the /etc/fstab content to see how the system would mount the partitions? Just make sure that you use the fstab of the system and not from the installer. Maybe you have to chroot into the system. Something liek this

Code:
mount /dev/sda2 /mnt
cat /mnt/etc/fstab
This is that /dev/sda2 holds your root partition with /etc on it.
 
Old 04-22-2011, 08:11 AM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
You also have the network boot enabled, that is where the PXE messages come from.
If your boot sector is not valid for both lilo and grub I would assume that it is not correctly written. Please post the output of
Code:
fdisk -l
(issued as root) and your lilo.conf respectively menu.lst.
 
Old 04-22-2011, 10:22 AM   #9
porphyry5
Member
 
Registered: Jul 2010
Location: oregon usa
Distribution: Slackware 14.1, Arch, Lubuntu 18.04 OpenSUSE Leap 15.x
Posts: 518

Original Poster
Rep: Reputation: 24
Sorry, there will be a delay. I decided to reinstall to get back to the automatic install of lilo. But the install of lilo cancelled with 2 warnings about my video adapter, another warning about inconsistent partition table, and a fatal, either FIX-TABLE or IGNORE-TABLE must be specified. I disconnected the kvm switch, checked all the connections and tried the install again; same result.

I'm going to start from scratch with a new download of the iso, and this time I will check the md5sum. Then I will post the information you have requested. BTW, where is the log file created during the install?
 
Old 04-22-2011, 10:30 AM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
If you have problems with your partition table I would at first (before the install) repartition the disk. I also had warnings about my video adapter, just use the standard (safe) option.
About the logs, I don't know.
 
Old 04-22-2011, 03:06 PM   #11
porphyry5
Member
 
Registered: Jul 2010
Location: oregon usa
Distribution: Slackware 14.1, Arch, Lubuntu 18.04 OpenSUSE Leap 15.x
Posts: 518

Original Poster
Rep: Reputation: 24
Not the dvd; the new iso md5 checked, I verified the burn then compared the md5s of both new and old dvds; all identical

I removed the kvm switch, checked all the cable connections and installed from the new dvd. I removed all existing hd partitions, and made the entire drive a single partition, sda1. I did a complete format, and installed everything, taking the default every time except for choosing the safe option on the monitor when doing lilo. I got the same result as the previous 2 installs.

The output of cat /mnt/etc/fstab is
Quote:
/dev/sda1 / ext4 defaults 1 1
/dev/sdc1 /128m vfat defaults 1 0
/dev/sdd1 /4gb vfat defaults 1 0
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
The output of cat /etc/fstab is
Quote:
proc /proc proc defaults 0 0
The output of fdisk -l is
Quote:
Disk /dev/sda: 73.4 GB, 73407488000 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0008b7f7

Device Boot Start End Blocks Id System
/dev/sda1 * 1 8924 71681998+ 83 Linux

Disk /dev/sdb: 16.0 GB, 16026435072 bytes
64 heads, 32 sectors/track, 15283 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1cde1cdd

Device Boot Start End Blocks Id System

Disk /dev/sdd: 4022 MB, 4022337024 bytes
255 heads, 63 sectors/track, 489 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x77187718

Device Boot Start End Blocks Id System
/dev/sdd1 1 488 3919841 6 FAT16

Disk /dev/sdc: 131 MB, 131072000 bytes
32 heads, 32 sectors/track, 250 cylinders
Units = cylinders of 1024 * 512 = 524288 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0b4a0e6a

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 250 127984 6 FAT16
Partition 1 has different physical/logical endings:
phys=(250, 31, 32) logical=(249, 31, 32)
There is no /boot/lilo/menu.lst, nor/etc/lilo.conf, but there is /etc/lilo-error.14144, the error messages produced when lilo failed to make.
Quote:
Warning: Unable to determine video adapter in use in the present system.
Warning: Video adapter does not support VESA BIOS extensions needed for
display of 256 colors. Boot loader will fall back to TEXT only operation.
Warning: Device 0x0820: Inconsistent partition table, 1st entry
CHS address in PT: 0:1:1 --> LBA (50)
LBA address in PT: 32 --> CHS (0:0:33)
Fatal: Either FIX-TABLE or IGNORE-TABLE must be specified
If not sure, first try IGNORE-TABLE (-P ignore)

Sorry, but the attempt to install LILO has returned an error, so LILO has not been correctly installed. You'll have to use a bootdisk to start your machine instead. It should still be possible to get LILO working by editing the /etc/lilo.conf and reinstalling LILO manually. See the LILO man page and documentation in /usr/doc/lilo/ for more help. The error message may be seen above.
 
Old 04-22-2011, 03:39 PM   #12
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
You didn't mention that you have several other disks in your machine. Try to install lilo with all of them disconnected.

Quote:
There is no /boot/lilo/menu.lst
Of course not, menu.lst is the configuration file for Grub, it should be /boot/grub/menu.lst, and only be there if you actually have installed Grub.

That there is no /etc/lilo.conf can be caused by the fact that your installer is not able to generate one, just because of the errors you get.

EDIT: After having a closer look it seems that you have a problem with the partition table of your sdc-disk. Remove at least this one before installing lilo.

Last edited by TobiSGD; 04-22-2011 at 03:42 PM.
 
1 members found this post helpful.
Old 04-22-2011, 04:33 PM   #13
porphyry5
Member
 
Registered: Jul 2010
Location: oregon usa
Distribution: Slackware 14.1, Arch, Lubuntu 18.04 OpenSUSE Leap 15.x
Posts: 518

Original Poster
Rep: Reputation: 24
Thank you very much. That solved the lilo problem. But I'm going to redo the install, because it now hangs half way through the boot up. I hope because its looking for those absent usb sticks. I guess you can't be casual about those things with linux. Is that true of all plug and play devices; that you just can't plug them in and pull them out as you please, you always must mount and umount them?
 
Old 04-22-2011, 04:46 PM   #14
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by porphyry5 View Post
I guess you can't be casual about those things with linux. Is that true of all plug and play devices; that you just can't plug them in and pull them out as you please, you always must mount and umount them?
You can be casual, but you shouldn't, data loss on the USB-device can occur. But it is the same in Windows, there you have to remove safely those devices, using a icon in the system tray.
 
Old 04-23-2011, 10:31 AM   #15
porphyry5
Member
 
Registered: Jul 2010
Location: oregon usa
Distribution: Slackware 14.1, Arch, Lubuntu 18.04 OpenSUSE Leap 15.x
Posts: 518

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by TobiSGD View Post
... But it is the same in Windows, there you have to remove safely those devices, using a icon in the system tray.
In practice, you didn't, not even for ntfs file systems, and I never experienced adverse effects. But that was with xp, the last windows os I could stomach; even then only because you could turn off all of its nagging with a single registry hack.

With linux I see I shall have to be more disciplined, but the trade-off is well worth it; finally to escape their insufferable "nanny microsoft knows best" approach to the user.
 
  


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
Can't install boot loader- both Grub and Lilo failed. And other problems. bgraybr Linux - Hardware 8 01-25-2010 08:52 PM
How to change my Grub Loader to Lilo loader in REDHAT LINUX 9.0 skumar.v Linux - Newbie 3 04-04-2008 10:38 AM
trouble install boot loader grub or lilo tilley Linux - Software 10 10-24-2003 04:13 PM
How to make LILO or GRUB install to hda1? explorer1979 Linux - General 3 04-25-2003 08:21 AM

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

All times are GMT -5. The time now is 08:06 AM.

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