LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 10-28-2009, 02:37 AM   #1
rosh202
LQ Newbie
 
Registered: Oct 2009
Posts: 1

Rep: Reputation: 0
Question Minimal bash like line editing is supported


Dear ....,

I am using Asus Laptop and in that i use 2 OS, XP and Linux. My Laptop got hanged while formatting an I 'm unable to boot. While booting it comes in a black screen mentioned as,

" Grub > Minimal bash like line editing is supported.

I am not able to format my laptop and nor can i boot from XP bootable CD or Linux CD.

What am I to do, Plz guide me to resolve my issue....


Regards,

Roshan
 
Old 10-28-2009, 03:11 AM   #2
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Rep: Reputation: 55
Hi rosh202

Try following...
and check weather it is able to detect any partition...

Code:
grub > root (hd0,0)
grub > root (hd0,1)
Please paste the output of above commands...

Cheers !!!
 
Old 10-28-2009, 09:29 AM   #3
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
What do you mean by
Quote:
got hanged while formatting
?
Did you delete linux? Formatted its partition from Windows?

Then you would need to boot from your windows CD or a rescue CD and rewrite the MBR so Windows can boot.
Why are you not able to boot from CD?
 
Old 10-28-2009, 10:10 AM   #4
vijay_babu1981
Member
 
Registered: Nov 2004
Location: india
Distribution: fedora 10
Posts: 82

Rep: Reputation: 19
Lets hope you did not format your linux operating system.

In that case apart from what vinaytp suggested, if you have multiple disks then also try

Code:
grub > root (hd1,0)
grub > root (hd1,1)
Which will search for a linux partition of second disk (order set according to BIOS). If it finds a valid partition (i.e. when the above command is successful, you can try to find out the kernel and boot using

Code:
grub > kernel /boot/vmlinuz[hit tab here, if you find a kernel hit enter]
grub > initrd /boot/initrd[[hit tab here, if auto-completes hit enter]
grub > boot
Hopefully, you will have your system booted.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error of GRUB: Minimal BASH-like line editing is supported................. change_my_way2010 Linux - Newbie 18 01-12-2014 12:46 AM
bash : read every line from text file starting at given line number quadmore Programming 4 02-20-2009 01:29 PM
I would like need a suggestion on bash shell : Read a file line by line and do stuff madi3d8 Linux - Newbie 1 01-15-2009 10:30 AM
Packard Bell M5..Minimal Bash like line edit Tomcat1965 Linux - Laptop and Netbook 0 10-20-2006 03:10 AM
Minimal Bash-Like Line jlwilso Suse/Novell 1 03-09-2005 01:39 PM


All times are GMT -5. The time now is 05:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration