LinuxQuestions.org
Help answer threads with 0 replies.
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 10-28-2012, 02:48 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,225

Rep: Reputation: 49
Why does /sbin/lilo not like the MBR and map file on <> disks?


That is a possible warning /sbin/lilo can give. If a warning, then, not necessarily and error. OK. I have 12.0 in hda1 and just installed 14.0 in hdb1. And no matter how I write lilo.conf, I consistently get "Warning: the boot sector and map file are on different disks". I have had this message other times and have not taken notice of it. The OS booted fine allthesame. However, I am getting "VFS: Cannot open root device "801" or Unknown-block(8,1) when booting my old 12.0.

Hence, in order to further research, I want first to get rid of that bothersome message of /sbin/lilo (not to be confused with the lilo boot loader), and so have only one variable. But then, I must begin by understanding a bit about the map file and the way it interacts with /sbin/lilo and the boot loader, which would be the object of my question.

Another thing: I have IDE-ATAPI drives. Any suggestion will be welcome.

Last edited by stf92; 10-28-2012 at 02:53 AM.
 
Old 10-28-2012, 04:48 AM   #2
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 755

Rep: Reputation: 227Reputation: 227Reputation: 227
The map file is stored in /boot given your other thread the reason your getting this message is because your currently installing lilo from hdb onto hda, thus you have 2 disks required for the system to boot.

Remember it is only a warning not an error so it wont stop anything unless your system happens to have one of those disks missing.

As for your unable to open root device error does the kernel your booting have the ext2 driver in it?
 
Old 10-28-2012, 08:39 AM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,225

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by wildwizard View Post
As for your unable to open root device error does the kernel your booting have the ext2 driver in it?
Thanks wildwizard, for the explanation on the MBR --> disk with the map file thing, i.e., visit MBR, look for /boot/map in the other disk.

From the Slackware-HOWTO shipping within the 14.0 distro and in my words: hugesmp.s has support for the filesystem and huge.s is the same except for single processor. huge.s is the one I told the installer to use to do its job. As it finally did not ask which kernel I finally wanted, I pressume huge.s is the kernel I have at present in the OS (14.0). This says nothing ... I read the 14.0 manuals for mke2fs and e2fsck. Both speak of ext2, ext3 and ext4, implying they know ext2. I'm attaching the lilo.conf last used.

Code:
lba32
boot = /dev/sda

# Slack 14.0
image = /boot/vmlinuz
  root = /dev/sdb1
  label = lin14
  read-only

# Slack 12.0
image = /mnt/boot/vmlinuz
  root = /dev/sda1
  label = lin12
  read-only
EDIT:
This is the kernel in use in my 12.0: vmlinuz-huge-smp-2.6.21.5-smp
This is the kernel in use in my 14.0:
vmlinuz-huge-3.2.29

Last edited by stf92; 10-28-2012 at 02:12 PM.
 
Old 10-29-2012, 03:37 AM   #4
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,225

Original Poster
Rep: Reputation: 49
Back to normal. Normal meaning 12.0 again, no 14.0. What a relief!
 
  


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
Warning: The boot sector and map file are on different disks (lilo). stf92 Slackware - Installation 5 07-10-2012 10:13 AM
what is the structure of LILO map file? mhdjavanmardi Linux - General 2 05-17-2012 04:34 AM
[SOLVED] Edit lilo.conf, run /sbin/lilo, but lilo won't take changes lukameen Slackware 2 02-10-2012 01:10 PM
Purpose of /boot/map file in LILO vmniza Linux - General 1 07-12-2005 10:01 PM
mbr had over write so lilo is gone how to rewrite lilo to mbr mch Linux - Software 4 10-25-2002 03:55 PM


All times are GMT -5. The time now is 06:38 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration