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

Notices


Reply
  Search this Thread
Old 09-08-2008, 04:49 PM   #31
Winol
LQ Newbie
 
Registered: Sep 2008
Location: France
Distribution: BackTrack V3.0 Final / SlackWare 12.1
Posts: 26

Original Poster
Rep: Reputation: 15

Quote:
Originally Posted by keefaz View Post
no, just put the root lines in Backtrack lilo.conf before the image lines
like:
...
root = /dev/hda4
image = /boot/vmlinuz
...
And run lilo in Backtrack to take change in account
But I am not lilo expert (I use grub) so I could be wrong

root = /dev/hda2
image = /boot/vmlinuz
label = Backtrack
read-only


root = /dev/hda4
image = /boot/vmlinuz
label = Slackware
read-only




so this is correct ?
 
Old 09-08-2008, 04:52 PM   #32
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Yes, run lilo in Backtrack and reboot, I bet it will automatically find the netcard and load the module on next slackware boot

[edit]
You deleted /etc/modprobe.d/e-100.ko right ?

Last edited by keefaz; 09-08-2008 at 04:54 PM.
 
Old 09-08-2008, 04:57 PM   #33
Winol
LQ Newbie
 
Registered: Sep 2008
Location: France
Distribution: BackTrack V3.0 Final / SlackWare 12.1
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by keefaz View Post
Yes, run lilo in Backtrack and reboot, I bet it will automatically find the netcard and load the module on next slackware boot

[edit]
You deleted /etc/modprobe.d/e-100.ko right ?
haha when i choose slackware on lilo , it boots on backtrack lolz


hmmm checking what i did wrong

edit : when i choose BT , it boots on Slack and vice et versa ...


and slackware is still running the 2.6.21.5

Last edited by Winol; 09-08-2008 at 05:02 PM.
 
Old 09-08-2008, 05:12 PM   #34
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Ok, lilo multiboot is not easy :/ I think the root lines before image lines in lilo.conf is not correct...
One quick fix would be:
Boot in Backtrack, edit lilo.conf again, redo what I said sorry (put the image line before the root lines)
make a temp mount point in /mnt, say mkdir /mnt/hd
mount slackware in /mnt/hd (mount /dev/hda4 /mnt/hd)
find the real slackware kernel file name: ls -l /mnt/hd/boot/vmlinuz
copy slackware kernel file in backtrack /boot (cp /mnt/hd/boot/<slackware kernel> /boot)
and edit lilo.conf and change the image line for slackware (change it to the slackware kernel name)
run lilo and reboot
 
Old 09-08-2008, 05:34 PM   #35
Winol
LQ Newbie
 
Registered: Sep 2008
Location: France
Distribution: BackTrack V3.0 Final / SlackWare 12.1
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by keefaz View Post
Ok, lilo multiboot is not easy :/ I think the root lines before image lines in lilo.conf is not correct...
One quick fix would be:
Boot in Backtrack, edit lilo.conf again, redo what I said sorry (put the image line before the root lines)
make a temp mount point in /mnt, say mkdir /mnt/hd
mount slackware in /mnt/hd (mount /dev/hda4 /mnt/hd)
find the real slackware kernel file name: ls -l /mnt/hd/boot/vmlinuz
copy slackware kernel file in backtrack /boot (cp /mnt/hd/boot/<slackware kernel> /boot)
and edit lilo.conf and change the image line for slackware (change it to the slackware kernel name)
run lilo and reboot


JESUS Christ i love you

Many thanks for the help

i did a lot of search on the web but i could n have done without you guys


keefaz are u an expert with dual screen and slackware too ? /lol
 
Old 09-08-2008, 05:37 PM   #36
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
That worked ? Slackware boots ok ? no problem with /sbin/netconfig ?
If yes, cool There must be a more elegant way to multiboot with lilo though...
 
Old 09-08-2008, 05:39 PM   #37
Winol
LQ Newbie
 
Registered: Sep 2008
Location: France
Distribution: BackTrack V3.0 Final / SlackWare 12.1
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by keefaz View Post
That worked ? Slackware boots ok ? no problem with /sbin/netconfig ?
If yes, cool There must be a more elegant way to multiboot with lilo though...
yes yes it worked thanks again
 
Old 09-08-2008, 05:40 PM   #38
Linux For Ever
Member
 
Registered: Jun 2006
Location: KSA
Distribution: Slackware 12.2
Posts: 49

Rep: Reputation: 15
Congratulation dude.

lilo is easy but i like the grub's way.

CU.
 
Old 09-08-2008, 05:44 PM   #39
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
For lilo I think the trick is to install lilo on slackware,
do a single boot config on slackware /etc/lilo.conf with boot=/dev/hda4 instead of boot=/dev/hda
run lilo on /dev/hda4 (so it will be installed on hda4 DBR, /sbin/lilo /dev/hda4)
Boot in Backtrack and delete slackware lines in Backtrack lilo.conf and replace with:
other=/dev/hda4
label=Slackware
and run lilo (/sbin/lilo) to take the change in account.
If you don't fix lilo multiboot, it will be harder to install a new kernel in slackware
(need to copy Slackware kernel in Backtrack /boot, boot Backtrack, run lilo, not convenient)

But do some search on lilo, as I could be wrong again

Last edited by keefaz; 09-08-2008 at 05:46 PM.
 
Old 09-09-2008, 05:22 AM   #40
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,
Quote:
Originally Posted by Winol View Post
Ifconfig -a : only the Lo is present

I tried to do a netconfig as a root but i still can't connect and i have a error message when i try to Ifconfig eth0

Trying to find some reference on google but still not working
The command is 'ifconfig'

Whenever you receive a error with a request for a command you should provide back (post) the error. This will assist in diagnosis of the problem.
 
Old 09-09-2008, 05:32 AM   #41
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

After reading through the whole thread now. It does seem the OP was using a shared kernel and not booting the Slackware. The OP should run lilo on his Slackware partition then include the proper configuration in the BT 'lilo.conf' with a stanza pointing to the Slackware lilo.

Edit:In the future you should post the information requested along with any unedited error information.

Last edited by onebuck; 09-09-2008 at 05:33 AM.
 
  


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
network card not recognized cnanu SUSE / openSUSE 10 09-04-2008 12:09 AM
no network (wifi card is recognized) Kanaflloric Ubuntu 3 07-14-2008 05:06 PM
network card not recognized on knoppix livecd yezzir Linux - Networking 1 07-12-2007 03:14 PM
Network card not recognized in knoppix LiveCD redss Linux - Hardware 0 12-10-2004 10:58 AM
Network card not recognized niac Linux - Networking 7 10-24-2002 07:16 AM

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

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

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