On 20/02/2015, Bob Proulx <b...@proulx.com> wrote:
> Bret Busby wrote:
>> The Debian 7.60 LXDE LiveCD does not have an option to boot into rescue
>> mode.
>
> You could always download the standard debian-installer and use that
> to boot rescue mode.  It is a very good option.
>
> However if you have a livecd and you say you do then that should be
> enough to do what you need.  Simply chroot into your system and then
> use it to repair your bootloader.
>
> The basic process goes like this.
>
> * Boot a livecd image.
> * Mount the target system to repair.
>
>     mkdir /target
>     mount /dev/sda5 /target
>     mount /dev/sda1 /target/boot
>     chroot /target /bin/bash
>     grub-install /dev/sda
>     exit
>     shutdown -r now
>
> You will need to adapt it to your system environment.  Your device
> paths will be uniquely yours.  This is just an example of the overall
> process to give you the idea of the flow.  The chroot stacks a shell
> logged into the target environment.  Once inside that environment then
> you have access to the system commands to repair grub.  You can
> apt-get install additional software.  You can fix things.
>
> Bob
>

Hello.

I had found a LiveCD rescue iso, and had tried to load that, in case
that would take me to a "restore grub" menu option, but that booted
into a command line, that showed that fdisk was not available, and
chroot was not available, so I tried to shut the system down, by using
<CTRL><ALT><DEL>, and that let me retrieve the DVD, and I was going to
try booting using an install disk iso, but, it booted into the botched
PC-BSD thing, and, holding down the <ESC> key, got me a screen that
had at the bottom,
"Press enter to boot the selected OS" (the botched PC-BSD, that simply
fails, was the only OS displayed as an option)"
" "e' to edit the commands before booting" - meaningless to me
"or "c' for a command line"
so I pressed "C", hoping to be able to use a "shutdown" command, so
that I could boot another computer, so as to download and write a
current install Debian iso image, and, when I pressed the "c", I got a
window that appeared, that is a GRUB thing, with the
"grub>" prompt.

So, now, this has evovled to the new question; what do I type in at
the GRUB prompt, to make it search for, and, offer as boot options,
the pre-existing, installed, Ubuntu and Debian installations?



-- 
Bret Busby
Armadale
West Australia
..............

"So once you do know what the question actually is,
 you'll know what the answer means."
- Deep Thought,
 Chapter 28 of Book 1 of
 "The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts",
 written by Douglas Adams,
 published by Pan Books, 1992

....................................................


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CACX6j8NbZbUPs=zse+4w5ocha-o2dnk3uc1+cea+xt7pj_p...@mail.gmail.com

Reply via email to