[ltp] 2nd HDD in Multibay (600x)
Mark Ball
linux-thinkpad@www.bm-soft.com
Fri, 5 Oct 2001 17:28:29 -0700 (PDT)
On Tue, 2 Oct 2001, Tom Grydeland wrote:
> On Tue, 2 Oct 2001, Boyan wrote:
>
> > Thanks, nice to hear that it works. The next related questions are: Is it
> > possible to boot different operating systems from the hdd in the multibay?
> > Can it be somehow automated or will a change in bios needed every
> > time the multibay is booted?
>
> A HDD in the multibay is just like any other hard drive. You configure
> LILO (or GRUB or whatever bootloader you use) with all the different
> OSes you want to boot, telling it where to find them
> (/dev/hda<x>, /dev/hdb<x>, etc)
> and (for the case of LILO), run /sbin/lilo. You'll need the drive in
> the bay for LILO to find the boot images, while GRUB might be smarter
> about it. When you boot, you simply select whichever boot option you
> want. If you try to boot an OS from the bay drive without that drive in
> the bay, you probably get what you deserve :-)
When I got a 2nd HDD for my 770Z I configured for booting from HDD2, the
drive in the UltraBay. Each drive has at least one Linux installation.
LILO(s) on HDD1 only know how to load what is on the internal drive.
LILO on HDD2 knows what is on itself and the internal drive.
The BIOS boot order has been changed to from HDD2 before HDD1.
To configure LILO on HDD2, lilo.conf need to include:
disk=/dev/hdc
bios=0x80
disk=/dev/hda
bios=0x81
When booting with two drives, LILO on HDD2 runs which allows selecting
an OS on either drive.
When booting with one drive, the BIOS pauses with an I990301 (I think)
message then runs LILO on HDD1 runs which has no dependence on the
presence of a 2nd drive.
Also, whichever drive boots first becomes known as "C:" to DOS/Windoze
although Linux keeps the same hda/hdc assignments. Both drives have a
Win98 partition (from the recovery CD) and I've sucesfuly run it from
HDD2.
mark
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html