LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-30-2006, 08:44 AM   #1
drae@sagchip.org
LQ Newbie
 
Registered: Nov 2006
Posts: 7

Rep: Reputation: 0
Slackware 10.2 and VM


I am running a Dell 4700 with a P4/2.8 ghz processor. The host OS is XP Pro sp 2. I have 1.5 gbytes memory and 2 SATA hard drives. I want to run Slackware 10.2 in a virtual machine of 256 mb. I have tried VM Ware WS 5.5 as well as MicroSoft Virtual Machine. With either vm, I get the same result. I can boot off a cd, and I can do the hd prep with no problem, except in VM Ware I have to set the hard drive to IDE in order to do cfdisk. In both cases I create an extended partition of about 512 mbytes to be used as a linux swap (type 82). I create a primary partition (type 81) as a bootable linux partition. Both partitions are on my 2nd hard drive. They come up as hda2, and hda5. (About 7 gig in VM Ware, 15 gig in MS for hda2). They are virtual drives, not physical. I appear to run setup with no problems, everything is pretty much staightforward. I use defaults as much as possible. When I get all done, I remove the CD, hit ctr-alt-del, and I get a blank blinking cursor, and that is it. I have tried using the SATA kernel instead of bare, but I get the same result in either vm. I think the problem may be which kernel I am using, but I don't know how to change the kernel without doing a full install, which is a pain. I can start the system from the installation CD, but that seems like an unnecessary hassle.

Though I am not familiar with linux, I have worked with MS DOS and even with CP/M in the olden days, so I am familiar with many of the concepts of cli. Where should I go from here?
 
Old 11-30-2006, 08:49 AM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,594

Rep: Reputation: 124Reputation: 124
Did you install LILO as your bootloader?
 
Old 11-30-2006, 09:06 AM   #3
drae@sagchip.org
LQ Newbie
 
Registered: Nov 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Yeah, I think I was prompted about that during setup, and I did the install with whatever defaults it wanted.
 
Old 11-30-2006, 11:21 AM   #4
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,594

Rep: Reputation: 124Reputation: 124
And I think the defaults are wrong. Boot up from your Slackware CD (in the virtual machine). There will be prompted an example how to boot from it your install. Adjust it with the kernel you installed and your partitions device.
After booting execute liloconfig as root and install LILO to the MBR of the virtual harddisk (not your installation's root partition).
 
Old 12-04-2006, 07:21 AM   #5
drae@sagchip.org
LQ Newbie
 
Registered: Nov 2006
Posts: 7

Original Poster
Rep: Reputation: 0
I'm sorry but I don't quite understand what you mean.
 
Old 12-04-2006, 07:46 AM   #6
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,594

Rep: Reputation: 124Reputation: 124
What part don't you understand?
If you boot up with your Slackware CD you see a promt
Code:
boot:
Right above that you see some instructions and one line where an example is given to boot an existing Slackware installation. I don't remember it completely, but the line should be similiar to this:

Code:
huge26.s root=/dev/sda1 noinitrd ro
The line above should work if you installed using the huge26.s kernel (else fit in the one you installed) and if you told VMWare to use a virtual SATA disk of which the first one is your Slackware / (root) partition.
If you adjust the line to your settings (kernel name and root partition) it should boot up your already installed Slackware. Then run "liloconfig" as root and install lilo to the MBR of your virtual Slackware machine.

It is not very clear how you installed it -- you wrote about two harddisks, once about physical ones and once about virtual ones. You didn't write which kernel you actually used (as you tried several). If there are any errors or you don't understand some parts, please specify more details.
 
Old 12-04-2006, 08:43 AM   #7
drae@sagchip.org
LQ Newbie
 
Registered: Nov 2006
Posts: 7

Original Poster
Rep: Reputation: 0
I understand all that except for "Then run "liloconfig" as root and install lilo to the MBR of your virtual Slackware machine." How do I run liloconfig as root, and how do I install lilo to the virtual disk's MBR?

As far as the installation: I have 2 physical hd's - however VM only uses one drive as a virtual disk.
 
Old 12-04-2006, 08:46 AM   #8
drae@sagchip.org
LQ Newbie
 
Registered: Nov 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Also, I have tried bare.i (which seems to work ok when booting off the cd, and I have tried sata.i which also seemed to work.
 
Old 12-04-2006, 09:00 AM   #9
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,594

Rep: Reputation: 124Reputation: 124
Quote:
Originally Posted by drae@sagchip.org
I understand all that except for "Then run "liloconfig" as root and install lilo to the MBR of your virtual Slackware machine." How do I run liloconfig as root, and how do I install lilo to the virtual disk's MBR?
Login as root. I guess you don't boot into GUI mode but see a console (like DOS mode in Windows world). If you have logged in just type "liloconfig". You should have that command if you installed the LILO package.
This starts a small menu based configuration utility that will ask you how to configure your LILO and installs the LILO bootloader on your request.
When you are asked where to install LILO just choose MBR (you will be questioned anyway and will recognize that option).
 
Old 12-04-2006, 09:01 AM   #10
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,594

Rep: Reputation: 124Reputation: 124
Quote:
Originally Posted by drae@sagchip.org
Also, I have tried bare.i (which seems to work ok when booting off the cd, and I have tried sata.i which also seemed to work.
If bare.i works you will have to do nothing special about your kernel IMHO. Configuring LILO and installing it to the master boot record (MBR) of your virtual harddisk should be enough to get you going.
 
Old 12-04-2006, 09:18 AM   #11
drae@sagchip.org
LQ Newbie
 
Registered: Nov 2006
Posts: 7

Original Poster
Rep: Reputation: 0
I will try that this evening... I will let you know tomorrow how it worked.
 
Old 12-04-2006, 06:41 PM   #12
drae@sagchip.org
LQ Newbie
 
Registered: Nov 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Success! If everybody knew how easy this was, they'd all be doing it. Thanks for the help. Now to learn linux!
 
Old 12-05-2006, 04:11 AM   #13
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,594

Rep: Reputation: 124Reputation: 124
Nice that you got it working. Have fun with Slackware
 
  


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
About Slackware 9.1 boot disk?? ftp://ftp.kpn.be/pub/linux/slackware/slackware-9.1-is AL3OMDAH Slackware 4 04-18-2007 09:54 AM
Newer Slackware Packages on older slackware version pengStudent Slackware 2 11-12-2003 12:47 PM


All times are GMT -5. The time now is 03:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration