On 20/12/15 11:56, NickFi wrote:
>
> I have a computer with dual boot - one is Windows XP, the other is
> Opensuse Leap. I wanted to have grub let me choose between which OS to
> be loaded (typically it was loading XP after a few seconds). So now,
> once grub appears, it will immediately boot in windows. I thought that a
> time of zero will make grub wait for user selection of the OS, but it is
> not. I also read on a few forums that pressing the shift key during
> booting of the system may bring up the grub menu, but unfortunately that
> is just a myth (or a desired future for many of us
). It makes me
> wonder why the developers don’t provide an easy way to access the grub
> configuration menu when a silly user changes the time to zero and
> default boot OS to non-linux.
>
> Anyway, I used an older Linux installation disk and I selected the
> rescue option.
> Now I have root access. I read all kind of advice about configuring grub
> from the rescue prompt, but some of them appear to be missing some
> important steps. They advise to start grub and then modify the grub
> configuration file.
> In my case, once I am under Rescue:~ #, when I type ls, I can only see
> the directories .gnupg, .local and bin. Does this mean I can’t access
> the directory boot?
> What can I do in this case?
>
> Thanks,
> Nick
Hi Nick,
I am not one of the Linux gurus around here but I have been in a
situation where I needed to reinstall Grub/Grub2 back to MBR or to
edit the old menu.lst or the new /etc/default/grub configuration
file and used a grub boot disk (floppy until not long ago) to
achieve that easily. Super Grub2 boot disk is fantastic for
situations like yours - it will probe hdd for all installed
OSes and give you the option to boot directly into any of them.
http://www.supergrubdisk.org/super-grub-disk-and-super-grub2-disk-difference/
>>Super Grub Disk and Super Grub2 Disk Difference
GRUB2 is a complete rewrite of GRUB, and Super GRUB2 Disk is a complete
rewrite as well. As Super GRUB2 Disk uses GRUB2, the differences between
GRUB Legacy and GRUB2 also apply to the different versions of Super GRUB
Disk.
Perhaps the most notable difference between Super GRUB Disk based on
grub legacy and Super GRUB2 Disk is that Super GRUB2 Disk does not write
to the disk at all, and so cannot rewrite the MBR. Super GRUB2 Disk can
only be used to boot a broken system, it cannot fix it directly. Though
once a system is booted, re-installing grub is usually just a matter of
running “grub-install /dev/sda”.
While there are some features of Super GRUB Disk based on GRUB legacy
that will never be included in Super GRUB2 Disk, the opposite is also
true. For instance, Super GRUB2 Disk supports booting OSX, loop booting
from iso files, booting an OS from USB without USB support in the BIOS,
and other features that are not possible with GRUB legacy.<<
You can download iso from here (approx 14 MB):
http://www.supergrubdisk.org/category/download/supergrub2diskdownload/super-grub2-disk-stable/