Author Topic: [SOLVED] Help needed for Bash-like line editing!!  (Read 8292 times)

Offline linuxist

  • Full Member
  • ***
  • Posts: 64
[SOLVED] Help needed for Bash-like line editing!!
« on: August 23, 2011, 05:00:18 PM »
Hi,
      I have been searching the forum for any previous posting on this subject.
I am a novice and have limited experience in using the command line interface.
My system froze after I tried to open a windows programme which wine did not initially recognize. I tried to open the windows  program using the 'exe' icon.
I am now unable to boot up. I received this message:

     [Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename]
grub>
    
     (I then pressed TAB and nothing happened so I switched off my machine I tried again and the same message appeared, as above.)
     After pressing TAB, the following information appeared;
    
 Possible commands are; blocklist boot cat chainloader cmp color configfile debug displaymem embed find fstest geometry halt help hide impsprobe initrd install ioprobe kernel lock makeactive map md5crypt module modulenounzip pager partnew parttype password pause read reboot root rootnoverify savedefault serial setkey setup terminal terminfo testload testvbe unhide uppermem uuid vbeprobe
grub>
            (I then pressed TAB and nothing happened so I switched off my machine)
                          Any help would be gratefully appreciated.
« Last Edit: August 26, 2011, 09:50:00 AM by linuxist »

Offline Hootiegibbon

  • Hero Member
  • *****
  • Posts: 4151
Re: Help needed for Bash-like line editing!!
« Reply #1 on: August 23, 2011, 05:19:06 PM »
linuxist,

Could you give a little more detail about the actions you took to use wine , perhaps walk through - and the name of the app you were trying to use along with any commands issued.

were you logged in as root? as what ever that program is it appeared to wipe your grub information out yet leave part of grub in the mbr? (if so the lesson may be that you never run as root) 

post back with teh info

Jase


I am Hootiegibbon, undisputed champion fo the typo

My .dotfiles

Offline linuxist

  • Full Member
  • ***
  • Posts: 64
Re: Help needed for Bash-like line editing!!
« Reply #2 on: August 23, 2011, 05:47:23 PM »
Thank you. I took no action to use wine. The command I used was the 'exe' icon for the windows programme.
I was not logged in as root because I know that is dangerous to do so. I am at my friend's house now. I can give you programme details later. Thanks for your quick reply.

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11540
  • ----IOFLU----
Re: Help needed for Bash-like line editing!!
« Reply #3 on: August 23, 2011, 05:49:27 PM »
Hi,
      I have been searching the forum for any previous posting on this subject.
I am a novice and have limited experience in using the command line interface.
My system froze after I tried to open a windows programme which wine did not initially recognize. I tried to open the windows  program using the 'exe' icon.
I am now unable to boot up. I received this message:

     [Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename]
grub>
    
     (I then pressed TAB and nothing happened so I switched off my machine I tried again and the same message appeared, as above.)
     After pressing TAB, the following information appeared;
    
 Possible commands are; blocklist boot cat chainloader cmp color configfile debug displaymem embed find fstest geometry halt help hide impsprobe initrd install ioprobe kernel lock makeactive map md5crypt module modulenounzip pager partnew parttype password pause read reboot root rootnoverify savedefault serial setkey setup terminal terminfo testload testvbe unhide uppermem uuid vbeprobe
grub>
            (I then pressed TAB and nothing happened so I switched off my machine)
                          Any help would be gratefully appreciated.


Pressing TAB will always do nothing if you don't first start a command... it has to have some hint at to what it is you want to do.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10622
  • MLUs Forever!
Re: Help needed for Bash-like line editing!!
« Reply #4 on: August 24, 2011, 03:03:54 AM »
You appear to be in the Grub command line interface.

If Grub is still OK then issuing the command

boot

might get the PC started.

Else it appears that reinstalling Grub would be the way to go.
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline linuxist

  • Full Member
  • ***
  • Posts: 64
Re: Help needed for Bash-like line editing!!
« Reply #5 on: August 24, 2011, 04:55:56 PM »
Thanks for your reply.
I typed boot as you suggested. The response was:

Error 8: Kernel must be loaded before booting.

