[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
linux on second disk
From: |
Héri Tamás |
Subject: |
linux on second disk |
Date: |
Tue, 12 Mar 2002 11:51:59 +0100 (CET) |
Hello all,
I have the following question (short):
Is it possible to boot an installed (Debian) Linux (root
partition resides on /dev/hdb2) from the second disk by
GRUB?
Long:
I have three disk in my newly built machine.
-- on the first (hda, or hd0), a WinNT is installed (I did
it from boot floppies)
-- on the second (hdb or hd1), a Debian 2.2r5 is installed
(from CD), with root partition in /dev/hdb2
-- I want to install Win98 to the third (hdc or hd2).
Is it possible to start all OSes just by setting the boot
sequence in BIOS (I mean, I can set boot from HDD-0, HDD-1
etc.) ? For complete safety I want the first disk's MBR
untouched. How shall I install GRUB to place it's stage1 to
(hd1) ?
I tried the following install command:
grub> root (hd1,1)
grub> install /boot/grub/stage1 d (hd1) /boot/grub/stage2
p /boot/grub/menu.lst
grub> quit
After that, and setting BIOS to boot from HDD-1 (second
disk), the system stops after Power-On-Self-Test.
However, from floppy I can boot everything from everywhere
(Linux from /dev/hdb2, WinNT from /dev/hda):
grub> root (hd1,1)
grub> install /boot/grub/stage1 d (fd0) /boot/grub/stage2
p /boot/grub/menu.lst
grub> quit
Tamas Heri.
Thanks in advance.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- linux on second disk,
Héri Tamás <=