Slackware This Forum is for the discussion of Slackware Linux.
|
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.
|
 |
|
08-23-2003, 04:04 PM
|
#1
|
Member
Registered: Aug 2003
Posts: 33
Rep:
|
Is it possible to install Slackware 9.0 on WMware 4?
I'm wondering if anyone has had any success installing Slackware 9.0 (Guest) on VMWare 4.0.2 running on Windows XP Pro (Host)?
Thanks!
|
|
|
08-24-2003, 12:29 AM
|
#2
|
Member
Registered: Aug 2003
Posts: 33
Original Poster
Rep:
|
As a follow-up to this question, I was able to install SW9.0 on VMWare 4.0.2; however, I was not able to boot off the VM --initially. I had to boot off the SW9.0 install CD and at 'boot:' type the following:
scsi.s root=/dev/sda2 noinitrd ro
After that, everything boots up and I can go about my business. Being new to Linux, I don't know where to begin... anyone?
|
|
|
08-24-2003, 03:23 AM
|
#3
|
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113
Rep: 
|
Well, I don't know where to begin to tell you where to begin.  Broad generic answer is read a lot of documentation and come to undersand your basic helps and filesystem and tools. If you had some more specific question, like 'how do I...' maybe we could help more. And maybe your background - if you know DOS or are used to working with a DOS box, the Linux CLI will be a lot easier for you than if not. If you're a Windows guru, understanding certain basic stuff will be applicable or easily translated from one system to the next. And if you don't know anything, you won't have to unlearn anything. Advantages to both. But we can't tell you much without maybe insulting you or flying over your head without more knowledge.
Safest answer is type 'mc' at the command line since it's an easy way to flip around through the directory structure just get an overview of what's on your system, maybe combined with reading about the filesystem hierarchy so that you know what you're looking at.
|
|
|
08-24-2003, 04:07 AM
|
#4
|
Member
Registered: Jan 2003
Location: Northam, W.A., Australia
Distribution: Gentoo ~x86
Posts: 321
Rep:
|
The big problem with installing Slackware, or any Linux for that matter, on VMWare is that, by default, VMWare sets the VM up to use SCSI drives by default when you select "Linux" as the guest OS. Some Linux' handle this alright because their installation kernels are set up to detect SCSI cards and drives and will install just fine but as Slack doesn't have SCSI support built into it's kernel by default (it uses the scsi.s kernel for that as jbrashear pointed out) it can get problematic.
It is possible to install Slackware on a VMWare default Linux VM just use the scsi kernel to install it and when you get to the step where Slack prompts you to install a kernel make absolutely sure the scsi kernel gets copied to the hard disk (From memory you need to select "use the installation boot disks kernel" and then select the scsi one) otherwise your system won't boot properly.
An easier method by far is to tell VMWare that you're installing a Windows of some sort (so that it'll put IDE drives in the VM) and then just install Slackware anyway. That way you'll be able to use the default bare.i kernel and won't have any of the weird module behaviour that can come from using a different kernel.
|
|
|
08-24-2003, 09:12 AM
|
#5
|
LQ Newbie
Registered: Aug 2003
Location: CA
Posts: 27
Rep:
|
I type the command scsi.s root=/dev/sda2 noinitrd ro
Then This came out at the end
VFS:Cannot open root device "sda2" or 8:02
Please append a correct "root="boot option
Kernel panic : Unable to mount root fs on 8:02
|
|
|
08-24-2003, 10:01 AM
|
#6
|
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113
Rep: 
|
Cross thread chaos!
Like I say, you might try sda1 for root, since I think that's what it actually is. But LSD and jbrashear seem to know what's going on, so maybe they know better.
|
|
|
08-24-2003, 10:11 AM
|
#7
|
LQ Newbie
Registered: Aug 2003
Location: Kampala Uganda --> Ontario, Toronto
Distribution: RedHat and trying Slackware
Posts: 1
Rep:
|
This is very good, I have been around but couldn't see a trick like LSD's thanks man and keep up the good work. 
|
|
|
08-24-2003, 02:33 PM
|
#8
|
Member
Registered: Aug 2003
Posts: 33
Original Poster
Rep:
|
LSD - "(From memory you need to select "use the installation boot disks kernel" and then select the scsi one) otherwise your system won't boot properly."
This may do the trick -- I selected the scsi kernal from the install CD.
|
|
|
08-24-2003, 02:53 PM
|
#9
|
Member
Registered: Aug 2003
Posts: 33
Original Poster
Rep:
|
I may have spoken too soon -- I don't see, "From memory you need to select 'use the installation boot disks kernel'". I get to "INSTALL LINUX KERNEL" and I have these choices:
bootdisk, cdrom, floppy, skip (use the default /boot/vmlinuz)
Any ideas? Again, I am using SW9.0...
|
|
|
08-24-2003, 03:07 PM
|
#10
|
Member
Registered: Aug 2003
Posts: 33
Original Poster
Rep:
|
Is there any reason why my "boot file" (sorry don't know the details of Linux boot mechanism or terminology) could be looking at /dev/sda1 instead of /dev/sda2? My first partition is the swap...
When I boot from the VM, it just sits there with a black screen and does nothing.
When I boot from the installCD and put, "scsi.s root=/dev/sda2 noinitrd ro", I am explicitly putting "sda2". it boot without any issues..?
|
|
|
08-24-2003, 03:14 PM
|
#11
|
Member
Registered: Aug 2003
Posts: 33
Original Poster
Rep:
|
Okay, everyone is probably sick of me replying to my own question, but need to think out loud on this one.
What file contains the device/partition to look for the 'root' filesystem when booting in Linux. I am going to go look through the documentatio, but just curious. Is this LILO or whatever I selected?
|
|
|
08-25-2003, 10:24 AM
|
#12
|
Member
Registered: Jan 2003
Location: Northam, W.A., Australia
Distribution: Gentoo ~x86
Posts: 321
Rep:
|
Quote:
Originally posted by jbrashear
I may have spoken too soon -- I don't see, "From memory you need to select 'use the installation boot disks kernel'". I get to "INSTALL LINUX KERNEL" and I have these choices:
bootdisk, cdrom, floppy, skip (use the default /boot/vmlinuz)
Any ideas? Again, I am using SW9.0...
|
Obviously, my memory wasn't as good as I thought it was
Anyway, checking my Slackware VM, you need to pick cdrom and then, from the list, pick the scsi.s kernel. That should get you up and running.
|
|
|
08-25-2003, 10:43 AM
|
#13
|
Member
Registered: Aug 2003
Posts: 33
Original Poster
Rep:
|
Hmmm.. did that and no luck. That is what brought me to booting from the installCD and then explicitly telling it where to boot on the VM. Oh well.. I will keep looking.
Thanks!
|
|
|
09-05-2003, 03:31 PM
|
#14
|
Member
Registered: Aug 2003
Posts: 33
Original Poster
Rep:
|
Well I finally got this to work -- major user error. I didn't mark the main partition as bootable - DUH! Anyways, SW9.0 seems to work fine on VMWare 4.x.
|
|
|
09-06-2003, 08:53 AM
|
#15
|
LQ Newbie
Registered: Aug 2003
Distribution: Slack 9.0
Posts: 7
Rep:
|
Sounds like you got the install worked out. But for those that want to use the bare.i kernel, I have found that if you change the scsi drive to an ide drive it works wonderfully. That way there is no problem with picking the wrong kernel at install time or at least it minimizes problems (I think  )
Good luck
|
|
|
All times are GMT -5. The time now is 06:04 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
|
|