From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Dotpu-0000ug-GJ for mharc-grub-devel@gnu.org; Sat, 02 Jul 2005 22:03:58 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dotps-0000u8-Gp for grub-devel@gnu.org; Sat, 02 Jul 2005 22:03:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dotn1-0000cu-0W for grub-devel@gnu.org; Sat, 02 Jul 2005 22:01:13 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dotmw-0000ZS-5k for grub-devel@gnu.org; Sat, 02 Jul 2005 22:00:54 -0400 Received: from [64.233.184.203] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DotLI-0004Oi-B1 for grub-devel@gnu.org; Sat, 02 Jul 2005 21:32:20 -0400 Received: by wproxy.gmail.com with SMTP id i32so563181wra for ; Sat, 02 Jul 2005 18:26:42 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Q45+vxGNuN7lR+494HXGBHpPDWHFUwoFrG3noxPMeTJRU+nsusGuKin8RGh/tFfdGQ0rU3vxpliX0ra0Psvu7gn587lhNymApnXfQ3AP0GkWVcG2lkrgDNldQ6+oY5cfueD84GjMJWc22mqdhlySTIDZxStkR13CbIVWu9gKDeM= Received: by 10.54.101.2 with SMTP id y2mr2758254wrb; Sat, 02 Jul 2005 18:26:42 -0700 (PDT) Received: by 10.54.18.34 with HTTP; Sat, 2 Jul 2005 18:26:41 -0700 (PDT) Message-ID: Date: Sun, 3 Jul 2005 02:26:41 +0100 From: Jago Pearce To: grub-devel@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Boot from SCSI, chainload to IDE? X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jul 2005 02:03:56 -0000 First of all, I'm really sorry about this because it stinks of an FAQ. However, the WIKI is down and it seems to be unusual enough to not be in the man page. I have grub on my SCSI drive, which is always in the computer. From time to time I put an IDE drive in the computer so I need to chainload to that drive. At the moment I'm having the use the BIOs to boot the Windows OS on this new IDE drive. I have tried all combinations of (hdx,x) and I can't get it to chainload to that IDE drive (which does indeed have a boot sector because I can boot it by avoiding grub and using the BIOs every time). At the moment grub is set to boot hd0,0 which is the SCSI drive. Therefore the next drive MBR should be (hd1,0) but that does work if I chainload to that. Bios options: - Set to boot from SCSI only --- root@ETHEL:~ # fdisk -l Disk /dev/sda: 18.3 GB, 18351959040 bytes 255 heads, 63 sectors/track, 2231 cylinders Units =3D cylinders of 16065 * 512 =3D 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 2136 17157388+ 83 Linux /dev/sda2 2137 2231 763087+ 5 Extended /dev/sda5 2137 2231 763056 82 Linux swap / Solari= s Disk /dev/hdb: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units =3D cylinders of 16065 * 512 =3D 8225280 bytes Device Boot Start End Blocks Id System /dev/hdb1 1 37 297171 82 Linux swap / Solari= s /dev/hdb2 38 9729 77850990 83 Linux root@ETHEL:~ # -- # menu.lst - See: grub(8), info grub, update-grub(8) # grub-install(8), grub-floppy(8), # grub-md5-crypt, /usr/share/doc/grub # and /usr/share/doc/grub-doc/. ## default num # Set the default entry to the entry number NUM. Numbering starts from 0, a= nd # the entry number 0 is the default if the command is not used. # # You can specify 'saved' instead of a number. In this case, the default en= try # is the entry saved with the command 'savedefault'. =20 default 0 ## timeout sec # Set a timeout, in SEC seconds, before automatically booting the default e= ntry # (normally the first entry defined). timeout 3 ## hiddenmenu # Hides the menu by default (press ESC to see the menu) hiddenmenu # Pretty colours #color cyan/blue white/blue ## password ['--md5'] passwd # If used in the first section of a menu file, disable all interactive edit= ing # control (menu entry editor and command-line) and entries protected by th= e # command 'lock' # e.g. password topsecret # password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/ # password topsecret # # examples # # title Windows 95/98/NT/2000 # root (hd0,0) # makeactive # chainloader +1 # # title Linux # root (hd0,1) # kernel /vmlinuz root=3D/dev/hda2 ro # # # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST ### BEGIN AUTOMAGIC KERNELS LIST ## lines between the AUTOMAGIC KERNELS LIST markers will be modified ## by the debian update-grub script except for the default optons below ## DO NOT UNCOMMENT THEM, Just edit them to your needs ## ## Start Default Options ## ## default kernel options ## default kernel options for automagic boot options ## If you want special options for specifiv kernels use kopt_x_y_z ## where x.y.z is kernel version. Minor versions can be omitted. ## e.g. kopt=3Droot=3D/dev/hda1 ro # kopt=3Droot=3D/dev/sda1 ro ## default grub root device ## e.g. groot=3D(hd0,0) # groot=3D(hd0,0) ## should update-grub create alternative automagic boot options ## e.g. alternative=3Dtrue ## alternative=3Dfalse # alternative=3Dtrue ## should update-grub lock alternative automagic boot options ## e.g. lockalternative=3Dtrue ## lockalternative=3Dfalse # lockalternative=3Dfalse ## altoption boot targets option ## multiple altoptions lines are allowed ## e.g. altoptions=3D(extra menu suffix) extra boot options ## altoptions=3D(recovery mode) single # altoptions=3D(recovery mode) single ## nonaltoption boot targets option ## This option controls options to pass to only the ## primary kernel menu item. ## You can have ONLY one nonaltoptions line # nonaltoptions=3Dquiet splash ## controls how many kernels should be put into the menu.lst ## only counts the first occurence of a kernel, not the ## alternative kernel options ## e.g. howmany=3Dall ## howmany=3D7 # howmany=3Dall ## should update-grub create memtest86 boot option ## e.g. memtest86=3Dtrue ## memtest86=3Dfalse # memtest86=3Dtrue ## ## End Default Options ## title Ubuntu, kernel 2.6.10-5-k7=20 root (hd0,0) kernel /boot/vmlinuz-2.6.10-5-k7 root=3D/dev/sda1 ro quiet splash initrd /boot/initrd.img-2.6.10-5-k7 savedefault boot title Ubuntu, kernel 2.6.10-5-k7 (recovery mode) root (hd0,0) kernel /boot/vmlinuz-2.6.10-5-k7 root=3D/dev/sda1 ro single initrd /boot/initrd.img-2.6.10-5-k7 savedefault boot title Ubuntu, kernel 2.6.10-5-386=20 root (hd0,0) kernel /boot/vmlinuz-2.6.10-5-386 root=3D/dev/sda1 ro quiet splash initrd /boot/initrd.img-2.6.10-5-386 savedefault boot title Ubuntu, kernel 2.6.10-5-386 (recovery mode) root (hd0,0) kernel /boot/vmlinuz-2.6.10-5-386 root=3D/dev/sda1 ro single initrd /boot/initrd.img-2.6.10-5-386 savedefault boot title Ubuntu, kernel memtest86+=20 root (hd0,0) kernel /boot/memtest86+.bin =20 savedefault boot ### END DEBIAN AUTOMAGIC KERNELS LIST