LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-10-2003, 11:56 AM   #16
hecresper
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & FreeBSD
Posts: 169

Rep: Reputation: 30

I just installed Slacware 9 on VMWare 4.0.2. I did notice right away the default SCSI virtual disk and changed it to IDE. It was out of instinct I guess. Now I just have to get the vmware tools installed.

UPDATE: I got the vmware-tools installed by going through the following instructions found on this site:

http://www.cs.ucr.edu/~jbyrne/vmware.htm

For version 4.0.2, some of the vmware file names have changed but the steps still apply.

Example: vmware-config.pl is now vmware-config-tools.pl

The --compile option still works.

Last edited by hecresper; 09-10-2003 at 12:51 PM.
 
Old 11-10-2003, 10:40 AM   #17
Commie
LQ Newbie
 
Registered: Nov 2003
Location: Canada
Distribution: Slackware 9.1
Posts: 1

Rep: Reputation: 0
Hello,

I am also having the same problem. I followed the advice here, and changed to IDE mode in the Guest OS Setup wizard, then installed slackware 9.1, everything went fine, up until after the install,when you reboot, I get the black screen with the underscore in the top left everyone talks about. I made the partition bootable, so im stuck as to what else to do.
 
Old 12-17-2003, 06:51 AM   #18
spaceman
LQ Newbie
 
Registered: Aug 2003
Posts: 3

Rep: Reputation: 0
Post Installing Slackware9.1 on VMWare

I got it to install by the following steps -

* boot: scsi.s
* fdisk /dev/sda
* select 'n' followed by 'p' then selected the defaults
* select 'w' which saves the settings
* cfdisk
* make sure sda has boot selected
* setup
* addswap
* selected the packages
* I chose the menu install
* Select a kernel from CDROM and choose the 'scsi.s/bzImage' kernel.
* skip a bootdisk
* no modem
* enable hotplug
* install simple lilo
* install LILO in the MBR

You will get a few more options which are self explanatory like choosing a window manager.

This worked for me.
 
Old 01-18-2004, 06:48 PM   #19
frankietomatoes
Member
 
Registered: Oct 2002
Posts: 44

Rep: Reputation: 15
So how did anyone set the partition to bootable?

I am stuck at a black screen, for some reason the system won't boot to the CD.

Any ideas?

Thanks
 
Old 01-18-2004, 08:35 PM   #20
frankietomatoes
Member
 
Registered: Oct 2002
Posts: 44

Rep: Reputation: 15
Re-install slack 9.1 and set /dev/hda2 to bootable but still BSD(black screen of death)

This is nice. Keep plugging away.
 
Old 01-20-2004, 12:10 AM   #21
frankietomatoes
Member
 
Registered: Oct 2002
Posts: 44

Rep: Reputation: 15
When u plug u fill holes.

Fixed my install by setting lilo up in MBR, I guess I used something else in the past.

FYI: You can setup the VM with IDE by using the linux option, on the last screen there is an advanced button which will let you pick wether to use IDE or SCSI (instead of using a Windows OS option).
 
Old 06-09-2008, 04:26 AM   #22
geethas
LQ Newbie
 
Registered: May 2008
Posts: 14

Rep: Reputation: 0
Unhappy

I have installed slackware12.1 on vmware. I did kernel recompiling for vmware device drivers, after new kernel compilation, there is no modules listed on lsmod.

Desktop : windows xp
Vmware Server console 1.0.1
Guest OS : slackware 12.1

Here is the list of lspci command:

00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 01)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 01)
00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 0
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 0
00:0f.0 VGA compatible controller: VMware Inc Abstract SVGA II Adapter
00:10.0 SCSI storage controller: BusLogic BT-946C (BA80C30) [MultiMaster 10] (rev 01)
00:11.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 10)


I have enabled
Device Drivers -> Network Device Support -> Ethernet (10 or 100 ) -> AMD (PCnet32 lance)

But problem is there is no modules lists on lsmod command

Please help me

regards
geetha
 
Old 06-09-2008, 09:58 AM   #23
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
This thread is from 2003 with a completely different VMware version together with a completely different version of Slackware. Slackware 9.0 and 12.1 are TOTALLY different. 9.0 uses the 2.4 kernel, while 12.1 uses the 2.6 kernel. VMware is also probably a lot different now. In addition, you already have a thread about the same problem here where people have tried to help you, but you're not helping us help you.

