Grub command line
Does anyone know how to login through command line in grub.
|
I think this article contains more information than you are looking for, but may answer your question.
Basically, you will need to use the grub command prompt to mount your Linux partition and then tell it to boot. |
You can get some hint on Grub through this too.
|
If would also help to know
which distro or grub version you are using? |
Quote:
|
grub has a limited command shell for editing / changing boot options. I assume you are not using a grub password. It is not possible to login since the OS is still not loaded at this point. Normally, you should not see the grub command prompt unless you press the e key when the boot menu is displayed or for some reason it can not find the menu.lst (grub not grub2) file. Also I believe that on new installs 10.04 installs grub2 by default.
So there seems to be some missing information between your 1st and 2nd threads to get to this point that would help us troubleshoot your problems. |
Quote:
grub> linux /vmlinuz root=/dev/(sda,8) ro error;no such disk |
There is a difference between how grub and the OS identifies drives/partitions.
Grub references the 1st bootable drive /partition as 0,0 (i.e. zeros) So hd0,8 is the 1st drive 9th partition. The OS uses the device ID. The correct syntax Quote:
root (hd0,7) linux /vmlinuz root=/dev/sda9 ro |
Quote:
(sda1 = hd0,1) |
Yes it is... my bad.
|
Let me have more information, how many distros are you trying to boot?
Do you get a screen with choices to boot when computer is booted? |
|
Quote:
|
Use your ubuntu live cd and from terminal enter
sudo fdisk -l (small L) and post the results |
Quote:
|
All times are GMT -5. The time now is 01:12 AM. |