Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I had Vista installed after SUSE which then resulted in the Grub disappearing. Now after getting the solution on how to re-install Grub from openSUSE site, I get the boot menu but my SUSE linux won't boot. The solution was as follows (so anyone who's familiar, please help out):
In rescue mode:
I enter ----------------------> grub
Computer returns like this------> grub>
I enter ------------------------> find /boot/grub/menu.lst
Computer returns like this------> (hd0,6)
I enter ------------------------> root(hd0,6)
Computer returns like this------> File system type is ext2fs, partition type 0x83
I enter ------------------------> setup(hd0)
Then I see 4-5 lines like this: checking if /boot/grub/stage1 exists...yes
Computer finally returns: succeeded...Done
I enter -----------------------> quit
I enter -----------------------> reboot
However, upon booting I get the following error message on screen a few seconds before the boot menu appears: "root(hd0,5)/boot/message: file not found"
Then the boot menu appears, and when I choose SUSE I get the following error: "Error 17: cannot mount selected partition"
Entering "geometry (hd0)" on grub prompt I get the following:
__________________________________________________________________
drive 0x80:C/H/S=7296/255/63, The number of sectors:117210240, dev/sda
Partition num:0, Filesysyem unknown, partition type 0x7
Partition num:1, Filesysyem unknown, partition type 0x7
Partition num:5, Filesysyem unknown, partition type 0x82
Partition num:6, Filesysyem is ext2fs, parttition type 0x83
Partition num:7, Filesysyem is ext2fs, parttition type 0x83
----------------------------------------------------------------------
Typing root ( followed byTAB doesn't seem to do anything...
Hey hurry_hui, thx 4 the feedback...
I still don't succeed booting; I edited the "root (hd0,5)" to "root (hd0,6)" and pressed ENTER. Now when I press 'b' to boot it seems that it might boot, but then prompts me to enter the root password. Upon entering the password it gives the "(repair filesystem)#" prompt, and I don't know how to proceed from there (sorry I'm a bit n00bish).
Another thing, do you think I should edit the other entries on the boot menu as well? For example, when enter 'e' for edit when it's the "windows" entry highlighted on the menu, I get these 2 lines:
rootnoverify (hd0,5)
chainloader (hd0,0)+1
The other 2 entries other than openSUSE (i.e. Failsafe and XEN) also have the line "root (hd0,5)",so I wonder if I have2 edit that as well to "root (hd0,6)"?
And how do I save after editing in the grub prompt?
If you use the "repair filesystem" you should not have to modify anything. You should have some options with the repair and one of them should be repair boot or grub. It has been a while but if I remember it will repair grub then let you opt out on repairing (overwriting) operating system.
Last edited by Larry Webb; 10-11-2009 at 04:35 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.