With SUSE 10.0/10.1 what is the correct way to reinstall grub? I had a hardware issue trying to install SUSE 10.1 on a computer. Now grub is not booting to a menu. I tried to re-perform the install, but it had no impact on grub's booting. I currently have: hda1 - Win2000 boot hda5 - NTFS working drive hda6 - swap partition (garbage) hda7 - / partition (just rewritten with a fresh install) hda8 - /home (Just formatted, no users) I can mount hda7 in rescue mode and it looks fine. I'm trying from rescue mode to do either: grub-install /dev/hda7 or grub root (hd0,7) setup (hd0) Both are failing. It seems that SUSE 10.1 does not support the above methodology anymore? I guess I should try some older boot CDs to do the rescue from? Thanks Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Thu, 2006-06-15 at 12:29 -0400, Greg Freemyer wrote:
With SUSE 10.0/10.1 what is the correct way to reinstall grub?
I had a hardware issue trying to install SUSE 10.1 on a computer.
Now grub is not booting to a menu. I tried to re-perform the install, but it had no impact on grub's booting.
I currently have: hda1 - Win2000 boot hda5 - NTFS working drive hda6 - swap partition (garbage) hda7 - / partition (just rewritten with a fresh install) hda8 - /home (Just formatted, no users)
I can mount hda7 in rescue mode and it looks fine.
I'm trying from rescue mode to do either:
grub-install /dev/hda7
or
grub root (hd0,7) setup (hd0)
Both are failing. It seems that SUSE 10.1 does not support the above methodology anymore?
/dev/hda7 would correspond to root (hd0,6) since the grub numbering of the partitions starts at zero. i.e on hard drive 1 /dev/hda1 = root(0,0) /dev/hda2 = root(0,1) /dev/hda3 = root(0,2), etc you can also just boot up from a grub prompt: root (0,6) vmlinuz /boot/vmlinuz root=/dev/hda7 initrd /boot/initrd boot (the tab key will show other options/autocomplete if your default kernel isn't aliased to "vmlinuz" and "initrd" or you have multiple kernels to choose from) Then you can try reinstalling grub from Yast-->system>bootloader. If you originally installed grub on the MBR instead of the boot partition, you may have to reinstall it on the MBR to overwrite what is currently missing. I don't know how to get grub to choose a boot partition over the MBR as the MBR seems to take precendence if a bootloader was installed there originally. Maybe someone can provide more specifics if that is part of your problem. -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
2006/6/15, Greg Freemyer
I guess I should try some older boot CDs to do the rescue from?
You can repair your grub using your Suse 10/10.1 CD/DVD. Roberto -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Thu, 2006-06-15 at 12:29 -0400, Greg Freemyer wrote:
With SUSE 10.0/10.1 what is the correct way to reinstall grub?
I had a hardware issue trying to install SUSE 10.1 on a computer.
Now grub is not booting to a menu. I tried to re-perform the install, but it had no impact on grub's booting.
I currently have: hda1 - Win2000 boot hda5 - NTFS working drive hda6 - swap partition (garbage) hda7 - / partition (just rewritten with a fresh install) hda8 - /home (Just formatted, no users)
I can mount hda7 in rescue mode and it looks fine.
I'm trying from rescue mode to do either:
grub-install /dev/hda7
or
grub root (hd0,7) setup (hd0)
Both are failing. It seems that SUSE 10.1 does not support the above methodology anymore?
I guess I should try some older boot CDs to do the rescue from?
Thanks Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century
I think: root (hd0,0) setup (hd0) is more what you want, as it will put GRUB where the BIOS can find it. GRUB will then identify all bootables on the drive and include them in the list, with SUSE as the default. At least that is my understanding, and it has worked for me. Andy Goss -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On 6/16/06, Andy Goss
On Thu, 2006-06-15 at 12:29 -0400, Greg Freemyer wrote:
With SUSE 10.0/10.1 what is the correct way to reinstall grub?
I had a hardware issue trying to install SUSE 10.1 on a computer.
Now grub is not booting to a menu. I tried to re-perform the install, but it had no impact on grub's booting.
I currently have: hda1 - Win2000 boot hda5 - NTFS working drive hda6 - swap partition (garbage) hda7 - / partition (just rewritten with a fresh install) hda8 - /home (Just formatted, no users)
I can mount hda7 in rescue mode and it looks fine.
I'm trying from rescue mode to do either:
grub-install /dev/hda7
or
grub root (hd0,7) setup (hd0)
Both are failing. It seems that SUSE 10.1 does not support the above methodology anymore?
I guess I should try some older boot CDs to do the rescue from?
Thanks Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century
I think:
root (hd0,0) setup (hd0)
is more what you want, as it will put GRUB where the BIOS can find it. GRUB will then identify all bootables on the drive and include them in the list, with SUSE as the default. At least that is my understanding, and it has worked for me.
Andy Goss
I think that would screw up my Win2K installation on the first partition. When I actually typed in the right command "root (hd0,6)" for my system grub installed fine. Unfortunately it still did not get to grub stage 2. Yesterday I tried installing SUSE 9.2 and 10.0 in addition to 10.1. Same results from each. I think I will try lilo on this box. Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Fri, 2006-06-16 at 09:40 -0400, Greg Freemyer wrote:
On 6/16/06, Andy Goss
wrote: On Thu, 2006-06-15 at 12:29 -0400, Greg Freemyer wrote:
With SUSE 10.0/10.1 what is the correct way to reinstall grub?
I had a hardware issue trying to install SUSE 10.1 on a computer.
Now grub is not booting to a menu. I tried to re-perform the install, but it had no impact on grub's booting.
I currently have: hda1 - Win2000 boot hda5 - NTFS working drive hda6 - swap partition (garbage) hda7 - / partition (just rewritten with a fresh install) hda8 - /home (Just formatted, no users)
I can mount hda7 in rescue mode and it looks fine.
I'm trying from rescue mode to do either:
grub-install /dev/hda7
or
grub root (hd0,7) setup (hd0)
Both are failing. It seems that SUSE 10.1 does not support the above methodology anymore?
I guess I should try some older boot CDs to do the rescue from?
Thanks Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century
I think:
root (hd0,0) setup (hd0)
is more what you want, as it will put GRUB where the BIOS can find it. GRUB will then identify all bootables on the drive and include them in the list, with SUSE as the default. At least that is my understanding, and it has worked for me.
Andy Goss
I think that would screw up my Win2K installation on the first partition. When I actually typed in the right command "root (hd0,6)" for my system grub installed fine.
Unfortunately it still did not get to grub stage 2. Yesterday I tried installing SUSE 9.2 and 10.0 in addition to 10.1. Same results from each.
I think I will try lilo on this box.
Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century
I too have Windoze on the first partition, though I don't use it these days, and root (hd0,0) setup (hd0) did it no harm. Before trying Lilo you may find these helpful: http://www.linuxquestions.org/linux/blog/saikee http://www.justlinux.com/forum/showthread.php?t=143973 http://www.justlinux.com/forum/showthread.php?t=144294 http://www.justlinux.com/forum/showthread.php?p=837905#post837905 Andy Goss -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
I had a hardware issue trying to install SUSE 10.1 on a computer. Now grub is not booting to a menu. I tried to re-perform the install, but it had no impact on grub's booting. I currently have: hda1 - Win2000 boot hda5 - NTFS working drive hda6 - swap partition (garbage) hda7 - / partition (just rewritten with a fresh install) hda8 - /home (Just formatted, no users) I can mount hda7 in rescue mode and it looks fine. I'm trying from rescue mode to do either: grub-install /dev/hda7 or grub root (hd0,7) setup (hd0) Both are failing. It seems that SUSE 10.1 does not support the above methodology anymore?
I'm just coming into this. Is your hda1 FAT32? Or even if it's NTFS. In any case, is it larger than 8.4GB (8GiB) or 33.8GB (32GiB)? Understand that NT5+ (especially NT5.1SP2, aka XPSP2) _can_ do some "weird things" to the MBR _if_ you have a large C: drive using FAT32. It writes hidden sectors to the MBR cylinder that GRUB and NT5+ then fight over. I have discovered this issue over and over. A major problem is that Microsoft does _not_ follow ATA-5 and Extended Int13h Disk Service standards. -- Bryan P.S. Back in 2005, I did a 3 part series on low-level UNIX/Linux-Windows interoperability, which talks about core issues with Windows and how they do and don't work with itself, much less UNIX/Linux. http://www.geocities.com/thebs413/SLUUG_LowLevelInterop_Part1.pdf http://www.geocities.com/thebs413/SLUUG_LowLevelInterop_Part2.pdf http://www.geocities.com/thebs413/SLUUG_LowLevelInterop_Part3.pdf I'm really trying to find a mirror for these presentations. Geocities is a poor location for them, and I've given up on a couple of lower-cost hosting solutions (long, long story). -- Bryan J. Smith Professional, technical annoyance mailto:b.j.smith@ieee.org http://thebs413.blogspot.com ---------------------------------------------------------- The existence of Linux has far more to do with the breakup of AT&T's monopoly than anything Microsoft has ever done. -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (5)
-
Andy Goss
-
Bryan J. Smith
-
Greg Freemyer
-
rmyster
-
Roberto Pineda