Can you help me some more please? I am inexperienced and would need step by step instructions to install/load anything!

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10622
  • MLUs Forever!
Re: Help needed for Bash-like line editing!!
« Reply #6 on: August 25, 2011, 12:56:53 AM »
When you boot the PC do you get the boot selection screen from which to choose the boot option?

We need to know exactly at what stage you get the reported message. Please describe everything that happens prior to the message.
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline linuxist

  • Full Member
  • ***
  • Posts: 64
Re: Help needed for Bash-like line editing!!
« Reply #7 on: August 25, 2011, 03:10:47 AM »
Thanks. When I boot up the information on the screen reads:

                 Grub loading please wait

Followed  by:

                GNU Grub version 0.97 (640k/785344 upper memory)
                [Minimal Bash-like line editing is supported . . ..     (The text is as stated in my original posting}.

So I don't arrive at the boot selection screen.

Here is some additional information. I am running only the latest PCLinux OS with the brush metal screen. I don't have windows installed. My computer is now freezing up frequently so I have to just switch it off. The USB mouse pointer just disappears at random.




Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10622
  • MLUs Forever!
Re: Help needed for Bash-like line editing!!
« Reply #8 on: August 25, 2011, 01:08:22 PM »
Thanks. When I boot up the information on the screen reads:

                 Grub loading please wait

Followed  by:

                GNU Grub version 0.97 (640k/785344 upper memory)
                [Minimal Bash-like line editing is supported . . ..     (The text is as stated in my original posting}.

So I don't arrive at the boot selection screen.

Here is some additional information. I am running only the latest PCLinux OS with the brush metal screen. I don't have windows installed. My computer is now freezing up frequently so I have to just switch it off. The USB mouse pointer just disappears at random.





I am now confused  :(

I had understood that you could not boot the PC because of the message you quoted being the only thing offered when you attempted to boot ......  but now it seems you can boot the PC .....

Obviously I am missing some relevant information ....
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3980
Re: Help needed for Bash-like line editing!!
« Reply #9 on: August 25, 2011, 03:55:14 PM »
When the machine first froze, did you just switch it off, because you did not know how to regain control? If so, you have probably corrupted the file system and that has apparently prevented grub finding its files.

The first thing to try is to boot from the livecd, open a terminal, type su to become root, enter the root password ("root" for a standard livecd) when prompted, and then run fsck -fy /dev/sdax where ax is the letter and number of your pclos partitions. To find out which they are you can use fdisk -l (that's a lower-case 'L'). you don't need to (and can't, in fact) fsck the swap, but the / and /home or whatever you have need to be done. They must be unmounted, but should be by default with the livecd. if not, use umount /dev/sdax to unmount them.

Hopefully, once this is done, the system will now boot. If not, boot back to the livecd and use Redo MBR from the More Applications -> Configuration menu to rewrite grub and its files to the hard drive.
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Offline linuxist

  • Full Member
  • ***
  • Posts: 64
Re: Help needed for Bash-like line editing!!
« Reply #10 on: August 25, 2011, 06:46:33 PM »
Thanks very much to kjpetrie. I followed your instructions exactly and I am now up & running again. You were correct when you said the partitions are unmounted by default when using the live cd. I appreciate the time you spent to reply to me.

Also, apologies to just19 for my final confusing sentences in an earlier post.
Thanks again to both of you.

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3980
Re: Help needed for Bash-like line editing!!
« Reply #11 on: August 26, 2011, 04:25:40 AM »
Glad it's working. Please edit your first post and alter the subject line to include the word SOLVED.
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10622
  • MLUs Forever!
Re: Help needed for Bash-like line editing!!
« Reply #12 on: August 26, 2011, 04:34:38 AM »
Thanks very much to kjpetrie. I followed your instructions exactly and I am now up & running again. You were correct when you said the partitions are unmounted by default when using the live cd. I appreciate the time you spent to reply to me.

Also, apologies to just19 for my final confusing sentences in an earlier post.
Thanks again to both of you.


No problem ;)

The solution would have been obvious much earlier if we had all the relevant info ..... something to bear in  mind for future posts.  ;)
It was an educted guess by kjpetrie about your actions that provided the means to the solution.

Glad all is well for you now  :D

regards
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT