On 4/14/07, Mike Wilson <wilsonmr@sasktel.net> wrote:
> A question for Ubuntu 6.10 expert users:
>
> I have 6.10-32-bit installed on an IDE drive which, due to a long and
> boring story, is no longer in GRUB's list of boot devices. I have
> 6.10-64-bit on a SATA drive, with GRUB using its MBR. So far none of the
> posts I have found on the Ubuntu forums address the specific issue of
> adding another flavour of Ubuntu to what GRUB sees -- it's all about
> dual booting Windows. Nor are the GRUB docs (as provided with 6.10)
> clear on this operation. The IDE drive is visible to the Gnome Partition
> Editor, but given the way Ubuntu goes about mounting things It's not
> clear from fstab that "hda" hasn't been appropriated to refer to my CD
> drive:
I might not quite get your question. You want to add your IDE drive
to the grub boot menu on sda?
Type `dmesg|grep hd' and find out the letter of that IDE drive. hda
looks like your cdrom, so lets pretend the drive is hdb.
Then change your device map, say now it looks like:
$ cat /boot/grub/device.map
(hd0) /dev/sda
So change it to read
(hd0) /dev/sda
(hd1) /dev/hdb
Then edit /boot/grub/menu.lst and after the line:
### END DEBIAN AUTOMAGIC KERNELS LIST
Add your grub entry for that ide drive:
title Debian GNU/Linux, kernel 2.6.18-3-k7
root (hd1,1) #This assumes the boot partition is the first
partition. hd1,2 would assume the second
kernel /vmlinuz-2.6.18-3-k7 root=/dev/hdb1 ro quiet splash
initrd /initrd.img-2.6.18-3-k7
savedefault
Of course the kernel/initrd lines will have to be changed to reflect
the kernel you have installed. You can mount the boot partition on
hdb to find out if you're not sure.
Received on Sat Apr 14 23:23:40 2007
This archive was generated by hypermail 2.1.8 : Sat Apr 14 2007 - 23:23:46 CST