Slackware - Installation This forum is for the discussion of installation issues with Slackware. |
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.
|
 |
07-31-2014, 12:51 AM
|
#1
|
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442
Rep:
|
Which kernel?
Hi: I have an old Dragon Linux distribution based on Slackware 7.1. This booted from an DOS/Windows O.S. I created a new partition, moved a file BZIMAGE to /boot and installpkg'd the packages. The system performs OK. However, it includes a package ide.tgz, with another kernel image: vmlinuz.
Code:
$ file BZIMAGE
Linux kernel boot executable bzImage, version 2.2.16 (root@bigkitty) #16 Fri, RO-rootFS, root_dev=0x303, Normal VGA
$file vmlinuz
Linux kernel boot executable bzImage, version 2.2.16 (root@bigkitty) #97 Fri, RW-rootFS, root_dev=0x303, Normal VGA
In fact there also is a scsi.tgz.
The thing is that the ide.tgz package not only includes vmlinuz but System.map and config. My question is: of these two kernels, which should I use and should I use an initrd? The machine has both IDE and SATA controllers, though at this time I only use IDE (PATA).
|
|
|
08-02-2014, 03:11 AM
|
#3
|
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442
Original Poster
Rep:
|
I have a more important question I think: Why doesn't BZIMAGE need the System.map and config files? I know System.map is kind of a symbol table (wikipedia). About config I know nothing. Another question would be: how does lilo know what System.map and config files to use? In lilo.conf I only write the path for the kernel image, and the name of this file could be anything, as long as it matches the name given in lilo.conf.
|
|
|
08-02-2014, 11:32 AM
|
#4
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
|
After reading this I wondered....
https://lists.debian.org/debian-isp/.../msg00052.html
Is the wrong map being seen or is it like the man said the syntax is wrong?
Maybe there is more than one map?
I'm looking here for possible answers.
Found that here: http://homepage.smc.edu/morgan_david...ilo-readme.txt
"A map file (/boot/map) containing the location of the kernel, and the lilo command (/sbin/lilo), which reads the configuration file and uses the information to create or update the map file and to install the files LILO needs."
http://docstore.mik.ua/orelly/linux/lnut/ch04_02.htm
Quote:
how does lilo know what System.map and config files to use?
|
I'm trying to find out-
|
|
|
08-02-2014, 12:22 PM
|
#5
|
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442
Original Poster
Rep:
|
The second link is very interesting reading. I love lilo. What's the need of grub?
|
|
|
08-02-2014, 12:40 PM
|
#6
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
|
Evidently there is only one other map file. (/boot/map) (unless I misunderstand)
There is only one other map file that specifies an alternative map file.
The map installer program /sbin/lilo updates the boot sector and creates the mapfile.
A new map is created for the images described in the configuration file /etc/lilo.conf and registered in the boot sector.
/sbin/lilo with (-v) list's the currently mapped files. Notice it says "files" How many is what I'm having trouble finding out--
If the (-c) option is omitted than the /etc/lilo.conf is used.
The LILO map installer can be invoked in the following ways:
http://lilo.alioth.debian.org/olddoc...html#x1-320004
LOL!
|
|
|
08-02-2014, 02:37 PM
|
#7
|
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442
Original Poster
Rep:
|
In the old days of MS-DOS the IO.SYS and MSDOS.SYS had to be the first files in the partition. That way, it was very easy to load them.
|
|
1 members found this post helpful.
|
08-02-2014, 07:56 PM
|
#8
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
|
Even after finding the info. on initrd and initramfs it's not exactly clear which you should use-
Perhaps this is about preference?
Both initrd and ramfs are zipped at compile time, but the difference is, initrd is a block device unpacked to be mounted by the kernel at booting, while ramfs is unpacked via cpio into memory-
http://stackoverflow.com/questions/1...-and-initramfs
|
|
|
08-07-2014, 03:14 PM
|
#9
|
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442
Original Poster
Rep:
|
Thank you Ztcoracat. The information you have provided me is very useful.
|
|
|
08-08-2014, 10:16 AM
|
#10
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
|
Quote:
Originally Posted by stf92
Thank you Ztcoracat. The information you have provided me is very useful.
|
Your Welcome-
Always glad to help.
Have a good weekend stf92!
|
|
|
08-08-2014, 11:30 AM
|
#11
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,342
Rep: 
|
[wrong post]
Last edited by Didier Spaier; 08-08-2014 at 11:32 AM.
|
|
|
08-08-2014, 11:31 AM
|
#12
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,342
Rep: 
|
Quote:
Originally Posted by Ztcoracat
Both initrd and ramfs are zipped at compile time, but the difference is, initrd is a block device unpacked to be mounted by the kernel at booting, while ramfs is unpacked via cpio into memory
|
Exactly. But what can confuse people is that files /syslinux/initrd.img in a Slackware media as well as /boot/initrd.gz output of /sbin/mkinitrd are actually initramfs, despite their names 
|
|
1 members found this post helpful.
|
08-08-2014, 09:47 PM
|
#13
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
|
Quote:
Originally Posted by Didier Spaier
Exactly. But what can confuse people is that files /syslinux/initrd.img in a Slackware media as well as /boot/initrd.gz output of /sbin/mkinitrd are actually initramfs, despite their names 
|
I can see where it could be a tad confusing:-
Thanks!
|
|
|
All times are GMT -5. The time now is 10:15 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
|
|