Gentoo Archives: gentoo-user

From: Richard Fish <bigfish@××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Boot from SATA: Something special to consider ???
Date: Fri, 04 Aug 2006 09:12:43
Message-Id: 7573e9640608040205i139ae240m87645bb0c2a3e160@mail.gmail.com
In Reply to: Re: [gentoo-user] Boot from SATA: Something special to consider ??? by Statux
1 On 8/3/06, Statux <statux@×××××××××.net> wrote:
2 > So, I guess from here, I too will ask my own question stemming from this
3 > one: How do I get a bootloader (lilo preferably for me) to boot a device
4 > which may not always be in the same place like a SCSI-ish disk?
5
6 Pay attention to BIOS drive mappings.
7
8 Boot loaders like grub work based on the BIOS's idea of bootable
9 devices. I haven't used lilo in a few years, but grub references BIOS
10 disks as hd0, hd1, .... So FEX if you have 2 SATA drives connected to
11 SATA ports #1 and #2, you can typically configure the BIOS to boot #1
12 (hd0 in grub) first, then #2 (hd1). If you reverse the boot order of
13 the drives in the BIOS, then hd0 in grub will be #2, and hd1 will be
14 #1.
15
16 If you have a BIOS that will boot from a USB hard drive, and configure
17 the BIOS to boot from that first, then hd0 in grub will refer to the
18 USB drive.
19
20 -Richard
21 --
22 gentoo-user@g.o mailing list