bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

map'ping disks


From: Thomas Krebs
Subject: map'ping disks
Date: Mon, 26 Feb 2001 19:43:41 +0100

Hello grubbers,
don't know if this is a bug but i have problems mapping disks with
the map command.
I have installed Linux and Solaris 8 on two different disks. I
installed them both independently when each (SCSI) disk was set to
disk 1 when installing. So the root Linux partition is on a filesystem
mounted to /dev/sda1 and the Solaris root partition is mounted on
/dev/c0t0d0. I want to be able to boot both of them with grub when one
of those disks is set to disk 1 and one set to disk 2. As the filesystem
entries are set as each disk was disk 1 I think I have to use the map
command to let both OSes assume they are on the first disk.
To accomplish that I do something like that:

map (hd0) (hd1)
map (hd1) (hd0)
kernel (hd0,0)/boot/vmlinuz-2.2.14 root=/dev/sda1

e.g. for Linux.
But this does not work properly, i.e. linux boots but when it tries to
access the filesystems it (apparently) accesses the partitions on the
first (Solaris) disk.

My question:
Is this a bug or if not
Can I configure the OSes and grub in a way where I can install an OS on
a
disk when it is set as the first disk and later boot it when it is set
to any other disk number?

Best regards for any help!

Thomas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]