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 06-26-2007, 05:16 AM   #1
somae
Member
 
Registered: Nov 2006
Posts: 56

Rep: Reputation: 15
boot-as = 0x80? (booting windows from lilo)


I wasn't able to boot windows from lilo. Then I saw that someone had suggested to add "boot-as = 0x80" to the lilo.conf in the windows section.

I did that and now am able to boot windows from lilo.

I was wondering what does it do?

Thanks.

Last edited by somae; 06-26-2007 at 05:19 AM.
 
Old 06-26-2007, 05:28 AM   #2
synapse
Member
 
Registered: Jan 2004
Location: On Planet Earth.
Distribution: Slackware 12
Posts: 244

Rep: Reputation: 30
Hi

I think this reverses the disks

like let disk 1 be equal to disk 2
and disk 2 be equal to disk 1

It comes down from the boot order of the bios of the machine.

Not sure though will wait for other replies.
 
Old 06-26-2007, 02:33 PM   #3
gbowden
Member
 
Registered: Dec 2003
Location: Spain
Distribution: Slackware 14.1 64bit - multilib
Posts: 148

Rep: Reputation: 28
From the lilo.conf man page:

boot-as=<bios>
This option (LILO version 22.5.1) indicates the BIOS device code which must be
assigned to the specified drive in order for the "other=" operating system to
boot. If the chain loader detects that another BIOS device code is assigned to
this disk, then it will dynamically swap the assigned device code with the speci-
fied device code.

This option is easier to specify than "map-drive=" and more general than "master-
boot" in that any device code may be specified. Unlike "map-drive=", the determi-
nation whether to swap device codes is made at boot time, not install time. This
is advantageous on systems where the BIOS presents a boot menu of devices, and
will map disks to devices in different ways, depending upon the BIOS boot selec-
tion.

This option may by specified as a global option, in which case it applies to all
"other=" sections unless overridden with a specific "master-boot" option. If one
of "boot-as=" or "master-boot" is specified as a global option, it is better to
specify "master-boot" as the global option, as it will not interfere with floppy
disk BIOS device codes; "boot-as=" is then used as a local option to override
"master-boot" as necessary.
 
Old 06-27-2007, 07:26 AM   #4
agentc0re
Member
 
Registered: Apr 2007
Location: SLC, UTAH
Distribution: Slackware
Posts: 200

Rep: Reputation: 34
FYI, i use it for my dual boot of slack and windows and it works.
 
Old 06-27-2007, 03:39 PM   #5
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
Windows can boot only from the 1st disk, so you may have to use that command to swap the disk numbers if you have more than one.
 
  


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
Boot Camp (fixing boot loaders, learning your way around boot & chainloaders) Siljrath Linux - General 8 01-20-2015 11:00 AM
When I boot my comp. (dual boot sys-Suse 10.1 & Win XP) the first boot stalls. philip niedermeyer Linux - Desktop 5 11-13-2006 06:04 PM
Kind souls: help getting Mandriva install 2 boot? edit boot.ini/grub /boot device or NoMoreReinstallMS Linux - Newbie 1 08-09-2006 04:34 AM
GRUB: How to boot WinXP (NTLDR, NTDETECT.COM & BOOT.INI) from boot partition (EXT2) ? Rayen16 Linux - Software 1 05-25-2006 12:09 PM
failed features: boot.shm boot.loadmodules boot.swap cccc SUSE / openSUSE 1 08-08-2005 07:23 AM

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

All times are GMT -5. The time now is 08:56 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