All of lore.kernel.org
 help / color / mirror / Atom feed
* Booting from grub 2 console
@ 2007-08-15 15:37 Andev Debi
  2007-08-15 17:56 ` Andev Debi
  0 siblings, 1 reply; 3+ messages in thread
From: Andev Debi @ 2007-08-15 15:37 UTC (permalink / raw)
  To: grub-devel

Hello,
Ive installed grub 1.95 on a debian system using
#grub-install /dev/hda

After rebooting, i get the grub console. I searched a lot on the internet
for any procedure to boot my system from here, but got nothin.
Most of them are for grub legacy, and all the commands have  changed.

So if u please specify this, it will be clear for everyone interested
how to deal with tht.

Thank You,
Andev



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Booting from grub 2 console
  2007-08-15 15:37 Booting from grub 2 console Andev Debi
@ 2007-08-15 17:56 ` Andev Debi
  2007-08-15 21:46   ` Steven
  0 siblings, 1 reply; 3+ messages in thread
From: Andev Debi @ 2007-08-15 17:56 UTC (permalink / raw)
  To: grub-devel

On 8/15/07, Andev Debi <andev.debi@gmail.com> wrote:
> Hello,
> Ive installed grub 1.95 on a debian system using
> #grub-install /dev/hda
>
> After rebooting, i get the grub console. I searched a lot on the internet
> for any procedure to boot my system from here, but got nothin.
> Most of them are for grub legacy, and all the commands have  changed.
>
> So if u please specify this, it will be clear for everyone interested
> how to deal with tht.
>
> Thank You,
> Andev
>

Ok, after a lot of tinkering around, i found the way:

grub>set root=(hd0,1)
grub>linux (hd0,1)/boot/vmlinuz-2.6.21-2-486 root=/dev/sda1 ro

grub>initrd /boot/initrd.img-2.6.21-2-486
grub>boot

This should do it. I think this all should be present in the grub.cfg
file which should have been created by grub-install.
The default grub-install did not create this file. I will manually
create this file and try to boot it.

Thanks,
Andev.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Booting from grub 2 console
  2007-08-15 17:56 ` Andev Debi
@ 2007-08-15 21:46   ` Steven
  0 siblings, 0 replies; 3+ messages in thread
From: Steven @ 2007-08-15 21:46 UTC (permalink / raw)
  To: grub-devel

If you're using Debian Stable (Etch) then you want to work with /boot/
grub/menu.lst .  The command `update-grub` will typically generate the 
correct entries for you as long as you've followed standard Debian 
procedure for building and installing kernels.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-08-16 18:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-15 15:37 Booting from grub 2 console Andev Debi
2007-08-15 17:56 ` Andev Debi
2007-08-15 21:46   ` Steven

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.