probably this, below, would help
probably this, below, would help
Alright, this is what worked for me.
1- I have created an bootable Grub2 iso file...
http://members.iinet.net/~herman546/...l#GRUB2_CD-ROMCode:grub-mkrescue --output=rescue.iso /boot/grub
2- Using one of the Iso editing software I have altered the "grub.cfg" file. You can use Iso Master on Ubuntu (thx Peter) or UltraIso on windows, or whatever your choice of utility to edit the files inside the Iso image without altering its structure and bootable status.
I used a very simple and basic "grub.cfg" file sample and edited it to my needs and according to my setup.
3- Now the most important part, where I have wasted too much time myself. Which "grub.cfg" file needs to be altered inside the iso?
In the Iso image structure there is one at the root of the image "/" and one another on the "boot/grub/i386-pc/" path. The answer is "None" of them. You dont edit those "grub.cfg" files but you place a new one on the path of "boot/grub/"
Thats about it...
Last edited by hgurol; May 17th, 2010 at 06:16 PM.
life is short, but sweet for certain...
Is it grub.conf or grub.cfg, which is the normal configuration file for Grub 2? If the latter, just edit your previous post rather than make a correction in a new one.Originally Posted by hgurol
Last edited by drs305; May 17th, 2010 at 02:34 PM.
how do you make linux with grub2 boot with the option acpi_sleep=old_ordering?
I mean I could write it into the Grub menu.lst, but I don't know where to write it in the grub2 settings.
and without this line my PC is not able to suspend/hibernate normally.
thanks in advance!
thank you so much! it helped and I got the idea =)
As a matter of fact, I can't do any editing at all, nor are commands of the typeCould not save contents
Error opening file '/etc/default/grub': Permission deniedcarried out ; instead the following appears in my terminal :Code:grub-mkconfigThe above seems to have to do with the fact that I'm running the terminal from the Lucid Live CD rather than a version installed to my harddisk. Previously, as noted above, one could use the Live CD to recover GRUB, but hitherto all my attempts to do so with GRUB2 have failed. I've done a backup of my most important files to an external harddisk, but I'd really rather avoid having to re-install the OS..../usr/sbin/grub--probe: error: cannot find a device for / (is /dev mounted?).
It sounds like you are either not running as root or did not "chroot" successfully. If you are trying to reinstall Grub2, follow the procedures here (as RanchHand linked).
If you continue to have problems, I would suggest starting a thread of your own, describe the problem, and then run and post the results of the boot info script found here:
More people will be likely to look at a new thread, and RanchHand will no doubt find it. I'll continue to watch for it as well if the above doesn't fix things.
Drs305, thanks for your suggestion ! I doubt, however, that the problem is a failure to run as root - as can be seen from my post on p 46 of this thread, enteringin a terminal results inCode:sudo chroot /mntwhich I interpret to mean that the manoeuvre has been successful. But it is not my intention to kidnap this thread, so I'll start a new one and see if what happens....root@ubuntu:/#