Wow - that seems like a lot for a linux noob like me.
So if I hit "c" at the grub menu I get a limited bash shell. How do I
edit the grub menu from there?
Also, what is the run command for the text editor in the shell? I was
using gedit before and I assume that won't work.
--
Brian
Find my public PGP key at http://pgp.mit.edu/
On 6/21/07, Harry McGregor <[EMAIL PROTECTED]> wrote:
Hi Brian,
Try editing your grub menu and telling it to boot only to a bash prompt,
with "init=/bin/bash" at the end of the line
Then run "mount" to see what you have for drives, whatever is your root
fs (/)
do: mount -o remount,rw /dev/hdaX /
Then edit your files in /etc to fix your typo
then: mount -o remount,ro /dev/hdaX /
sync
sync
ctrl-alt-del
Harry
Brian Weeden wrote:
> I am in Vancouver right now and headed to Beijing tomorrow and my
> laptop just crapped out on me. I was dual booting XP and Ubuntu
> (Fiesty) using Ubuntu about 99% of the time.
>
> I was working and it locked up so I rebooted. It got 1 bar into the
> Ubuntu load screen and then gave me the error:
>
> "/etc/init.d/rc exited outside the expected code flow"
>
> I had recently made some changes to my init.d to remove some automatic
> drive mappings that no longer worked since I wasn't on my home network
> and probably made a typo. But I can't seem to be able to fix the
> file. I tried booting into the recovery console but it crashed and
> gave me the same error. Window's won't recognize the ext paritition.
>
> Of course, I totally forgot to bring my original Fiesty Live CD with
> me. I think my only option is to download a new Live CD, boot from
> that and try and fix the file. Suggestions?
>