Click to See Complete Forum and Search --> : Simple question


jugalator
11-09-2000, 12:10 PM
What should be added to lilo if i want to boot my second linux distro(slakeware7.1) which is on my second hardrive(hdb)

Wonock
11-09-2000, 01:21 PM
Depending on what Window Manager or Environment you use, you'd probably want to use the configuration opetions (like in linuxconf or drakconf). If you don't have that then I would copy what the first distro uses and change the drive (/dev/hdb) and the kernel to the 2nd linux systems settings.

There is always man lilo ;-)

Wonock

jugalator
11-09-2000, 08:17 PM
is the kernel version the only thing i have to change?
do i have to change the boot image?
i am using slakeware 7.1 for my second hard drive
do i have to do all those mapping commands under lilo?

jugalator
11-09-2000, 08:20 PM
to be more specific this is my current lilo.conf
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
linear
default=linux

image=/boot/vmlinuz-2.2.16-22
label=linux
initrd=/boot/initrd-2.2.16-22.img
read-only
root=/dev/hda5
other=/dev/hdb1
label=windows
table=/dev/hdb
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80

have currently have windows on my second hard drive (hdb). I want to wipe windows out and do slakeware on it. What exactly must i change in lilo.conf to boot up slakeware?

Wonock
11-09-2000, 10:40 PM
Actually, Slackware should install LILO again adding both distros so you don't have to spend time editing it. But yes you want to mimick the first one but out all the info in from slack.

Wonock

------------------
Not everyone can be right
But everyone will decide!
-Face To Face

Phreakee
11-10-2000, 03:10 PM
Yes you would want to add another section to the lilo.conf file. All you would need to add is the following section (I have copied from your previous post, I have not modified it)

image=/boot/vmlinuz-2.2.16-22
label=linux initrd=/boot/initrd-2.2.16-22.img
read-only
root=/dev/hda5


For the image section you will need to add the entry for the Slackware kernel. If you do not put them in the same /boot then you will have to make the appropriate changes there.

Label section will need to be different too IE, lable=linux-slack

I am not sure about the initrd section with a slackware install. What the initrd section is, is an Initial Ram Disk. This is used in a SCSI enviornment to load the SCSI drivers so that the Linux image can be found and accessed.

ReadOnly is also optional

The root section will point to the root partion of your install IE root=/dev/hdb


And like wonock said, the slack install should replace lilo and add the entry for your other install of linux on /dev/hda If you want to go that route!


Hope this helps!