LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-11-2005, 04:53 AM   #1
sard
LQ Newbie
 
Registered: Feb 2005
Location: UK
Distribution: Debian Unstable
Posts: 17

Rep: Reputation: 0
Bootloader settings to boot from second HD?


At the moment Iím running Debian unstable with grub bootloader. Unfortunately I canít access my Windows 2000 installation which is on my second HD by selecting the option in grub.

I have to go into the bios and tell it to boot brom HD1 if I want to get into windows.

Previously I installed Xandros which uses Lilo, and it configured it so I could get into Windows 2000.

Hereís the lilo config file that was created

boot=/dev/hda
install=/boot/cboot.b
message=/boot/splash.lilo
timeout=300
map=/boot/map
prompt
fix-table
lba32
read-only
change-rules
reset
compact
image=/vmlinuz
label=Xandros_Desktop_3.0.1_OC
vga=0xf04
root=/dev/hda1
initrd=/boot/initrd-2.6.9-x1.gz
append="rw acpi=on "
image=/vmlinuz
label=Safe_Video_Mode
vga=0xf04
root=/dev/hda1
initrd=/boot/initrd-2.6.9-x1.gz
append="3 rw acpi=on "
image=/vmlinuz
label=Configure_(Expert)
vga=normal
root=/dev/hda1
initrd=/boot/initrd-2.6.9-x1.gz
append="single rw acpi=on noresume "


other=/dev/hdc1
label=Windowsģ_2000
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80

Iím guessing only the last bit is relevant to getting into W2K so how can I convert those settings into something I can put in Grub?
 
Old 03-11-2005, 05:54 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 20,189

Rep: Reputation: 3757Reputation: 3757Reputation: 3757Reputation: 3757Reputation: 3757Reputation: 3757Reputation: 3757Reputation: 3757Reputation: 3757Reputation: 3757Reputation: 3757
Try something like;
Code:
title Windows
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
Presumes Win2000 is on first partition, second disk.
Do some searching - this must come up every day. Some time in the grub manual might also be well spent.
 
Old 03-11-2005, 08:29 AM   #3
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: debian IceWM
Posts: 5,616

Rep: Reputation: Disabled
yeah if you like my tutorial is in my signature on dual booting as well

beware of gaps in the commands and even tho 2000 is non-dos it does not hurt to include the makeactive command to make partition seeable as a bootable one
 
  


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
boot usb via grub or bootloader? netsurf Linux - Hardware 5 06-28-2005 08:45 AM
How to tell GRUB to boot an other bootloader TTL_2 Linux - Newbie 2 06-04-2005 12:32 AM
unable to boot with any existing bootloader kaiserlautern Mandriva 4 06-22-2004 01:13 PM
Setting up GRUB Bootloader to boot from CD davstin2002 Linux - Software 4 05-26-2004 03:41 AM
bootloader won't load on boot tearbasco Linux - Newbie 4 02-07-2004 01:43 AM

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

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