LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 11-13-2005, 12:18 PM   #1
zahadumy
Member
 
Registered: May 2005
Location: Cluj, Romania
Distribution: Fedora Core 6
Posts: 226

Rep: Reputation: 31
Is it possible to boot Slackware directly from Windows?


I read about this, but it seems unbelievable to me. Is it really possible to boot Slack from Windows and actually not restart Windows?
If yes, how? I read about loadlin but it didn't work for me, I get this message:
Code:
E:\!Linux\loadlin>rem  Sample DOS batch file to boot Linux. 

E:\!Linux\loadlin>rem  First, ensure any unwritten disk buffers are flushed: 

E:\!Linux\loadlin>smartdrv /C 

E:\!Linux\loadlin>rem  Start the LOADLIN process: 

E:\!Linux\loadlin>E:\!Linux\loadlin\loadlin  vmlinuz  root=/dev/sda11  ro  vga=3 
LOADLIN v1.6c (C) 1994..2002 Hans Lermen <lermen@fgan.de>

CPU is in V86-mode (may be WINDOWS, EMM386, QEMM, 386MAX, ...)
You need pure 386/486 real mode or a VCPI server to boot Linux
VCPI is supported by most EMS drivers (if EMS is enabled),
but never under WINDOWS-3.1 or WINDOWS'95.
(However, real DOS-Mode of WINDOWS'95 can have EMS driver with VCPI)
If loading via VCPI you also MUST have:
  1. An interceptable setup-code (see MANUAL.TXT)
  2. Identical Physical-to-Virtual mapping for the first 640 Kbytes

Your current DOS/CPU configuration is:
  load buffer size: 0x00000000     , setup buffer size:  0x3E00
  total memory:     0x00100000
  CPU is in V86 mode
  SetupIntercept: NO
  stat2: cpu_V86, but no VCPI available (check aborted)
  input params (size 0x0023):
    vmlinuz  root=/dev/sda11  ro  vga=3
  LOADLIN started from DOS-prompt
WARNING: Not enough free memory (load buffer size)
/dev/sda11 is my Slack partition and vmlinuz is /boot/vmlinuz which I copied from my Slack partition. Can you tell me where I go wrong? Thank you.
 
Old 11-13-2005, 12:29 PM   #2
Keruskerfuerst
Member
 
Registered: Oct 2005
Location: Lat: 482356N, Lon: 104145E
Distribution: Gentoo 2006
Posts: 719

Rep: Reputation: 31
In acient times, it was possible to boot with loadlin from Windows.

Now, you should use grub.
 
Old 11-13-2005, 12:34 PM   #3
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 31
Yes you can, but you need Windows 3.1/95/98.

Windows nt/2k/xp will not just swap control of the hardware to another operating system. This is much more secure.

You have to use grub/lilo if on windows nt.
 
Old 11-13-2005, 12:35 PM   #4
zahadumy
Member
 
Registered: May 2005
Location: Cluj, Romania
Distribution: Fedora Core 6
Posts: 226

Original Poster
Rep: Reputation: 31
I know i should use grub and that's what I do now and it works great, but... I still have some questions: is it possible or not? Probably there are some risks if I do this, right? Can you tell me more about this, please? It would be awesome if I could boot Slack directly from my XP . Thank you.

Edit:

liquidtenmilion: what are you trying to say is I can't do this from Windows XP? Why not?

Last edited by zahadumy; 11-13-2005 at 12:36 PM.
 
Old 11-13-2005, 12:47 PM   #5
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
maybe take a look at Amigo linux.

http://amigolinux.org/amigoxp/aboutxp1.htm

it is based on Slackware and has a version that can boot from xp.

egag
 
Old 11-13-2005, 01:24 PM   #6
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 31
Quote:
Originally posted by zahadumy
I know i should use grub and that's what I do now and it works great, but... I still have some questions: is it possible or not? Probably there are some risks if I do this, right? Can you tell me more about this, please? It would be awesome if I could boot Slack directly from my XP . Thank you.

Edit:

liquidtenmilion: what are you trying to say is I can't do this from Windows XP? Why not?
That's exactly what i'm saying.

You cannot do it. And you should be happy that you can't do it .

Back in the old days Microsoft had a "nifty" feature of MSDOS that would allow a program to gain direct control over the hardware completely bypassing the OS. This would allow the programs to run faster.

However, if a program was written poorly(and there obviously were some...) the pc would crash completely. And viruses could take advantage of this too.

Microsoft knew this was a problem and made it so windows NT and higher could no longer give a program direct hardware access(part of the reason many older programs don't work on nt variants). This also broke loadlin.
 
Old 11-13-2005, 02:52 PM   #7
zahadumy
Member
 
Registered: May 2005
Location: Cluj, Romania
Distribution: Fedora Core 6
Posts: 226

Original Poster
Rep: Reputation: 31
Quote:
Originally posted by liquidtenmilion
You cannot do it. And you should be happy that you can't do it .
Why should I? That's what I'm trying to do and I hope I will succeed. Isn't it a good idea? Why? :-?
And thanks egag for the Amigo linux link, I read about it, but where can I find it? Is there any site where I can download it from? Because that site looks like the official site, and they ship the cd, as far as I understood... And I suppose they won't ship it to Europe .
 
Old 11-13-2005, 03:25 PM   #8
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,244

Rep: Reputation: 47
How about something like vmware or cygwin (not slackware in the latter case)?
 
Old 11-13-2005, 03:32 PM   #9
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 31
Quote:
Originally posted by zahadumy
Why should I? That's what I'm trying to do and I hope I will succeed. Isn't it a good idea? Why? :-?
And thanks egag for the Amigo linux link, I read about it, but where can I find it? Is there any site where I can download it from? Because that site looks like the official site, and they ship the cd, as far as I understood... And I suppose they won't ship it to Europe .
Well if they still allowed programs to run like that then there would be many more devistating viruses for windows.


But i'm not entirely sure what you plan to do. You will gain nothing. You'll have no additional access to windows from linux, and you won't be able to run windows programs or hardware support, or boot into linux faster. All that you will get from this is a noticeably slower linux experience.
 
Old 11-14-2005, 07:36 AM   #10
zahadumy
Member
 
Registered: May 2005
Location: Cluj, Romania
Distribution: Fedora Core 6
Posts: 226

Original Poster
Rep: Reputation: 31
Quote:
Originally posted by ringwraith
How about something like vmware or cygwin (not slackware in the latter case)?
Can you tell me more about this? I remember I read something about vmware but as far as I know it's not at all easy to install and it's not free. Am I right? I don't know what cygwin is. Can you give me some links please? Thank you.

Quote:
Originally posted by liquidtenmilion
But i'm not entirely sure what you plan to do. You will gain nothing. You'll have no additional access to windows from linux, and you won't be able to run windows programs or hardware support, or boot into linux faster. All that you will get from this is a noticeably slower linux experience.
I know, I like linux and I have Windows installed on my computer just because I don't have a DC++ client on Fedora, and a few games I can only play on Windows. I'm trying to do this for a friend of mine, who is in love with Windows and it would be great for her to connect to linux like to another linux server with putty. I'm sure you have a lot of friends who doesn't like linux, too, and you would try to help them if they would ask you something like this, right? And besides of this, I have to admit I'm curious if this is possible just for my experience, too. Thank you.
 
Old 11-14-2005, 01:18 PM   #11
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,776

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
As stated above, you can only boot linux directly from windows98 (actually only win98SE is easy) or earlier, using loadlin.exe. See :
http://amigolinux.org/docs/killbill.htm
for details of how to do it.

You can also use loadlin with DOS or win95, but only with some jiggling of highmem.

AmigoXP does something different -it installs a GRUB image which is loaded by windows NTLDR. I recently saw that someone had done this with LILO also.
This actually is the safest way to install for multi-boot on a machine that already has windows installed since it doesn't overwrite the MBR at all and simply uses NTLDR to load whatever bootsector you want!
The only windows file affected is the boot.ini file where an entry is added for the bootsector you want to load.
 
Old 11-14-2005, 01:21 PM   #12
AnoobiS
LQ Newbie
 
Registered: Nov 2005
Posts: 18

Rep: Reputation: 0
go with vmware then.

to put it shortly, you will have a linux box running inside a virtual terminal...
That way you can use both at the same time....
Notice thou, that linux will be running on emulated hardware, so it might get kind of sluggish if the pc you're running it on doesn't have enough resources
 
Old 11-14-2005, 01:34 PM   #13
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 30
better use the VMware on linux, so you can have your windoze running 'virtually', this is how I do it at the office.

Trust me: performance is way much better
 
  


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
Dual boot windows/slackware, but slackware installed first? Cryptic_K Slackware 3 11-20-2006 01:49 PM
Networking Linux and Windows directly rknetsch Linux - Networking 1 06-17-2005 11:06 PM
Is it possible to boot/go directly from Mandrake to Windows? kymystic Mandriva 8 02-28-2005 12:37 PM
Red Hat:Can boot the HD from FD but can't boot directly off of HD mainstreet Linux - Newbie 5 06-25-2004 01:38 PM
removing lilo to boot directly into windows scubanix Linux - Software 2 05-05-2004 06:48 PM


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