LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   triple-boot LILO XP+MDK9.2+Slack 9.1 (https://www.linuxquestions.org/questions/linux-newbie-8/triple-boot-lilo-xp-mdk9-2-slack-9-1-a-165211/)

WannaLearnLinux 04-01-2004 10:23 PM

triple-boot LILO XP+MDK9.2+Slack 9.1
 
I'm trying to add Slackware to Lilo.conf,but

Finally thanx to Knoppix live CD I'm able to post how my /etc/lilo.conf in MDK 9.2 looks like:

image=/boot/wmlinuz
label="linux"
root+/dev/hdc5
initrd=/boot initrd.img
append="devfs=mount hda=ide-scsi acpi=ht resume=/dev/hdc6 splash=silent"
vga=788
read-only

so I added:

image=/boot/wmlinuz
label="Slack"
root=/dev/hdc9 (which is / of Slack 9.1)
initrd=/boot/initrd.img
append.....same as above....
vga=788
read-only

..etc........

So my question is how to tell Lilo in Mandrake that I wants to boot Slack (for 1st time)?The changes above I made with #vi and saved with /sbin/lilo.But can't see at Lilo boot screen.

I browsed here but can't find any post same to my problem.

wiBo 04-01-2004 10:27 PM

Try to rename the kernel name cauz it's maybe make confusion for LILO :(

Also, when you have typed : /sbin/lilo , can you copy/past the output text plz?

Thx

WannaLearnLinux 04-01-2004 10:30 PM

thanx
 
well I don't know what output you mean.....sorry just noob

And I found out I should use name of the Slackware kernel.Wasn't sure.

wiBo 04-01-2004 10:36 PM

Ok , if i type /sbin/lilo , done :

[root@localhost /home/wibo]# /sbin/lilo
Added Linux2.4.22 | ->
Added Windows* | -> THIS IS THE OUTPUT TEXT :)
Added Deb-2.6.3 | ->

[root@localhost /home/wibo]#

WannaLearnLinux 04-01-2004 10:37 PM

and how do I know what Kerenl Slackware it is when I didn't boot into it yet?

WannaLearnLinux 04-01-2004 10:38 PM

ok
 
Quote:

Originally posted by wiBo
Ok , if i type /sbin/lilo , done :

[root@localhost /home/wibo]# /sbin/lilo
Added Linux2.4.22 | ->
Added Windows* | -> THIS IS THE OUTPUT TEXT :)
Added Deb-2.6.3 | ->

[root@localhost /home/wibo]#

I will have to reboot then,because I'm using Knoppix live CD on same box....I have another one I can go in here.....and try what you said....give me minute .)

wiBo 04-01-2004 10:39 PM

**EDIT

Ok

WannaLearnLinux 04-01-2004 10:40 PM

but I'll not be able to show you output because can't get eth to work at MDK yet :(

too complicated..sorry...

wiBo 04-01-2004 10:42 PM

Quote:

Originally posted by WannaLearnLinux
but I'll not be able to show you output because can't get eth to work at MDK yet :(

too complicated..sorry...

What do you mean?

WannaLearnLinux 04-01-2004 10:47 PM

Quote:

Originally posted by wiBo
What do you mean?

well I have 2 boxes....one XP only I'm on now....and one where I'm truing its Slack into Lilo.conf.there is MDK 9.2 but eth doesn't work for some reason.SO I have to used this XP box or reboot into some Live cd to get on iternet on box I'm having problem with.....


Ok so what output you wanted?..not the /sbin/lilo......


and on top of this post is my /etc/lilo.conf

So I don't know what output you need..sorry :newbie:

wiBo 04-01-2004 10:53 PM

the output when you type /sbin/lilo .. maybe the slack kernel have not been added?

WannaLearnLinux 04-01-2004 10:53 PM

you mean this?
 
#/sbin/lilo

added linux *
added linux-slackware


..etc....

wiBo 04-01-2004 10:54 PM

Yes!

But now, when you reboot, you didn't have the linux-slackware option?
If u can't choose, you maybe have a " boot: " prompt ... Type :

linux-slackware

:)

WannaLearnLinux 04-01-2004 10:58 PM

Quote:

Originally posted by wiBo
Yes!

But now, when you reboot, you didn't have the linux-slackware option?
If u can't choose, you maybe have a " boot: " prompt ... Type :

linux-slackware

:)


No I don't have option......this is why I make this post .)

wiBo 04-01-2004 11:02 PM

you didn't have a prompt or anything else like that?

Weird :/

WannaLearnLinux 04-01-2004 11:06 PM

hehe
 
I have prompt:

it says:

no such image

wiBo 04-01-2004 11:08 PM

you didn't have an image.. :(

type ls -l /boot/

And copy/past here plz...

WannaLearnLinux 04-01-2004 11:14 PM

ok,but
 
Quote:

Originally posted by wiBo
you didn't have an image.. :(

type ls -l /boot/

And copy/past here plz...


I wish I knew how to past it here....cause eth at that box doesn't work.....but I can tell you I see only 2.4.22-10mdk kernel..if that'll help


thanx for helping....it is hard to paste when eth's not working yet...

wiBo 04-01-2004 11:17 PM

Ok, so you didn't have a image, where is your slack kernel now? :/

WannaLearnLinux 04-01-2004 11:19 PM

hdc9 /
hdc11 /usr
hdc12 /home


if this helps....so it is probably in hdc9....it is 1st time booting Slackware...

wiBo 04-01-2004 11:21 PM

ok, in hdc9 in /boot/ what do you have, can you copy/past or write ALL you can plz?

WannaLearnLinux 04-01-2004 11:26 PM

ooopps
 
I don't know but in MDK control center I see that those partitions are not mounted even when I mounted them during installation.Wierd.

Anyway don't know how to post you wanted.How can I get into this partition? I need to mount it probably?

:newbie:

wiBo 04-01-2004 11:29 PM

yes.

mkdir /mnt/slack && mount /dev/hdc9 /mnt/slack

You will have your slack partition in /mnt/slack :)

If it work, go in mnt/slack/boot/ and tell me what you see ... :)

Also, you can get info with fdisk :

fdisk -l /dev/hdc

So?

WannaLearnLinux 04-01-2004 11:30 PM

when I try mount it it asks if i wants:

1.) move data into another partition

2.) hide those files

wiBo 04-01-2004 11:30 PM

Quote:

Originally posted by WannaLearnLinux
when I try mount it it asks if i wants:

1.) move data into another partition

2.) hide those files

What command do you have used ? :mad:

WannaLearnLinux 04-01-2004 11:34 PM

Quote:

Originally posted by wiBo
yes.

mkdir /mnt/slack && mount /dev/hdc9 /mnt/slack

You will have your slack partition in /mnt/slack :)

If it work, go in mnt/slack/boot/ and tell me what you see ... :)

Also, you can get info with fdisk :

fdisk -l /dev/hdc

So?


mounted...thanx...

but in that /mnt/slack when ls -l /boot I see same as before...2.4.22.-10mdk only

wiBo 04-01-2004 11:36 PM

Okay, it's simple, you don't have your kernel image in /boot :(

Are you sure you have copied the kernel image in the right path?

I'm confused :(

So, i have to go sleep, i'm a 15 years old boy, need sleep cauz the school begin in 6 hours here :)

Have a nice day, see you "tommorow" :)

WannaLearnLinux 04-01-2004 11:39 PM

Quote:

Originally posted by wiBo
Okay, it's simple, you don't have your kernel image in /boot :(

Are you sure you have copied the kernel image in the right path?

I'm confused :(

So, i have to go sleep, i'm a 15 years old boy, need sleep cauz the school begin in 6 hours here :)

Have a nice day, see you "tommorow" :)



you doesn't seems to me like 15 yrs old boy .)

anyway thanx for helping and so fast replying and sorry I couldn't post any outputs,etc....

Thanx again.....I moved little further ;)

wiBo 04-02-2004 07:45 AM

Ok im @ School now :)

But , what i said, you didn't have a kernel for your Slackware distro in /boot

If u want, you can re-install your slack distro for re-install kernel ?

Also, try to rename your slack kernel with other name than Slack-x.x.x

So?

WannaLearnLinux 04-02-2004 10:05 PM

hi wiBo
 
Quote:

Originally posted by wiBo
Ok im @ School now :)

But , what i said, you didn't have a kernel for your Slackware distro in /boot

If u want, you can re-install your slack distro for re-install kernel ?

Also, try to rename your slack kernel with other name than Slack-x.x.x

So?


Sorry I'm newbie...how will I do that ?

Wher is the Slackware kernel installed then? On hdc9 where / is?Don't know what to do.Thinking about erasing whole drive,XP + MDK 9.2 (which eth doesn't work anyway) and Slack I haven't see yet :rolleyes:

Sorr I was late today.

Thanx for helping,I appreciate your help. ;)

wiBo 04-02-2004 10:10 PM

" On hdc9 where / is? "
- Okay, as root type :

mkdir /mnt/slack && mount /dev/hdc9 /mnt/slack

You will have your partition's content in /mnt/slack

So, go in /boot (/mnt/slack/boot) and check it for kernel or anything like that :)

I'm sorry, i'm visual ype, so :(

Check a little bite regard in /mnt/slack/usr/src/ and copy/past here plz :)

WannaLearnLinux 04-02-2004 10:13 PM

hi wiBo
 
Quote:

Originally posted by wiBo
" On hdc9 where / is? "
- Okay, as root type :

mkdir /mnt/slack && mount /dev/hdc9 /mnt/slack

You will have your partition's content in /mnt/slack

So, go in /boot (/mnt/slack/boot) and check it for kernel or anything like that :)

I'm sorry, i'm visual ype, so :(

Check a little bite regard in /mnt/slack/usr/src/ and copy/past here plz :)


you are so good man!

Anyway I did mnt slack yesterday.And checked /boot where was only MDK kernel.

I'll look what's in /mnt/slack/usr/src...hold on my HERO :D

wiBo 04-02-2004 10:16 PM

LOL, i'm only a 15 years old boy :)

I'm not a HERO :)

Just a human with knowledge of Linux :) (a little bite.... ^^)

WannaLearnLinux 04-02-2004 10:19 PM

ok
 
I don't have a /src in /usr (??)

wiBo 04-02-2004 10:19 PM

!!!!!

List me the content of your /usr dir plz

WannaLearnLinux 04-02-2004 10:21 PM

bin
doc
games
include
info
lib
libexec
man
sbin
share

wiBo 04-02-2004 10:22 PM

Hmm, just a question, do you have the kernel sources installed for your slack distro?

WannaLearnLinux 04-02-2004 10:25 PM

that's Q
 
hold on...it should be on another partition....I'll mount it


I think when I installed so I isntalled kernel source too,otherwise It won't work. :newbie:

wiBo 04-02-2004 10:25 PM

Okay ... i wait ... it's long :)

I'll be back in approximatively 1hour + ..

See ya dude, i don't forget you , peace.

WannaLearnLinux 04-02-2004 10:27 PM

I know
 
I'm sorry but there is lost&found....

WannaLearnLinux 04-02-2004 10:29 PM

ok
 
I'll be here wiating for my young HERO ;)

wiBo 04-02-2004 11:10 PM

I'm sorry m8, have to go sleep, have a competition tomorrow :)
Sorry for you :(

Are you will be there tomorrow?

Or, send me a PM :)

WannaLearnLinux 04-02-2004 11:17 PM

ok wiBo
 
I'll be here tomorrow bit earlier then today....thanks

wiBo 04-03-2004 08:27 AM

Send me a PM for meet me :)

WannaLearnLinux 04-06-2004 07:53 PM

thanx wiBo,
 
but I'm erasing whole drive.It is too big for OSs (80gb).

Then I'll do XP (still need them) and Slack only (tired of MDK 9.2).

EDIT: I'll do new OSs on orher drive so I can use 80gb .)

Thank you for your patience with :newbie:

WannaLearnLinux ;)

wiBo 04-06-2004 08:50 PM

You are not a newbie, just a beginner :)

You have made a good improve with your Linux systems & tools :)

When you will have installed your box (XP + Slack) , if you have problem, i'm here :)

And if it's all OK, send me a good printscreen :)

See ya dude :)


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