Grub 0.97 Boot issues from a different disk dual boot Debian / RHEL.
Hi there,
I have Vm with Debian 6.07 Installed on the first hard disk : /dev/sda which is a 40gb disk. On the second disk which is a 16gb disk /dev/sdb, I have installed Redhat Enterprise Linux 6.1. Code:
[root@maz01 ~]# fdisk -l Disk /dev/sda: 42.9 GB, 42949672960 bytes Why did I do this? I am trying to learn and troubleshoot Grub 0.97. Why? Because it's still in use! So I modified the GRUB from the Redhat Installation: So I booted into the Redhat Installation: Mounted the Debian disk: Code:
[root@maz01 ~]# mkdir -p /mnt/debian Now to edit the RHEL Grub Menu: Code:
vim /boot/grub/menu.lst Instead I get error 15: File not found Press any key to continue. It's like GRUB is have an issue identifying the other disk. Code:
cat /boot/grub/device.map I tried the "map" option in GRUB: Code:
vim /boot/grub/menu.lst Update grub 0.97 to to Grub 1.99 and run the update-grub command which would launch the OS Prober script and discover the Debian Install and add it automatically into the GRUB Menu. However I am trying to troubleshoot this issue from a Grub 0.97 perspective since RHEL and Centos still use it. I did open a case with Redhat and there answer was: "If there is any workaround to this issue, it will be out of our scope of coverage as this is an unsupported issue" Has anyone came into this kind of scenario, where an older GRUB verison has installed over a newer GRUB and the installation of the OS's are on seperate disks and got it working? Or is there anything obvious above I have missed? Thanks |
Quote:
Code:
root=UUID=569b9100-e26f-4247-88c8-c8bf0dc318a0 |
Well spotted I will check that out and report back thanks!
|
Thanks for your help mddesai, you put me on the right path to fix this.
The situation is did a cheap and nasty quick install of Debian: /dev/sda1 : This wasn't an actual /boot partition the it was the entire /root partition. So the Kernel and the Initrd has a symlink from the / partition to the /boot partition. The symlink for the Kernel and the Initrd was labeled: initrd.img -> boot/initrd.img-2.6.32-5-amd64 vmlinuz -> boot/vmlinuz-2.6.32-5-amd64 Code:
#boot=/dev/sda All is good now. |
All times are GMT -5. The time now is 06:15 PM. |