May I ask WHY you need to recompile the kernel? I would think it should work just fine in VMware without the need to recompile. If you're just recompiling the kernel for the learning experience, that's perfectly fine and I will help you with it. However, if you're just trying to get it to work in the first place, I don't think a recompile is even needed.

As for the missing modules, I already responded in the other thread, but you felt the need to start posting in a new thread instead of responding in that one. For a good guide on compiling the kernel, see here. You haven't told us what you have done in this thread or the other one, so it's literally impossible to help you. Help us help you. My guess would be that when you compiled the kernel, you missed out the `make modules_install` step (or maybe the `make modules` step...it's hard to tell with so little information) or maybe if you're compiling the same kernel version as the default kernel that comes with Slackware you've half-overwritten the /lib/modules/2.6.24.5 directory -- but I can't be sure. When I asked you what kernel version you are compiling, you gave an answer which was then different in a subsequent post, and I'm not sure if you're compiling the same version that ships with Slackware or not. You should post the output of `uname -a` and `ls -l /lib/modules/$(uname -r)` if you want help.

Also, do you know for sure that VMware uses the PCnet32 driver for networking, for example? I haven't used VMware, but I would assume that it presents a fake ethernet card to the guest OS, so it wouldn't matter what card you have in YOUR system but instead which card VMware emulates. The PCnet32 driver is compiled as a module in the default kernel anyway, so I'm still confused as to why you need to compile a kernel.

Your missing modules trouble *may* be as simple as running `depmod -a`, but not knowing what you've done prevents me from saying that conclusively.

Last edited by T3slider; 06-09-2008 at 10:01 AM.
 
Old 06-10-2008, 10:21 PM   #24
geethas
LQ Newbie
 
Registered: May 2008
Posts: 14

Rep: Reputation: 0
Thanks for your response and your clear explanation.

Here is my kernel recompiling steps,

I have installed below kernel packages with slackware 12.1

kernel-headers-2.6.24.5-x86-2
kernel-huge-2.6.24.5-i486-2
kernel-huge-smp-2.6.24.5_smp-i686-2
kernel-modules-2.6.24.5-i486-2
kernel-source-2.6.24.5_smp-noarch-2

make mrproper
make menuconfig
make -j3 bzImage
make -j3 modules
make modules_install
cp System.map /boot/System.mapnew
cp .config /boot/confignew
cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuznew
mv /boot/vmlinuz /boot/vmlinuz-old


/etc/lilo.conf
vga=normal
lba32
compact

image = /boot/vmlinuznew
root = /dev/sda2
label = linux_new
read-only

image = /boot/vmlinuz-old
root = /dev/sda2
label = linux_old
read-only

/sbin/lilo -v

cd /boot
rm System.map
rm config
rm vmlinuz

I was explained my kernel recompiling error clearly on the last thread, but i didnt get any solution, so that i have posted new thread.. I have installed guest OS ie Slackware 12.1 on vmware, some of the vmware device drivers havent set so i tried to recompile the same kernel version for vmware drivers while getting from lspci command I am not updating the kernel version, just recompile the same kernel version. I think so, compiling the same kernel version as the default kernel that comes with Slackware you've half-overwritten the /lib/modules/2.6.24.5 directory. Can you suggest me, if we recompile the same kernel need extra configuration? I am new to kernel compilation and slackware os too.. Please help me

Here is the output before recompiling the kernel,

root@ang189:~# uname -a
Linux ang189 2.6.24.5 #2 Wed Apr 30 14:13:52 CDT 2008 i686 Intel(R) Core(TM)2 CPU 4400 @ 2.00GHz GenuineIntel GNU/Linux

root@ang189:~# ls -l /lib/modules/2.6.24.5
total 1560
lrwxrwxrwx 1 root root 23 2008-06-05 15:12 build -> /usr/src/linux-2.6.24.5/
drwxr-xr-x 9 root root 4096 2008-05-01 00:32 kernel/
-rw-r--r-- 1 root root 355685 2008-05-01 00:32 modules.alias
-rw-r--r-- 1 root root 69 2008-05-01 00:32 modules.ccwmap
-rw-r--r-- 1 root root 320901 2008-05-01 00:32 modules.dep
-rw-r--r-- 1 root root 813 2008-05-01 00:32 modules.ieee1394map
-rw-r--r-- 1 root root 451 2008-05-01 00:32 modules.inputmap
-rw-r--r-- 1 root root 17945 2008-05-01 00:32 modules.isapnpmap
-rw-r--r-- 1 root root 74 2008-05-01 00:32 modules.ofmap
-rw-r--r-- 1 root root 262543 2008-05-01 00:32 modules.pcimap
-rw-r--r-- 1 root root 1177 2008-05-01 00:32 modules.seriomap
-rw-r--r-- 1 root root 141271 2008-05-01 00:32 modules.symbols
-rw-r--r-- 1 root root 440924 2008-05-01 00:32 modules.usbmap
lrwxrwxrwx 1 root root 23 2008-06-05 15:12 source -> /usr/src/linux-2.6.24.5/


Thanks in advance
Geetha
 
Old 06-11-2008, 01:36 AM   #25
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Your `uname -a` output suggests that you're using the huge kernel and not the huge-smp kernel. I would recommend trying out the huge-smp kernel instead, since it is generally more supported. I can't verify whether everything works or not in VMware since I haven't used it, but I would still recommend trying out the huge-smp kernel anyway. Edit your /etc/lilo.conf and add the following stanza:
Code:
image = /boot/vmlinuz-huge-smp-2.6.24.5-smp
  root = /dev/sda2
  label = HugeSMP
  read-only
Then see how well it works (after running /sbin/lilo, of course). Since you are recompiling the same kernel version included with Slackware, you may have overwritten /lib/modules/2.6.24.5 (or /lib/modules/2.6.24.5-smp). I would recommend reinstalling the kernel modules packages. Mount the install media or download kernel-modules-2.6.24.5-i486-2.tgz and kernel-modules-smp-2.6.24.5_smp-i686-2.tgz from a mirror (they are located in the a/ series). Then, you should boot into runlevel 1 by typing `telinit 1`. This disables most services that may impact the reinstallation of the package. Then login as root and type the following:
Code:
# upgradepkg --reinstall /path/to/kernel-modules-2.6.24.5-i486-2.tgz /path/to/kernel-modules-smp-2.6.24.5_smp-i686-2.tgz
Then return to runlevel 3 by typing `telinit 3`. Your system will now be restored to its original form. You should probably reboot the system at this point, and reboot into the HugeSMP kernel. If you're lucky, everything will work. Likely it won't, but at least you'll know the state of your system. The reason I recommend the SMP kernel over the non-SMP kernel is because the existing kernel sources are built around the SMP kernel, and require a patch to be set up for the non-SMP kernel. Although this can be done as well, the SMP kernel generally supports more hardware (and I would assume that means virtual hardware as well), and so it's probably a better choice.

Your kernel compilation steps look fine. One thing I will mention though -- since you're compiling the same kernel version that ships with Slackware, /lib/modules/2.6.24.5 (or /lib/modules/2.6.24.5-smp, depending on the configuration file you use) may get overwritten. To prevent this, you should set the LOCALVERSION option to "custom" (or another tag, as long as it isn't smp). This way, /lib/modules/2.6.24.5-custom will be created when you run `make modules_install`, and so you won't have to worry about overwriting anything.
 
Old 06-11-2008, 10:01 PM   #26
geethas
LQ Newbie
 
Registered: May 2008
Posts: 14

Rep: Reputation: 0
Thanks for your timely response.

I will try and let me know.

Thanks
geetha
 
  


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
WMware... maseby Linux - General 1 11-10-2004 03:27 PM
HELP, can't install slackware 8.1 redmoon zero Slackware - Installation 4 09-10-2004 09:39 PM
How to install WMWare on mandrake 10.0 baybocukcu Linux - Newbie 6 07-28-2004 03:59 PM
Slackware 2 CD Install? hjles Slackware 2 09-13-2003 12:58 PM
wmware HELP!!!! sarczoid Linux - Software 1 07-08-2003 03:46 PM

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

All times are GMT -5. The time now is 01:55 AM.

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